# 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_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tests_states_initscripts.yml:5 Tuesday 20 February 2024 20:41:13 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_states_initscripts.yml:8 Tuesday 20 February 2024 20:41:14 +0000 (0:00:00.839) 0:00:00.852 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:41:14 +0000 (0:00:00.026) 0:00:00.878 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 20:41:14 +0000 (0:00:00.372) 0:00:01.250 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.300) 0:00:01.550 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.034) 0:00:01.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.025) 0:00:01.610 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.038) 0:00:01.648 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.287) 0:00:01.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.011) 0:00:01.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:41:15 +0000 (0:00:00.013) 0:00:01.961 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.280269", "end": "2024-02-20 20:41:16.037075", "rc": 0, "start": "2024-02-20 20:41:15.756806" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.513) 0:00:02.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_states_initscripts.yml:10 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.027) 0:00:02.502 ****** 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_hotfixx_wcrngk/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.059) 0:00:02.562 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.560) 0:00:03.122 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.012) 0:00:03.134 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.015) 0:00:03.149 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.011) 0:00:03.161 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.035) 0:00:03.196 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.016) 0:00:03.212 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:16 +0000 (0:00:00.014) 0:00:03.227 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2024-02-20 20:41:17.026007", "rc": 0, "start": "2024-02-20 20:41:17.022305" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.236) 0:00:03.463 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.049) 0:00:03.513 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.054) 0:00:03.567 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.058) 0:00:03.626 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010094", "end": "2024-02-20 20:41:17.438559", "rc": 1, "start": "2024-02-20 20:41:17.428465" } 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.242) 0:00:03.869 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.019) 0:00:03.888 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.235) 0:00:04.124 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.025) 0:00:04.150 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.043) 0:00:04.193 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.053) 0:00:04.246 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.074) 0:00:04.321 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.012) 0:00:04.340 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.011) 0:00:04.351 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:17 +0000 (0:00:00.037) 0:00:04.389 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:19 +0000 (0:00:01.981) 0:00:06.371 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:21 +0000 (0:00:01.843) 0:00:08.214 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:21 +0000 (0:00:00.051) 0:00:08.266 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:21 +0000 (0:00:00.043) 0:00:08.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.161) 0:00:08.471 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.262) 0:00:08.734 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.046) 0:00:08.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.116) 0:00:08.897 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.104) 0:00:09.001 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.036) 0:00:09.038 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.073) 0:00:09.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:22 +0000 (0:00:00.036) 0:00:09.147 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:23 +0000 (0:00:00.671) 0:00:09.819 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpc811_g3b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:23 +0000 (0:00:00.419) 0:00:10.238 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.594) 0:00:10.833 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.023) 0:00:10.856 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.024) 0:00:10.880 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.033) 0:00:10.914 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.022) 0:00:10.937 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.324) 0:00:11.262 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:41:24 +0000 (0:00:00.119) 0:00:11.381 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.110) 0:00:11.492 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.146) 0:00:11.639 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.047) 0:00:11.687 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461684.385456, "block_size": 4096, "blocks": 8, "ctime": 1708461684.385456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461684.385456, "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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.252) 0:00:11.940 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.030) 0:00:11.970 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022698", "end": "2024-02-20 20:41:25.801750", "rc": 1, "start": "2024-02-20 20:41:25.779052" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.269) 0:00:12.240 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:41:25 +0000 (0:00:00.110) 0:00:12.350 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003648", "end": "2024-02-20 20:41:26.236317", "rc": 0, "start": "2024-02-20 20:41:26.232669" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.333) 0:00:12.684 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.054) 0:00:12.738 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003578", "end": "2024-02-20 20:41:26.554006", "rc": 0, "start": "2024-02-20 20:41:26.550428" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.257) 0:00:12.996 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.036) 0:00:13.032 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.031) 0:00:13.064 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.027) 0:00:13.092 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.031) 0:00:13.123 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.032) 0:00:13.156 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.086) 0:00:13.242 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:41:26 +0000 (0:00:00.102) 0:00:13.344 ****** 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.043482", "end": "2024-02-20 20:41:27.187616", "rc": 1, "start": "2024-02-20 20:41:27.144134" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.268) 0:00:13.613 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.047) 0:00:13.660 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.069) 0:00:13.729 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.101) 0:00:13.830 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.106) 0:00:13.937 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.049) 0:00:13.986 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003851", "end": "2024-02-20 20:41:27.782201", "rc": 0, "start": "2024-02-20 20:41:27.778350" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.246) 0:00:14.232 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.046) 0:00:14.279 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:27 +0000 (0:00:00.051) 0:00:14.330 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.110) 0:00:14.441 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006934", "end": "2024-02-20 20:41:28.283345", "rc": 1, "start": "2024-02-20 20:41:28.276411" } 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.287) 0:00:14.729 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.073) 0:00:14.803 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.237) 0:00:15.041 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.127) 0:00:15.168 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.072) 0:00:15.241 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.106) 0:00:15.348 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.055) 0:00:15.403 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.051) 0:00:15.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.024) 0:00:15.479 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.042) 0:00:15.522 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:30 +0000 (0:00:01.765) 0:00:17.287 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:32 +0000 (0:00:01.647) 0:00:18.935 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.112) 0:00:19.047 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.049) 0:00:19.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.043) 0:00:19.141 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.098) 0:00:19.239 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.033) 0:00:19.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.064) 0:00:19.338 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.035) 0:00:19.373 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.030) 0:00:19.403 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.033) 0:00:19.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.051) 0:00:19.487 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.470) 0:00:19.957 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpsff9am7z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.583) 0:00:20.541 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.368) 0:00:20.910 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.047) 0:00:20.957 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.100) 0:00:21.057 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.054) 0:00:21.111 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.054) 0:00:21.166 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.288) 0:00:21.454 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.070) 0:00:21.525 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.110) 0:00:21.635 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.070) 0:00:21.706 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.276) 0:00:21.982 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.042) 0:00:22.024 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.132) 0:00:22.157 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:41:35 +0000 (0:00:00.077) 0:00:22.234 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461694.4634047, "block_size": 4096, "blocks": 8, "ctime": 1708461694.4634047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461694.4634047, "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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:41:36 +0000 (0:00:00.260) 0:00:22.495 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:41:36 +0000 (0:00:00.118) 0:00:22.613 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021746", "end": "2024-02-20 20:41:36.552883", "rc": 1, "start": "2024-02-20 20:41:36.531137" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:41:36 +0000 (0:00:00.392) 0:00:23.005 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:41:36 +0000 (0:00:00.032) 0:00:23.038 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003658", "end": "2024-02-20 20:41:36.874386", "rc": 0, "start": "2024-02-20 20:41:36.870728" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.363) 0:00:23.401 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.097) 0:00:23.498 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003503", "end": "2024-02-20 20:41:37.374037", "rc": 0, "start": "2024-02-20 20:41:37.370534" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.327) 0:00:23.826 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.061) 0:00:23.888 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.070) 0:00:23.958 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.084) 0:00:24.042 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.038) 0:00:24.081 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.052) 0:00:24.133 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:41:37 +0000 (0:00:00.088) 0:00:24.222 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.218) 0:00:24.440 ****** 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.042852", "end": "2024-02-20 20:41:38.341084", "rc": 1, "start": "2024-02-20 20:41:38.298232" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.499) 0:00:24.940 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.175) 0:00:25.115 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.178) 0:00:25.294 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.063) 0:00:25.357 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.182) 0:00:25.540 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.164) 0:00:25.705 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-02-20 20:41:39.619565", "rc": 0, "start": "2024-02-20 20:41:39.615922" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.377) 0:00:26.082 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.050) 0:00:26.133 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.064) 0:00:26.197 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.075) 0:00:26.273 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.136) 0:00:26.409 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.053) 0:00:26.463 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.071) 0:00:26.534 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.027) 0:00:26.561 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.030) 0:00:26.591 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:41 +0000 (0:00:01.783) 0:00:28.374 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:43 +0000 (0:00:01.570) 0:00:29.944 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.070) 0:00:30.015 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.088) 0:00:30.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.114) 0:00:30.218 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.133) 0:00:30.351 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.071) 0:00:30.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.069) 0:00:30.492 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.141) 0:00:30.634 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.041) 0:00:30.675 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.035) 0:00:30.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.052) 0:00:30.763 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.580) 0:00:31.343 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmp2qlto32h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.420) 0:00:31.764 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.383) 0:00:32.147 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.048) 0:00:32.196 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.039) 0:00:32.236 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.039) 0:00:32.276 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.024) 0:00:32.301 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.298) 0:00:32.599 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.026) 0:00:32.625 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.106) 0:00:32.732 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.065) 0:00:32.798 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.095) 0:00:32.893 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.081) 0:00:32.974 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.054) 0:00:33.029 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:46 +0000 (0:00:00.058) 0:00:33.088 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:48 +0000 (0:00:01.809) 0:00:34.898 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:50 +0000 (0:00:01.724) 0:00:36.622 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.050) 0:00:36.672 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.086) 0:00:36.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.082) 0:00:36.842 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.302) 0:00:37.144 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.092) 0:00:37.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.025) 0:00:37.262 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.129) 0:00:37.391 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.042) 0:00:37.434 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.054) 0:00:37.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.030) 0:00:37.518 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.506) 0:00:38.025 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpeet3j38_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.505) 0:00:38.530 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.723) 0:00:39.254 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.129) 0:00:39.384 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.035) 0:00:39.419 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.035) 0:00:39.455 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.053) 0:00:39.509 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.328) 0:00:39.838 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.054) 0:00:39.892 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.036) 0:00:39.929 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461712.6867404, "block_size": 4096, "blocks": 0, "ctime": 1708461712.6867404, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32093, "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": 1708461712.6867404, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.251) 0:00:40.181 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.084) 0:00:40.265 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.071) 0:00:40.337 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.027) 0:00:40.364 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461712.4983127, "block_size": 4096, "blocks": 8, "ctime": 1708461705.6763475, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461705.6763475, "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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.249) 0:00:40.614 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.059) 0:00:40.673 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022277", "end": "2024-02-20 20:41:54.508827", "rc": 1, "start": "2024-02-20 20:41:54.486550" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.283) 0:00:40.956 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.027) 0:00:40.983 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003606", "end": "2024-02-20 20:41:54.783110", "rc": 0, "start": "2024-02-20 20:41:54.779504" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.241) 0:00:41.225 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.041) 0:00:41.267 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003705", "end": "2024-02-20 20:41:55.080432", "rc": 0, "start": "2024-02-20 20:41:55.076727" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.264) 0:00:41.531 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.050) 0:00:41.581 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.052) 0:00:41.634 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.050) 0:00:41.684 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.051) 0:00:41.736 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.033) 0:00:41.770 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.054) 0:00:41.825 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.057) 0:00:41.882 ****** 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.048749", "end": "2024-02-20 20:41:55.729364", "rc": 0, "start": "2024-02-20 20:41:55.680615" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.279) 0:00:42.161 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.084) 0:00:42.246 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.048) 0:00:42.294 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:55 +0000 (0:00:00.061) 0:00:42.355 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.042) 0:00:42.398 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.046) 0:00:42.444 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003595", "end": "2024-02-20 20:41:56.277842", "rc": 0, "start": "2024-02-20 20:41:56.274247" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.338) 0:00:42.782 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.046) 0:00:42.828 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.033) 0:00:42.862 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.105) 0:00:42.968 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.047) 0:00:43.016 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.110) 0:00:43.127 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.102) 0:00:43.229 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.044) 0:00:43.273 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:56 +0000 (0:00:00.036) 0:00:43.310 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:58 +0000 (0:00:01.774) 0:00:45.084 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:00 +0000 (0:00:01.594) 0:00:46.679 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.048) 0:00:46.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.034) 0:00:46.762 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.034) 0:00:46.797 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.117) 0:00:46.914 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.037) 0:00:46.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.033) 0:00:46.985 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.035) 0:00:47.021 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.043) 0:00:47.065 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.097) 0:00:47.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:00 +0000 (0:00:00.037) 0:00:47.200 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:01 +0000 (0:00:00.486) 0:00:47.686 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmp_6pqv4z4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:01 +0000 (0:00:00.513) 0:00:48.199 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.335) 0:00:48.534 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.036) 0:00:48.571 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.026) 0:00:48.597 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.025) 0:00:48.623 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.027) 0:00:48.650 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.284) 0:00:48.935 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.033) 0:00:48.968 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.043) 0:00:49.012 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.043) 0:00:49.056 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.044) 0:00:49.100 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.030) 0:00:49.130 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.061) 0:00:49.192 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:04 +0000 (0:00:01.865) 0:00:51.057 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:06 +0000 (0:00:01.649) 0:00:52.706 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.106) 0:00:52.813 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.137) 0:00:52.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.098) 0:00:53.049 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.063) 0:00:53.113 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.064) 0:00:53.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.069) 0:00:53.246 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.090) 0:00:53.337 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.061) 0:00:53.398 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.093) 0:00:53.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.121) 0:00:53.614 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.664) 0:00:54.278 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpp4djgakk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.589) 0:00:54.867 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.772) 0:00:55.640 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.077) 0:00:55.717 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.079) 0:00:55.797 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.025) 0:00:55.822 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.023) 0:00:55.846 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.232) 0:00:56.078 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.072) 0:00:56.151 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.071) 0:00:56.222 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.055) 0:00:56.278 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.033) 0:00:56.311 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.033) 0:00:56.345 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:09 +0000 (0:00:00.043) 0:00:56.389 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:11 +0000 (0:00:01.872) 0:00:58.262 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:13 +0000 (0:00:01.547) 0:00:59.809 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.084) 0:00:59.893 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.043) 0:00:59.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.042) 0:00:59.980 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.054) 0:01:00.034 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.025) 0:01:00.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.025) 0:01:00.085 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.041) 0:01:00.127 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.046) 0:01:00.173 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.071) 0:01:00.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:14 +0000 (0:00:00.152) 0:01:00.397 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:14 +0000 (0:00:00.410) 0:01:00.807 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpd7rxogb0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:14 +0000 (0:00:00.355) 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" } ], "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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.362) 0:01:01.526 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.042) 0:01:01.568 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.069) 0:01:01.638 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.038) 0:01:01.676 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.045) 0:01:01.721 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.254) 0:01:01.976 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.077) 0:01:02.054 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:42:15 +0000 (0:00:00.054) 0:01:02.109 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461729.038174, "block_size": 4096, "blocks": 0, "ctime": 1708461729.038174, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32224, "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": 1708461729.038174, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.411) 0:01:02.520 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.058) 0:01:02.579 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.060) 0:01:02.640 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.027) 0:01:02.667 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.272) 0:01:02.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.028) 0:01:02.968 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022726", "end": "2024-02-20 20:42:16.836968", "rc": 1, "start": "2024-02-20 20:42:16.814242" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:42:16 +0000 (0:00:00.409) 0:01:03.378 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.046) 0:01:03.424 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.050) 0:01:03.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.059) 0:01:03.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.025) 0:01:03.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.055) 0:01:03.615 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.034) 0:01:03.650 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.035) 0:01:03.685 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.045) 0:01:03.731 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.346) 0:01:04.077 ****** 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.051498", "end": "2024-02-20 20:42:17.966474", "rc": 0, "start": "2024-02-20 20:42:17.914976" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:103 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.339) 0:01:04.417 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.093) 0:01:04.510 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.103) 0:01:04.614 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.151) 0:01:04.765 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.084) 0:01:04.849 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.104) 0:01:04.954 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003913", "end": "2024-02-20 20:42:18.766796", "rc": 0, "start": "2024-02-20 20:42:18.762883" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.245) 0:01:05.199 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.037) 0:01:05.237 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.032) 0:01:05.269 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.121) 0:01:05.391 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.080) 0:01:05.471 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.075) 0:01:05.547 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.042) 0:01:05.589 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.043) 0:01:05.633 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.031) 0:01:05.664 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:21 +0000 (0:00:01.824) 0:01:07.489 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:22 +0000 (0:00:01.630) 0:01:09.119 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.032) 0:01:09.152 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.057) 0:01:09.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.046) 0:01:09.256 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.061) 0:01:09.317 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.035) 0:01:09.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.037) 0:01:09.390 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.038) 0:01:09.429 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.058) 0:01:09.487 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.122) 0:01:09.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.057) 0:01:09.667 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.476) 0:01:10.143 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpgaq23rjk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.432) 0:01:10.575 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.454) 0:01:11.030 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.046) 0:01:11.076 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.041) 0:01:11.118 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.053) 0:01:11.172 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.039) 0:01:11.211 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.239) 0:01:11.450 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.033) 0:01:11.484 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.041) 0:01:11.526 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.048) 0:01:11.574 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.085) 0:01:11.659 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.045) 0:01:11.704 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.033) 0:01:11.738 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:27 +0000 (0:00:01.906) 0:01:13.645 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:28 +0000 (0:00:01.509) 0:01:15.154 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:28 +0000 (0:00:00.024) 0:01:15.178 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:28 +0000 (0:00:00.026) 0:01:15.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:28 +0000 (0:00:00.027) 0:01:15.232 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:28 +0000 (0:00:00.107) 0:01:15.340 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:28 +0000 (0:00:00.047) 0:01:15.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.039) 0:01:15.427 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.115) 0:01:15.542 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.048) 0:01:15.590 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.041) 0:01:15.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.035) 0:01:15.668 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:29 +0000 (0:00:00.418) 0:01:16.087 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpbh5kr2gz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.491) 0:01:16.578 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.740) 0:01:17.319 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.039) 0:01:17.359 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.045) 0:01:17.404 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.054) 0:01:17.458 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.035) 0:01:17.493 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.292) 0:01:17.786 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.128) 0:01:17.914 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.064) 0:01:17.979 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.032) 0:01:18.011 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.053) 0:01:18.065 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.031) 0:01:18.096 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:33 +0000 (0:00:01.956) 0:01:20.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:35 +0000 (0:00:01.545) 0:01:21.598 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.084) 0:01:21.683 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.040) 0:01:21.723 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.070) 0:01:21.794 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.138) 0:01:21.933 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.117) 0:01:22.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.064) 0:01:22.115 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.075) 0:01:22.190 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.042) 0:01:22.233 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.070) 0:01:22.303 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.038) 0:01:22.342 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.456) 0:01:22.798 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpqd7i4lxb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.388) 0:01:23.186 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.388) 0:01:23.574 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.042) 0:01:23.616 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.061) 0:01:23.678 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.068) 0:01:23.747 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.069) 0:01:23.816 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.277) 0:01:24.094 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.071) 0:01:24.166 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.095) 0:01:24.261 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.076) 0:01:24.338 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:38 +0000 (0:00:00.069) 0:01:24.407 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:38 +0000 (0:00:00.034) 0:01:24.442 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:38 +0000 (0:00:00.073) 0:01:24.515 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:40 +0000 (0:00:01.946) 0:01:26.461 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:41 +0000 (0:00:01.473) 0:01:27.935 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.024) 0:01:27.959 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.029) 0:01:27.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.025) 0:01:28.014 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.111) 0:01:28.125 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.040) 0:01:28.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.053) 0:01:28.219 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.033) 0:01:28.253 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.027) 0:01:28.281 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.024) 0:01:28.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.034) 0:01:28.339 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.504) 0:01:28.843 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpn3konf_h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.429) 0:01:29.273 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.428) 0:01:29.702 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.040) 0:01:29.743 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.055) 0:01:29.798 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.029) 0:01:29.828 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.051) 0:01:29.879 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.255) 0:01:30.135 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.058) 0:01:30.193 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.069) 0:01:30.263 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:42:43 +0000 (0:00:00.030) 0:01:30.293 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.279) 0:01:30.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.077) 0:01:30.650 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022587", "end": "2024-02-20 20:42:44.482308", "rc": 1, "start": "2024-02-20 20:42:44.459721" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.271) 0:01:30.922 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.028) 0:01:30.950 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.051) 0:01:31.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.033) 0:01:31.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.043) 0:01:31.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.041) 0:01:31.121 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.037) 0:01:31.159 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.052) 0:01:31.212 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.071) 0:01:31.283 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:42:44 +0000 (0:00:00.087) 0:01:31.371 ****** 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.050519", "end": "2024-02-20 20:42:45.224662", "rc": 0, "start": "2024-02-20 20:42:45.174143" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:126 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.299) 0:01:31.671 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.052) 0:01:31.723 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.064) 0:01:31.788 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.072) 0:01:31.860 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.058) 0:01:31.919 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.089) 0:01:32.008 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003738", "end": "2024-02-20 20:42:45.845789", "rc": 0, "start": "2024-02-20 20:42:45.842051" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.282) 0:01:32.291 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.041) 0:01:32.332 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.049) 0:01:32.382 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.069) 0:01:32.452 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.071) 0:01:32.523 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.075) 0:01:32.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.041) 0:01:32.640 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.058) 0:01:32.699 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.037) 0:01:32.737 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:48 +0000 (0:00:01.906) 0:01:34.643 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:49 +0000 (0:00:01.596) 0:01:36.239 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.048) 0:01:36.288 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.034) 0:01:36.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.042) 0:01:36.365 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.076) 0:01:36.442 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.096) 0:01:36.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.044) 0:01:36.583 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.067) 0:01:36.651 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.049) 0:01:36.701 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.064) 0:01:36.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.047) 0:01:36.813 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.459) 0:01:37.273 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpvf0dyfza" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.382) 0:01:37.656 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.384) 0:01:38.041 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.032) 0:01:38.073 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.026) 0:01:38.100 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.025) 0:01:38.125 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:51 +0000 (0:00:00.038) 0:01:38.164 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.252) 0:01:38.416 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.105) 0:01:38.521 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.045) 0:01:38.567 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.057) 0:01:38.624 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.041) 0:01:38.666 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.051) 0:01:38.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:52 +0000 (0:00:00.031) 0:01:38.749 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:54 +0000 (0:00:01.895) 0:01:40.645 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:55 +0000 (0:00:01.511) 0:01:42.157 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.031) 0:01:42.188 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.025) 0:01:42.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.032) 0:01:42.246 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.054) 0:01:42.301 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.025) 0:01:42.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.042) 0:01:42.369 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.047) 0:01:42.417 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.039) 0:01:42.456 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.027) 0:01:42.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.032) 0:01:42.517 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.417) 0:01:42.935 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpirg5k_eo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:56 +0000 (0:00:00.409) 0:01:43.344 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.658) 0:01:44.003 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.022) 0:01:44.025 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.027) 0:01:44.052 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.026) 0:01:44.078 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.022) 0:01:44.101 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.223) 0:01:44.325 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:57 +0000 (0:00:00.058) 0:01:44.384 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.061) 0:01:44.445 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.030) 0:01:44.475 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.024) 0:01:44.500 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.023) 0:01:44.523 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:43:00 +0000 (0:00:02.034) 0:01:46.558 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:43:01 +0000 (0:00:01.513) 0:01:48.071 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.049) 0:01:48.120 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.044) 0:01:48.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.026) 0:01:48.192 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.091) 0:01:48.283 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.026) 0:01:48.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:43:01 +0000 (0:00:00.064) 0:01:48.374 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.037) 0:01:48.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.048) 0:01:48.460 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.034) 0:01:48.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.034) 0:01:48.529 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.415) 0:01:48.945 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpfazn8xrh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:43:02 +0000 (0:00:00.442) 0:01:49.388 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.393) 0:01:49.781 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.041) 0:01:49.823 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.038) 0:01:49.861 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.026) 0:01:49.887 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.023) 0:01:49.910 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.267) 0:01:50.178 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.145) 0:01:50.323 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.093) 0:01:50.416 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.049) 0:01:50.466 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.031) 0:01:50.497 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.045) 0:01:50.542 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.040) 0:01:50.583 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:43:06 +0000 (0:00:01.896) 0:01:52.480 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:43:07 +0000 (0:00:01.510) 0:01:53.991 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.038) 0:01:54.029 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.041) 0:01:54.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.030) 0:01:54.101 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.050) 0:01:54.152 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.023) 0:01:54.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.023) 0:01:54.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.031) 0:01:54.230 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.029) 0:01:54.259 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.025) 0:01:54.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.031) 0:01:54.317 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.532) 0:01:54.849 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19240bh5zbkqo/tmpniaftiba" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.525) 0:01:55.374 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.423) 0:01:55.798 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.054) 0:01:55.853 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.040) 0:01:55.893 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.039) 0:01:55.933 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.026) 0:01:55.960 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.228) 0:01:56.188 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.077) 0:01:56.265 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.086) 0:01:56.352 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.042) 0:01:56.394 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.382) 0:01:56.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.034) 0:01:56.811 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022947", "end": "2024-02-20 20:43:10.680775", "rc": 1, "start": "2024-02-20 20:43:10.657828" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.313) 0:01:57.125 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.044) 0:01:57.169 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.039) 0:01:57.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.027) 0:01:57.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.032) 0:01:57.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.047) 0:01:57.316 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.061) 0:01:57.378 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.048427", "end": "2024-02-20 20:43:12.229161", "rc": 0, "start": "2024-02-20 20:43:11.180734" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 20:43:12 +0000 (0:00:01.295) 0:01:58.673 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.033) 0:01:58.707 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.038) 0:01:58.745 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.037) 0:01:58.783 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.089) 0:01:58.873 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.086) 0:01:58.959 ****** 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.052650", "end": "2024-02-20 20:43:12.822834", "rc": 0, "start": "2024-02-20 20:43:12.770184" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.334) 0:01:59.294 ****** 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.011117", "end": "2024-02-20 20:43:13.140670", "rc": 0, "start": "2024-02-20 20:43:13.129553" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:00:3b:d0:41:75 brd ff:ff:ff:ff:ff:ff inet 10.31.14.161/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3580sec preferred_lft 3580sec inet6 fe80::800:3bff:fed0:4175/64 scope link valid_lft forever preferred_lft forever 39: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1e:13:c9:66:e3:ea brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.161 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.161 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm 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_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:43:13 +0000 (0:00:00.290) 0:01:59.585 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.108972", "end": "2024-02-20 20:43:13.517204", "rc": 0, "start": "2024-02-20 20:43:13.408232" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5446 0 --:--:-- --:--:-- --:--:-- 5446 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 13227 0 --:--:-- --:--:-- --:--:-- 13227 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=241 rescued=0 ignored=10 Tuesday 20 February 2024 20:43:13 +0000 (0:00:00.348) 0:01:59.933 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.90s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Enable network service --------------------- 2.67s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 2.17s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 linux-system-roles.network : Configure networking connection profiles --- 2.15s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Check which services are running ----------- 2.03s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 2.01s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 2.00s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 linux-system-roles.network : Check which services are running ----------- 1.98s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.96s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.95s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.91s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.91s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.90s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.90s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.87s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.87s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.84s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.82s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.81s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.78s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---