# 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_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/tests_states_initscripts.yml:5 Sunday 18 February 2024 16:08:16 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tests_states_initscripts.yml:8 Sunday 18 February 2024 16:08:16 +0000 (0:00:00.758) 0:00:00.770 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.030) 0:00:00.800 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/el_repo_setup.yml:19 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.391) 0:00:01.191 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/el_repo_setup.yml:24 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.277) 0:00:01.468 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/el_repo_setup.yml:28 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.043) 0:00:01.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/el_repo_setup.yml:53 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.017) 0:00:01.529 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 16:08:17 +0000 (0:00:00.030) 0:00:01.560 ******* 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_hotfixlf4ubb0x/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.256) 0:00:01.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.012) 0:00:01.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.010) 0:00:01.839 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.273995", "end": "2024-02-18 16:08:18.522974", "rc": 0, "start": "2024-02-18 16:08:18.248979" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.481) 0:00:02.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/tests_states_initscripts.yml:10 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.009) 0:00:02.330 ******* 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:3 Sunday 18 February 2024 16:08:18 +0000 (0:00:00.009) 0:00:02.340 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:11 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.513) 0:00:02.853 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:22 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.011) 0:00:02.864 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.015) 0:00:02.879 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.011) 0:00:02.891 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.034) 0:00:02.926 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.015) 0:00:02.942 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.013) 0:00:02.955 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003895", "end": "2024-02-18 16:08:19.367369", "rc": 0, "start": "2024-02-18 16:08:19.363474" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.210) 0:00:03.166 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.011) 0:00:03.178 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.010) 0:00:03.188 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.021) 0:00:03.210 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009259", "end": "2024-02-18 16:08:19.631166", "rc": 1, "start": "2024-02-18 16:08:19.621907" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.218) 0:00:03.428 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.015) 0:00:03.443 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.207) 0:00:03.651 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.013) 0:00:03.665 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.020) 0:00:03.685 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:19 +0000 (0:00:00.033) 0:00:03.719 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:20 +0000 (0:00:00.068) 0:00:03.787 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:20 +0000 (0:00:00.012) 0:00:03.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:20 +0000 (0:00:00.010) 0:00:03.810 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:20 +0000 (0:00:00.010) 0:00:03.821 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:21 +0000 (0:00:01.795) 0:00:05.617 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:23 +0000 (0:00:01.601) 0:00:07.219 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.023) 0:00:07.243 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.021) 0:00:07.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.022) 0:00:07.286 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.044) 0:00:07.331 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.021) 0:00:07.353 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.022) 0:00:07.375 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.042) 0:00:07.418 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.021) 0:00:07.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:23 +0000 (0:00:00.022) 0:00:07.462 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:24 +0000 (0:00:00.521) 0:00:07.984 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpqbju5_qw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:24 +0000 (0:00:00.328) 0:00:08.313 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:24 +0000 (0:00:00.435) 0:00:08.748 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:24 +0000 (0:00:00.022) 0:00:08.771 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.023) 0:00:08.794 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.023) 0:00:08.818 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.024) 0:00:08.842 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.292) 0:00:09.135 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.045) 0:00:09.181 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.041) 0:00:09.222 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.040) 0:00:09.262 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.023) 0:00:09.286 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708272504.9400358, "block_size": 4096, "blocks": 8, "ctime": 1708272504.9400358, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180945, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708272504.9400358, "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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.220) 0:00:09.506 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.024) 0:00:09.531 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022506", "end": "2024-02-18 16:08:25.965314", "rc": 1, "start": "2024-02-18 16:08:25.942808" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:08:25 +0000 (0:00:00.243) 0:00:09.774 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.023) 0:00:09.798 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003516", "end": "2024-02-18 16:08:26.215238", "rc": 0, "start": "2024-02-18 16:08:26.211722" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.227) 0:00:10.025 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.027) 0:00:10.053 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003589", "end": "2024-02-18 16:08:26.468617", "rc": 0, "start": "2024-02-18 16:08:26.465028" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.225) 0:00:10.278 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.050) 0:00:10.329 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.026) 0:00:10.355 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.026) 0:00:10.381 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.023) 0:00:10.405 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.025) 0:00:10.430 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.024) 0:00:10.455 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.041) 0:00:10.496 ******* 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.043769", "end": "2024-02-18 16:08:26.949012", "rc": 1, "start": "2024-02-18 16:08:26.905243" } 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:45 Sunday 18 February 2024 16:08:26 +0000 (0:00:00.261) 0:00:10.757 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.037) 0:00:10.795 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.023) 0:00:10.818 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.045) 0:00:10.864 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.035) 0:00:10.899 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.057) 0:00:10.957 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003723", "end": "2024-02-18 16:08:27.373049", "rc": 0, "start": "2024-02-18 16:08:27.369326" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.225) 0:00:11.182 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.023) 0:00:11.205 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.022) 0:00:11.228 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.042) 0:00:11.270 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007360", "end": "2024-02-18 16:08:27.688481", "rc": 1, "start": "2024-02-18 16:08:27.681121" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.225) 0:00:11.496 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.036) 0:00:11.532 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 16:08:27 +0000 (0:00:00.222) 0:00:11.755 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.024) 0:00:11.779 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.039) 0:00:11.819 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.063) 0:00:11.883 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.041) 0:00:11.924 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.027) 0:00:11.951 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.021) 0:00:11.973 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:28 +0000 (0:00:00.022) 0:00:11.995 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:29 +0000 (0:00:01.758) 0:00:13.754 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:31 +0000 (0:00:01.468) 0:00:15.223 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.023) 0:00:15.246 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.024) 0:00:15.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.023) 0:00:15.294 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.044) 0:00:15.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.022) 0:00:15.362 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.022) 0:00:15.384 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.024) 0:00:15.409 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.022) 0:00:15.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:31 +0000 (0:00:00.021) 0:00:15.453 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.413) 0:00:15.866 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmp3j_o6zjy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.333) 0:00:16.200 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.328) 0:00:16.528 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.022) 0:00:16.551 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.023) 0:00:16.574 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.023) 0:00:16.598 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:32 +0000 (0:00:00.022) 0:00:16.620 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.217) 0:00:16.837 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.023) 0:00:16.861 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.043) 0:00:16.905 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.058) 0:00:16.963 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.222) 0:00:17.186 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.024) 0:00:17.210 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.037) 0:00:17.248 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.022) 0:00:17.270 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708272512.7190843, "block_size": 4096, "blocks": 8, "ctime": 1708272512.7190843, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180945, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708272512.7190843, "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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.218) 0:00:17.489 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.023) 0:00:17.513 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021950", "end": "2024-02-18 16:08:33.946403", "rc": 1, "start": "2024-02-18 16:08:33.924453" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:08:33 +0000 (0:00:00.241) 0:00:17.755 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.023) 0:00:17.778 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003600", "end": "2024-02-18 16:08:34.192500", "rc": 0, "start": "2024-02-18 16:08:34.188900" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.225) 0:00:18.003 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.027) 0:00:18.031 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003741", "end": "2024-02-18 16:08:34.447696", "rc": 0, "start": "2024-02-18 16:08:34.443955" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.250) 0:00:18.282 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.028) 0:00:18.311 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.024) 0:00:18.335 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.025) 0:00:18.360 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.024) 0:00:18.385 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.020) 0:00:18.406 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.023) 0:00:18.429 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.041) 0:00:18.471 ******* 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.043083", "end": "2024-02-18 16:08:34.927485", "rc": 1, "start": "2024-02-18 16:08:34.884402" } 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:65 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.265) 0:00:18.736 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:08:34 +0000 (0:00:00.037) 0:00:18.773 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.023) 0:00:18.796 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.046) 0:00:18.843 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.059) 0:00:18.903 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.035) 0:00:18.938 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003778", "end": "2024-02-18 16:08:35.351444", "rc": 0, "start": "2024-02-18 16:08:35.347666" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.222) 0:00:19.161 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.025) 0:00:19.186 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.023) 0:00:19.210 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.039) 0:00:19.249 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.037) 0:00:19.286 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.041) 0:00:19.327 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.027) 0:00:19.355 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.022) 0:00:19.378 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:35 +0000 (0:00:00.022) 0:00:19.400 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:37 +0000 (0:00:01.752) 0:00:21.153 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:38 +0000 (0:00:01.444) 0:00:22.597 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.023) 0:00:22.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.041) 0:00:22.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.022) 0:00:22.684 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.044) 0:00:22.729 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.022) 0:00:22.751 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:38 +0000 (0:00:00.021) 0:00:22.773 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:39 +0000 (0:00:00.025) 0:00:22.799 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:39 +0000 (0:00:00.022) 0:00:22.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:39 +0000 (0:00:00.021) 0:00:22.843 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:39 +0000 (0:00:00.387) 0:00:23.230 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpidmjsgjs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:39 +0000 (0:00:00.325) 0:00:23.555 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.330) 0:00:23.885 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.022) 0:00:23.908 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.023) 0:00:23.931 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.046) 0:00:23.977 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.023) 0:00:24.000 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.216) 0:00:24.216 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.023) 0:00:24.240 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.041) 0:00:24.281 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.041) 0:00:24.322 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.042) 0:00:24.365 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.026) 0:00:24.391 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.022) 0:00:24.413 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:40 +0000 (0:00:00.022) 0:00:24.436 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:42 +0000 (0:00:01.754) 0:00:26.191 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:43 +0000 (0:00:01.446) 0:00:27.637 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:43 +0000 (0:00:00.023) 0:00:27.661 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:43 +0000 (0:00:00.044) 0:00:27.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:43 +0000 (0:00:00.022) 0:00:27.728 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:43 +0000 (0:00:00.045) 0:00:27.773 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.022) 0:00:27.796 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.022) 0:00:27.818 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.026) 0:00:27.844 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.022) 0:00:27.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.021) 0:00:27.888 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.392) 0:00:28.281 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpusm9x3ij" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:44 +0000 (0:00:00.328) 0:00:28.609 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.612) 0:00:29.222 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.021) 0:00:29.244 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.045) 0:00:29.289 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.025) 0:00:29.314 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.022) 0:00:29.336 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.214) 0:00:29.551 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.044) 0:00:29.595 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 16:08:45 +0000 (0:00:00.038) 0:00:29.633 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708272525.3129241, "block_size": 4096, "blocks": 0, "ctime": 1708272525.3129241, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34974, "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": 1708272525.3129241, "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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.221) 0:00:29.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.024) 0:00:29.879 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.038) 0:00:29.918 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.022) 0:00:29.941 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708272525.1221614, "block_size": 4096, "blocks": 8, "ctime": 1708272520.07513, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180945, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708272520.07513, "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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.219) 0:00:30.160 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.045) 0:00:30.206 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021841", "end": "2024-02-18 16:08:46.640228", "rc": 1, "start": "2024-02-18 16:08:46.618387" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.243) 0:00:30.450 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.024) 0:00:30.474 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003650", "end": "2024-02-18 16:08:46.891739", "rc": 0, "start": "2024-02-18 16:08:46.888089" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.229) 0:00:30.703 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:08:46 +0000 (0:00:00.028) 0:00:30.732 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003654", "end": "2024-02-18 16:08:47.148890", "rc": 0, "start": "2024-02-18 16:08:47.145236" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.227) 0:00:30.960 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.028) 0:00:30.988 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.023) 0:00:31.012 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.024) 0:00:31.037 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.024) 0:00:31.061 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.020) 0:00:31.082 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.023) 0:00:31.105 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.041) 0:00:31.146 ******* 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.050224", "end": "2024-02-18 16:08:47.611004", "rc": 0, "start": "2024-02-18 16:08:47.560780" } 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:83 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.273) 0:00:31.420 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.038) 0:00:31.458 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.024) 0:00:31.482 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.045) 0:00:31.528 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.036) 0:00:31.564 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:08:47 +0000 (0:00:00.035) 0:00:31.599 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-02-18 16:08:48.013865", "rc": 0, "start": "2024-02-18 16:08:48.010205" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.224) 0:00:31.824 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.023) 0:00:31.847 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.023) 0:00:31.870 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.041) 0:00:31.912 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.061) 0:00:31.974 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.041) 0:00:32.015 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.027) 0:00:32.043 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.022) 0:00:32.066 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:48 +0000 (0:00:00.022) 0:00:32.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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:50 +0000 (0:00:01.753) 0:00:33.842 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:51 +0000 (0:00:01.465) 0:00:35.307 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.023) 0:00:35.330 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.024) 0:00:35.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.022) 0:00:35.377 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.043) 0:00:35.420 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.022) 0:00:35.443 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.022) 0:00:35.466 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.025) 0:00:35.492 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.022) 0:00:35.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:51 +0000 (0:00:00.022) 0:00:35.537 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.416) 0:00:35.953 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpf5h8dle3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.326) 0:00:36.280 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.322) 0:00:36.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.022) 0:00:36.625 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.023) 0:00:36.649 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.023) 0:00:36.672 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:52 +0000 (0:00:00.022) 0:00:36.695 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.211) 0:00:36.906 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.024) 0:00:36.931 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.036) 0:00:36.968 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.065) 0:00:37.033 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.028) 0:00:37.062 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.023) 0:00:37.085 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:53 +0000 (0:00:00.022) 0:00:37.108 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:08:55 +0000 (0:00:01.755) 0:00:38.864 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:08:56 +0000 (0:00:01.446) 0:00:40.310 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.025) 0:00:40.335 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:40.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:40.380 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.043) 0:00:40.424 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:40.446 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:40.469 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.026) 0:00:40.495 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.021) 0:00:40.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:40.539 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:08:57 +0000 (0:00:00.414) 0:00:40.954 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpzp62hcge" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:08:57 +0000 (0:00:00.332) 0:00:41.287 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.617) 0:00:41.904 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.023) 0:00:41.927 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.025) 0:00:41.953 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.025) 0:00:41.978 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.025) 0:00:42.003 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.214) 0:00:42.218 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove_profile.yml:3 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.041) 0:00:42.259 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.040) 0:00:42.300 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.075) 0:00:42.375 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.030) 0:00:42.406 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.023) 0:00:42.429 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:08:58 +0000 (0:00:00.022) 0:00:42.452 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:00 +0000 (0:00:01.757) 0:00:44.210 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:01 +0000 (0:00:01.466) 0:00:45.676 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:01 +0000 (0:00:00.024) 0:00:45.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:01 +0000 (0:00:00.021) 0:00:45.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:01 +0000 (0:00:00.022) 0:00:45.744 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.043) 0:00:45.788 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.022) 0:00:45.810 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.023) 0:00:45.833 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.027) 0:00:45.861 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.024) 0:00:45.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.023) 0:00:45.908 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.388) 0:00:46.297 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpffq3vzm4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:02 +0000 (0:00:00.325) 0:00:46.623 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.365) 0:00:46.989 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.023) 0:00:47.013 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.025) 0:00:47.038 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.024) 0:00:47.062 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.024) 0:00:47.087 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.215) 0:00:47.302 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.045) 0:00:47.347 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.036) 0:00:47.384 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708272537.9958568, "block_size": 4096, "blocks": 0, "ctime": 1708272537.9958568, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35105, "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": 1708272537.9958568, "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_hotfixlf4ubb0x/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.222) 0:00:47.606 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.025) 0:00:47.632 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.039) 0:00:47.671 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:09:03 +0000 (0:00:00.051) 0:00:47.723 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.220) 0:00:47.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.022) 0:00:47.966 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023130", "end": "2024-02-18 16:09:04.398751", "rc": 1, "start": "2024-02-18 16:09:04.375621" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.243) 0:00:48.209 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.025) 0:00:48.235 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.024) 0:00:48.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.023) 0:00:48.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.024) 0:00:48.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.024) 0:00:48.332 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.025) 0:00:48.357 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.021) 0:00:48.379 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.025) 0:00:48.404 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.041) 0:00:48.446 ******* 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.050285", "end": "2024-02-18 16:09:04.907770", "rc": 0, "start": "2024-02-18 16:09:04.857485" } 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:103 Sunday 18 February 2024 16:09:04 +0000 (0:00:00.301) 0:00:48.748 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.039) 0:00:48.788 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.026) 0:00:48.814 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.050) 0:00:48.864 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.036) 0:00:48.901 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.035) 0:00:48.936 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-02-18 16:09:05.350621", "rc": 0, "start": "2024-02-18 16:09:05.346789" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.223) 0:00:49.159 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.024) 0:00:49.184 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.023) 0:00:49.207 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.044) 0:00:49.252 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.037) 0:00:49.289 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.066) 0:00:49.356 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.027) 0:00:49.384 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:49.406 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:49.429 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:07 +0000 (0:00:01.718) 0:00:51.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:08 +0000 (0:00:01.465) 0:00:52.612 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.023) 0:00:52.635 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.022) 0:00:52.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.022) 0:00:52.680 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.043) 0:00:52.724 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.022) 0:00:52.747 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:08 +0000 (0:00:00.021) 0:00:52.769 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:09 +0000 (0:00:00.027) 0:00:52.796 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:09 +0000 (0:00:00.022) 0:00:52.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:09 +0000 (0:00:00.021) 0:00:52.840 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:09 +0000 (0:00:00.410) 0:00:53.251 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpq5u7r9al" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:09 +0000 (0:00:00.327) 0:00:53.578 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.328) 0:00:53.907 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:53.929 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.023) 0:00:53.953 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.023) 0:00:53.976 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:53.999 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.216) 0:00:54.216 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.024) 0:00:54.241 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.036) 0:00:54.277 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.040) 0:00:54.318 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.054) 0:00:54.373 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.023) 0:00:54.396 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:54.418 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:12 +0000 (0:00:01.770) 0:00:56.189 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:13 +0000 (0:00:01.465) 0:00:57.654 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:13 +0000 (0:00:00.024) 0:00:57.678 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:13 +0000 (0:00:00.022) 0:00:57.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:13 +0000 (0:00:00.022) 0:00:57.723 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:13 +0000 (0:00:00.045) 0:00:57.769 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.022) 0:00:57.791 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.023) 0:00:57.815 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.026) 0:00:57.841 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.022) 0:00:57.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.022) 0:00:57.885 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.392) 0:00:58.278 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmprfwi35pw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:14 +0000 (0:00:00.329) 0:00:58.607 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.639) 0:00:59.247 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.023) 0:00:59.270 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.023) 0:00:59.294 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.024) 0:00:59.318 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.022) 0:00:59.341 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove_profile.yml:3 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.215) 0:00:59.557 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.037) 0:00:59.594 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.041) 0:00:59.636 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.027) 0:00:59.664 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.021) 0:00:59.686 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:15 +0000 (0:00:00.022) 0:00:59.709 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:17 +0000 (0:00:01.766) 0:01:01.476 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:19 +0000 (0:00:01.444) 0:01:02.920 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.023) 0:01:02.944 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.042) 0:01:02.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.023) 0:01:03.010 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.044) 0:01:03.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.022) 0:01:03.078 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.020) 0:01:03.099 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.025) 0:01:03.125 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.022) 0:01:03.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.021) 0:01:03.169 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:19 +0000 (0:00:00.388) 0:01:03.557 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpt9en5tey" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.327) 0:01:03.885 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.336) 0:01:04.222 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.022) 0:01:04.244 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.023) 0:01:04.267 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.049) 0:01:04.316 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.022) 0:01:04.339 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.213) 0:01:04.552 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.040) 0:01:04.593 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.042) 0:01:04.635 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.041) 0:01:04.676 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.027) 0:01:04.704 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.022) 0:01:04.726 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:20 +0000 (0:00:00.022) 0:01:04.748 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:22 +0000 (0:00:01.744) 0:01:06.492 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:24 +0000 (0:00:01.438) 0:01:07.931 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.023) 0:01:07.955 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.022) 0:01:07.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.043) 0:01:08.021 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.043) 0:01:08.065 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.022) 0:01:08.087 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.023) 0:01:08.110 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.025) 0:01:08.136 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.024) 0:01:08.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.022) 0:01:08.183 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:24 +0000 (0:00:00.387) 0:01:08.571 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpcgkyghev" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.323) 0:01:08.895 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.321) 0:01:09.217 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.022) 0:01:09.239 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.024) 0:01:09.263 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.023) 0:01:09.286 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.047) 0:01:09.334 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.216) 0:01:09.550 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.042) 0:01:09.592 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.037) 0:01:09.630 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:09:25 +0000 (0:00:00.022) 0:01:09.653 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.215) 0:01:09.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.021) 0:01:09.891 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022351", "end": "2024-02-18 16:09:26.327218", "rc": 1, "start": "2024-02-18 16:09:26.304867" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.245) 0:01:10.136 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.023) 0:01:10.160 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.023) 0:01:10.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.023) 0:01:10.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.023) 0:01:10.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.050) 0:01:10.281 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.025) 0:01:10.307 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.026) 0:01:10.334 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.024) 0:01:10.358 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.041) 0:01:10.399 ******* 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.047963", "end": "2024-02-18 16:09:26.859812", "rc": 0, "start": "2024-02-18 16:09:26.811849" } 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_hotfixlf4ubb0x/tests/playbooks/tests_states.yml:126 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.273) 0:01:10.672 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.038) 0:01:10.711 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 16:09:26 +0000 (0:00:00.024) 0:01:10.735 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.047) 0:01:10.783 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.036) 0:01:10.819 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.035) 0:01:10.855 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003768", "end": "2024-02-18 16:09:27.269778", "rc": 0, "start": "2024-02-18 16:09:27.266010" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.222) 0:01:11.077 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.025) 0:01:11.103 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.024) 0:01:11.127 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.047) 0:01:11.174 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.037) 0:01:11.212 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.041) 0:01:11.254 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.028) 0:01:11.282 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.021) 0:01:11.304 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:27 +0000 (0:00:00.022) 0:01:11.327 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:29 +0000 (0:00:01.752) 0:01:13.079 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:30 +0000 (0:00:01.444) 0:01:14.524 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.024) 0:01:14.548 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.024) 0:01:14.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.021) 0:01:14.595 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.092) 0:01:14.687 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.022) 0:01:14.710 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.022) 0:01:14.732 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:30 +0000 (0:00:00.027) 0:01:14.759 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:31 +0000 (0:00:00.022) 0:01:14.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:31 +0000 (0:00:00.021) 0:01:14.804 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:31 +0000 (0:00:00.391) 0:01:15.195 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpvwh2xc5f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:31 +0000 (0:00:00.328) 0:01:15.524 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.327) 0:01:15.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.023) 0:01:15.874 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.024) 0:01:15.898 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.026) 0:01:15.925 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.048) 0:01:15.973 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.216) 0:01:16.189 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.025) 0:01:16.215 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.038) 0:01:16.254 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.041) 0:01:16.295 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.028) 0:01:16.324 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.022) 0:01:16.347 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:32 +0000 (0:00:00.021) 0:01:16.369 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:34 +0000 (0:00:01.739) 0:01:18.109 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:35 +0000 (0:00:01.447) 0:01:19.556 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.024) 0:01:19.581 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.021) 0:01:19.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.022) 0:01:19.625 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.044) 0:01:19.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.022) 0:01:19.691 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.048) 0:01:19.740 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:35 +0000 (0:00:00.025) 0:01:19.766 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:36 +0000 (0:00:00.022) 0:01:19.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:36 +0000 (0:00:00.022) 0:01:19.811 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:36 +0000 (0:00:00.384) 0:01:20.196 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmpv29r73ah" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:36 +0000 (0:00:00.325) 0:01:20.522 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.607) 0:01:21.129 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.023) 0:01:21.153 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.024) 0:01:21.178 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.023) 0:01:21.201 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.022) 0:01:21.224 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.240) 0:01:21.464 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.037) 0:01:21.502 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.042) 0:01:21.544 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.028) 0:01:21.573 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.023) 0:01:21.596 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:37 +0000 (0:00:00.022) 0:01:21.619 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:39 +0000 (0:00:01.747) 0:01:23.367 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:41 +0000 (0:00:01.467) 0:01:24.834 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.023) 0:01:24.857 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.022) 0:01:24.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.021) 0:01:24.902 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.043) 0:01:24.946 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.022) 0:01:24.969 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.022) 0:01:24.991 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.027) 0:01:25.018 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.046) 0:01:25.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.022) 0:01:25.087 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:41 +0000 (0:00:00.391) 0:01:25.479 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmp0oapjyba" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.328) 0:01:25.807 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.348) 0:01:26.155 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.022) 0:01:26.178 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.023) 0:01:26.201 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.024) 0:01:26.226 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.022) 0:01:26.248 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.218) 0:01:26.467 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.040) 0:01:26.507 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.063) 0:01:26.570 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.041) 0:01:26.612 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.029) 0:01:26.641 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.022) 0:01:26.663 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 16:09:42 +0000 (0:00:00.022) 0:01:26.686 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 16:09:44 +0000 (0:00:01.770) 0:01:28.457 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 16:09:46 +0000 (0:00:01.471) 0:01:29.928 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.024) 0:01:29.952 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.021) 0:01:29.974 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.022) 0:01:29.997 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.045) 0:01:30.043 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.022) 0:01:30.065 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.022) 0:01:30.088 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.025) 0:01:30.113 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.022) 0:01:30.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.048) 0:01:30.185 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 16:09:46 +0000 (0:00:00.394) 0:01:30.579 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18641n0dcg3f_/tmplirvvaqm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.329) 0:01:30.908 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.325) 0:01:31.233 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.023) 0:01:31.256 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.025) 0:01:31.282 ******* 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_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.023) 0:01:31.305 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.022) 0:01:31.328 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.215) 0:01:31.544 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.044) 0:01:31.589 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.063) 0:01:31.652 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 16:09:47 +0000 (0:00:00.024) 0:01:31.677 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.219) 0:01:31.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.022) 0:01:31.919 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022577", "end": "2024-02-18 16:09:48.354530", "rc": 1, "start": "2024-02-18 16:09:48.331953" } 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.246) 0:01:32.165 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.023) 0:01:32.189 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.024) 0:01:32.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.024) 0:01:32.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.023) 0:01:32.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.023) 0:01:32.285 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Sunday 18 February 2024 16:09:48 +0000 (0:00:00.025) 0:01:32.310 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.045158", "end": "2024-02-18 16:09:49.766329", "rc": 0, "start": "2024-02-18 16:09:48.721171" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Sunday 18 February 2024 16:09:49 +0000 (0:00:01.266) 0:01:33.576 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Sunday 18 February 2024 16:09:49 +0000 (0:00:00.024) 0:01:33.600 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 16:09:49 +0000 (0:00:00.028) 0:01:33.629 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 16:09:49 +0000 (0:00:00.029) 0:01:33.659 ******* 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_hotfixlf4ubb0x/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 16:09:49 +0000 (0:00:00.025) 0:01:33.684 ******* included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 16:09:49 +0000 (0:00:00.046) 0:01:33.730 ******* 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.052273", "end": "2024-02-18 16:09:50.194838", "rc": 0, "start": "2024-02-18 16:09:50.142565" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 16:09:50 +0000 (0:00:00.276) 0:01:34.007 ******* 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.010464", "end": "2024-02-18 16:09:50.429960", "rc": 0, "start": "2024-02-18 16:09:50.419496" } 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 0e:35:d1:39:03:e9 brd ff:ff:ff:ff:ff:ff inet 10.31.42.199/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2744sec preferred_lft 2744sec inet6 fe80::c35:d1ff:fe39:3e9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.199 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.199 metric 100 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_hotfixlf4ubb0x/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 16:09:50 +0000 (0:00:00.232) 0:01:34.240 ******* 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.228577", "end": "2024-02-18 16:09:50.884393", "rc": 0, "start": "2024-02-18 16:09:50.655816" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 2620:52:3:1:dead:beef:cafe:fed7 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 3546 0 --:--:-- --:--:-- --:--:-- 3546 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2530 0 --:--:-- --:--:-- --:--:-- 2508 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Sunday 18 February 2024 16:09:50 +0000 (0:00:00.441) 0:01:34.682 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.48s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.13s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.74s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.64s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-nm_plugin_hotfixlf4ubb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---