# 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_hotfixazejq564/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_hotfixazejq564/tests/tests_states_initscripts.yml:5 Monday 19 February 2024 22:11:48 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tests_states_initscripts.yml:8 Monday 19 February 2024 22:11:49 +0000 (0:00:00.791) 0:00:00.804 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 22:11:49 +0000 (0:00:00.047) 0:00:00.851 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 22:11:49 +0000 (0:00:00.359) 0:00:01.211 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 22:11:49 +0000 (0:00:00.306) 0:00:01.518 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 22:11:49 +0000 (0:00:00.020) 0:00:01.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 22:11:49 +0000 (0:00:00.018) 0:00:01.556 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 22:11:49 +0000 (0:00:00.031) 0:00:01.587 ******* 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_hotfixazejq564/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 22:11:50 +0000 (0:00:00.270) 0:00:01.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 22:11:50 +0000 (0:00:00.032) 0:00:01.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 22:11:50 +0000 (0:00:00.017) 0:00:01.909 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.270767", "end": "2024-02-19 22:11:51.639128", "rc": 0, "start": "2024-02-19 22:11:50.368361" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 22:11:51 +0000 (0:00:01.477) 0:00:03.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/tests_states_initscripts.yml:10 Monday 19 February 2024 22:11:51 +0000 (0:00:00.012) 0:00:03.398 ******* 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_hotfixazejq564/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 22:11:51 +0000 (0:00:00.016) 0:00:03.415 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 22:11:52 +0000 (0:00:00.506) 0:00:03.921 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 22:11:52 +0000 (0:00:00.011) 0:00:03.932 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:11:52 +0000 (0:00:00.015) 0:00:03.948 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:11:52 +0000 (0:00:00.012) 0:00:03.960 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:11:52 +0000 (0:00:00.035) 0:00:03.995 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:11:52 +0000 (0:00:00.014) 0:00:04.010 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:11:52 +0000 (0:00:00.015) 0:00:04.025 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003676", "end": "2024-02-19 22:11:52.493494", "rc": 0, "start": "2024-02-19 22:11:52.489818" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:11:52 +0000 (0:00:00.222) 0:00:04.248 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:11:52 +0000 (0:00:00.013) 0:00:04.262 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:11:52 +0000 (0:00:00.012) 0:00:04.275 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:11:52 +0000 (0:00:00.038) 0:00:04.314 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008737", "end": "2024-02-19 22:11:52.773871", "rc": 1, "start": "2024-02-19 22:11:52.765134" } 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_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:11:52 +0000 (0:00:00.203) 0:00:04.517 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:11:52 +0000 (0:00:00.015) 0:00:04.533 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:11:53 +0000 (0:00:00.197) 0:00:04.731 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:11:53 +0000 (0:00:00.013) 0:00:04.744 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:11:53 +0000 (0:00:00.019) 0:00:04.764 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:11:53 +0000 (0:00:00.035) 0:00:04.800 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:11:53 +0000 (0:00:00.070) 0:00:04.870 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:11:53 +0000 (0:00:00.012) 0:00:04.883 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:11:53 +0000 (0:00:00.010) 0:00:04.894 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:11:53 +0000 (0:00:00.010) 0:00:04.904 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:11:54 +0000 (0:00:01.700) 0:00:06.605 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:11:56 +0000 (0:00:01.517) 0:00:08.123 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:11:56 +0000 (0:00:00.038) 0:00:08.162 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:11:56 +0000 (0:00:00.037) 0:00:08.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:11:56 +0000 (0:00:00.023) 0:00:08.223 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:11:56 +0000 (0:00:00.049) 0:00:08.272 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:11:56 +0000 (0:00:00.022) 0:00:08.295 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:11:56 +0000 (0:00:00.022) 0:00:08.317 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:11:56 +0000 (0:00:00.027) 0:00:08.344 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:11:56 +0000 (0:00:00.021) 0:00:08.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:11:56 +0000 (0:00:00.021) 0:00:08.388 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:11:57 +0000 (0:00:00.552) 0:00:08.941 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpf8ou80q7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:11:57 +0000 (0:00:00.487) 0:00:09.428 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:11:58 +0000 (0:00:00.701) 0:00:10.130 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:11:58 +0000 (0:00:00.075) 0:00:10.205 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:11:58 +0000 (0:00:00.031) 0:00:10.237 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:11:58 +0000 (0:00:00.037) 0:00:10.275 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:11:58 +0000 (0:00:00.037) 0:00:10.312 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:11:58 +0000 (0:00:00.358) 0:00:10.671 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:11:59 +0000 (0:00:00.074) 0:00:10.745 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:11:59 +0000 (0:00:00.106) 0:00:10.852 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:11:59 +0000 (0:00:00.069) 0:00:10.921 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:11:59 +0000 (0:00:00.029) 0:00:10.950 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380718.3447597, "block_size": 4096, "blocks": 8, "ctime": 1708380718.3447597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380718.3447597, "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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:11:59 +0000 (0:00:00.223) 0:00:11.173 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:11:59 +0000 (0:00:00.031) 0:00:11.205 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023285", "end": "2024-02-19 22:11:59.689667", "rc": 1, "start": "2024-02-19 22:11:59.666382" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:11:59 +0000 (0:00:00.253) 0:00:11.459 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:11:59 +0000 (0:00:00.027) 0:00:11.486 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003463", "end": "2024-02-19 22:11:59.953337", "rc": 0, "start": "2024-02-19 22:11:59.949874" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:12:00 +0000 (0:00:00.252) 0:00:11.738 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:12:00 +0000 (0:00:00.035) 0:00:11.773 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003618", "end": "2024-02-19 22:12:00.260895", "rc": 0, "start": "2024-02-19 22:12:00.257277" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:12:00 +0000 (0:00:00.265) 0:00:12.038 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:12:00 +0000 (0:00:00.034) 0:00:12.072 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:12:00 +0000 (0:00:00.043) 0:00:12.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:12:00 +0000 (0:00:00.035) 0:00:12.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:12:00 +0000 (0:00:00.026) 0:00:12.177 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:12:00 +0000 (0:00:00.047) 0:00:12.225 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:12:00 +0000 (0:00:00.033) 0:00:12.259 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:12:00 +0000 (0:00:00.048) 0:00:12.307 ******* 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.045407", "end": "2024-02-19 22:12:00.810764", "rc": 1, "start": "2024-02-19 22:12:00.765357" } 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_hotfixazejq564/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 22:12:00 +0000 (0:00:00.259) 0:00:12.566 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:12:00 +0000 (0:00:00.037) 0:00:12.604 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:12:00 +0000 (0:00:00.063) 0:00:12.667 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:12:01 +0000 (0:00:00.069) 0:00:12.737 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:12:01 +0000 (0:00:00.049) 0:00:12.787 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:12:01 +0000 (0:00:00.037) 0:00:12.825 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003519", "end": "2024-02-19 22:12:01.284011", "rc": 0, "start": "2024-02-19 22:12:01.280492" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:12:01 +0000 (0:00:00.217) 0:00:13.042 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:12:01 +0000 (0:00:00.026) 0:00:13.069 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:12:01 +0000 (0:00:00.033) 0:00:13.103 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:12:01 +0000 (0:00:00.052) 0:00:13.155 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006593", "end": "2024-02-19 22:12:01.628207", "rc": 1, "start": "2024-02-19 22:12:01.621614" } 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_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:12:01 +0000 (0:00:00.230) 0:00:13.386 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:12:01 +0000 (0:00:00.043) 0:00:13.429 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:12:01 +0000 (0:00:00.214) 0:00:13.644 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:12:01 +0000 (0:00:00.060) 0:00:13.705 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 22:12:02 +0000 (0:00:00.044) 0:00:13.749 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:02 +0000 (0:00:00.057) 0:00:13.806 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:02 +0000 (0:00:00.054) 0:00:13.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:02 +0000 (0:00:00.031) 0:00:13.892 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:02 +0000 (0:00:00.023) 0:00:13.916 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:02 +0000 (0:00:00.025) 0:00:13.941 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:03 +0000 (0:00:01.709) 0:00:15.650 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:05 +0000 (0:00:01.504) 0:00:17.155 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:05 +0000 (0:00:00.062) 0:00:17.217 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:05 +0000 (0:00:00.031) 0:00:17.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:05 +0000 (0:00:00.026) 0:00:17.274 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:05 +0000 (0:00:00.077) 0:00:17.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:05 +0000 (0:00:00.045) 0:00:17.397 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:05 +0000 (0:00:00.090) 0:00:17.487 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:05 +0000 (0:00:00.073) 0:00:17.561 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:05 +0000 (0:00:00.031) 0:00:17.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:05 +0000 (0:00:00.030) 0:00:17.623 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:06 +0000 (0:00:00.496) 0:00:18.119 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmps0y6f_at" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:06 +0000 (0:00:00.423) 0:00:18.543 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:07 +0000 (0:00:00.349) 0:00:18.893 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:07 +0000 (0:00:00.038) 0:00:18.931 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:07 +0000 (0:00:00.038) 0:00:18.969 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:07 +0000 (0:00:00.037) 0:00:19.006 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:07 +0000 (0:00:00.030) 0:00:19.037 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 22:12:07 +0000 (0:00:00.215) 0:00:19.252 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:12:07 +0000 (0:00:00.029) 0:00:19.282 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:12:07 +0000 (0:00:00.064) 0:00:19.346 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:12:07 +0000 (0:00:00.069) 0:00:19.416 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:12:07 +0000 (0:00:00.239) 0:00:19.655 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:12:08 +0000 (0:00:00.100) 0:00:19.756 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:12:08 +0000 (0:00:00.064) 0:00:19.820 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:12:08 +0000 (0:00:00.043) 0:00:19.863 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380727.131754, "block_size": 4096, "blocks": 8, "ctime": 1708380727.131754, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380727.131754, "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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:12:08 +0000 (0:00:00.249) 0:00:20.113 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:12:08 +0000 (0:00:00.030) 0:00:20.143 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022824", "end": "2024-02-19 22:12:08.621754", "rc": 1, "start": "2024-02-19 22:12:08.598930" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:12:08 +0000 (0:00:00.249) 0:00:20.392 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:12:08 +0000 (0:00:00.037) 0:00:20.430 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003422", "end": "2024-02-19 22:12:08.894467", "rc": 0, "start": "2024-02-19 22:12:08.891045" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:12:08 +0000 (0:00:00.222) 0:00:20.652 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:12:08 +0000 (0:00:00.027) 0:00:20.679 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003455", "end": "2024-02-19 22:12:09.142682", "rc": 0, "start": "2024-02-19 22:12:09.139227" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:12:09 +0000 (0:00:00.245) 0:00:20.925 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:12:09 +0000 (0:00:00.064) 0:00:20.990 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:12:09 +0000 (0:00:00.028) 0:00:21.018 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:12:09 +0000 (0:00:00.027) 0:00:21.045 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:12:09 +0000 (0:00:00.090) 0:00:21.136 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:12:09 +0000 (0:00:00.085) 0:00:21.221 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:12:09 +0000 (0:00:00.064) 0:00:21.286 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:12:09 +0000 (0:00:00.044) 0:00:21.330 ******* 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.045780", "end": "2024-02-19 22:12:09.835456", "rc": 1, "start": "2024-02-19 22:12:09.789676" } 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_hotfixazejq564/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 22:12:09 +0000 (0:00:00.262) 0:00:21.593 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:12:09 +0000 (0:00:00.040) 0:00:21.633 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:12:09 +0000 (0:00:00.030) 0:00:21.664 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:12:09 +0000 (0:00:00.048) 0:00:21.712 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:12:10 +0000 (0:00:00.037) 0:00:21.750 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:12:10 +0000 (0:00:00.051) 0:00:21.801 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2024-02-19 22:12:10.275071", "rc": 0, "start": "2024-02-19 22:12:10.271595" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:12:10 +0000 (0:00:00.247) 0:00:22.048 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:12:10 +0000 (0:00:00.125) 0:00:22.174 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:12:10 +0000 (0:00:00.040) 0:00:22.214 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:12:10 +0000 (0:00:00.069) 0:00:22.284 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:10 +0000 (0:00:00.074) 0:00:22.358 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:10 +0000 (0:00:00.045) 0:00:22.404 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:10 +0000 (0:00:00.030) 0:00:22.434 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:10 +0000 (0:00:00.024) 0:00:22.459 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:10 +0000 (0:00:00.023) 0:00:22.483 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:12 +0000 (0:00:01.714) 0:00:24.197 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:13 +0000 (0:00:01.414) 0:00:25.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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:13 +0000 (0:00:00.024) 0:00:25.636 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:13 +0000 (0:00:00.030) 0:00:25.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:13 +0000 (0:00:00.050) 0:00:25.717 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:14 +0000 (0:00:00.062) 0:00:25.779 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:14 +0000 (0:00:00.031) 0:00:25.811 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:14 +0000 (0:00:00.024) 0:00:25.835 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:14 +0000 (0:00:00.026) 0:00:25.862 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:14 +0000 (0:00:00.030) 0:00:25.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:14 +0000 (0:00:00.023) 0:00:25.916 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:14 +0000 (0:00:00.378) 0:00:26.294 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpkhzi1xvg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:14 +0000 (0:00:00.348) 0:00:26.643 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:15 +0000 (0:00:00.338) 0:00:26.981 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:15 +0000 (0:00:00.044) 0:00:27.026 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:15 +0000 (0:00:00.040) 0:00:27.066 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:15 +0000 (0:00:00.036) 0:00:27.103 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:15 +0000 (0:00:00.022) 0:00:27.126 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:12:15 +0000 (0:00:00.224) 0:00:27.350 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:12:15 +0000 (0:00:00.046) 0:00:27.397 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:12:15 +0000 (0:00:00.059) 0:00:27.457 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:15 +0000 (0:00:00.065) 0:00:27.522 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:15 +0000 (0:00:00.067) 0:00:27.590 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:15 +0000 (0:00:00.061) 0:00:27.652 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:15 +0000 (0:00:00.025) 0:00:27.677 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:15 +0000 (0:00:00.024) 0:00:27.701 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:17 +0000 (0:00:01.758) 0:00:29.460 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:19 +0000 (0:00:01.590) 0:00:31.050 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:19 +0000 (0:00:00.146) 0:00:31.197 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:19 +0000 (0:00:00.069) 0:00:31.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:19 +0000 (0:00:00.049) 0:00:31.316 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:19 +0000 (0:00:00.238) 0:00:31.555 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:19 +0000 (0:00:00.161) 0:00:31.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:20 +0000 (0:00:00.089) 0:00:31.806 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:20 +0000 (0:00:00.071) 0:00:31.877 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:20 +0000 (0:00:00.190) 0:00:32.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:20 +0000 (0:00:00.183) 0:00:32.252 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:21 +0000 (0:00:00.483) 0:00:32.736 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmptabs1huk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:21 +0000 (0:00:00.498) 0:00:33.235 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:22 +0000 (0:00:00.739) 0:00:33.974 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:22 +0000 (0:00:00.031) 0:00:34.005 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:22 +0000 (0:00:00.048) 0:00:34.054 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:22 +0000 (0:00:00.058) 0:00:34.112 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:22 +0000 (0:00:00.043) 0:00:34.156 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:12:22 +0000 (0:00:00.227) 0:00:34.383 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:12:22 +0000 (0:00:00.082) 0:00:34.466 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:12:22 +0000 (0:00:00.082) 0:00:34.548 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380742.0774996, "block_size": 4096, "blocks": 0, "ctime": 1708380742.0774996, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34970, "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": 1708380742.0774996, "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_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:12:23 +0000 (0:00:00.254) 0:00:34.802 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:12:23 +0000 (0:00:00.042) 0:00:34.844 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:12:23 +0000 (0:00:00.076) 0:00:34.921 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:12:23 +0000 (0:00:00.031) 0:00:34.953 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380741.8887506, "block_size": 4096, "blocks": 8, "ctime": 1708380735.198752, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380735.198752, "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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:12:23 +0000 (0:00:00.257) 0:00:35.210 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:12:23 +0000 (0:00:00.073) 0:00:35.283 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023658", "end": "2024-02-19 22:12:23.798931", "rc": 1, "start": "2024-02-19 22:12:23.775273" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:12:23 +0000 (0:00:00.279) 0:00:35.562 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:12:23 +0000 (0:00:00.063) 0:00:35.625 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003443", "end": "2024-02-19 22:12:24.141748", "rc": 0, "start": "2024-02-19 22:12:24.138305" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:12:24 +0000 (0:00:00.278) 0:00:35.904 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:12:24 +0000 (0:00:00.037) 0:00:35.941 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003423", "end": "2024-02-19 22:12:24.419888", "rc": 0, "start": "2024-02-19 22:12:24.416465" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:12:24 +0000 (0:00:00.259) 0:00:36.201 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:12:24 +0000 (0:00:00.080) 0:00:36.282 ******* 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_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:12:24 +0000 (0:00:00.130) 0:00:36.413 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:12:24 +0000 (0:00:00.033) 0:00:36.446 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:12:24 +0000 (0:00:00.038) 0:00:36.485 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:12:24 +0000 (0:00:00.025) 0:00:36.510 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:12:24 +0000 (0:00:00.031) 0:00:36.541 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:12:24 +0000 (0:00:00.053) 0:00:36.595 ******* 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.050168", "end": "2024-02-19 22:12:25.148383", "rc": 0, "start": "2024-02-19 22:12:25.098215" } 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_hotfixazejq564/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 22:12:25 +0000 (0:00:00.329) 0:00:36.925 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:12:25 +0000 (0:00:00.085) 0:00:37.010 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:12:25 +0000 (0:00:00.038) 0:00:37.048 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:12:25 +0000 (0:00:00.061) 0:00:37.110 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:12:25 +0000 (0:00:00.123) 0:00:37.233 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:12:25 +0000 (0:00:00.085) 0:00:37.319 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2024-02-19 22:12:25.863461", "rc": 0, "start": "2024-02-19 22:12:25.859786" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:12:25 +0000 (0:00:00.348) 0:00:37.667 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:12:26 +0000 (0:00:00.081) 0:00:37.749 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:12:26 +0000 (0:00:00.033) 0:00:37.782 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:12:26 +0000 (0:00:00.089) 0:00:37.872 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:26 +0000 (0:00:00.074) 0:00:37.946 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:26 +0000 (0:00:00.134) 0:00:38.080 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:26 +0000 (0:00:00.050) 0:00:38.130 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:26 +0000 (0:00:00.091) 0:00:38.222 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:26 +0000 (0:00:00.090) 0:00:38.313 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:28 +0000 (0:00:01.874) 0:00:40.187 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:29 +0000 (0:00:01.380) 0:00:41.568 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:29 +0000 (0:00:00.053) 0:00:41.622 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:29 +0000 (0:00:00.048) 0:00:41.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:29 +0000 (0:00:00.025) 0:00:41.696 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:30 +0000 (0:00:00.064) 0:00:41.761 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:30 +0000 (0:00:00.051) 0:00:41.812 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:30 +0000 (0:00:00.041) 0:00:41.854 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:30 +0000 (0:00:00.051) 0:00:41.906 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:30 +0000 (0:00:00.072) 0:00:41.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:30 +0000 (0:00:00.075) 0:00:42.054 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:30 +0000 (0:00:00.456) 0:00:42.510 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpu8zrga5n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:31 +0000 (0:00:00.472) 0:00:42.983 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:31 +0000 (0:00:00.419) 0:00:43.403 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:31 +0000 (0:00:00.113) 0:00:43.516 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:31 +0000 (0:00:00.059) 0:00:43.576 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:31 +0000 (0:00:00.056) 0:00:43.633 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:31 +0000 (0:00:00.055) 0:00:43.688 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:12:32 +0000 (0:00:00.246) 0:00:43.935 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:12:32 +0000 (0:00:00.090) 0:00:44.026 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:32 +0000 (0:00:00.049) 0:00:44.075 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:32 +0000 (0:00:00.097) 0:00:44.172 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:32 +0000 (0:00:00.070) 0:00:44.243 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:32 +0000 (0:00:00.163) 0:00:44.407 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:32 +0000 (0:00:00.085) 0:00:44.493 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:34 +0000 (0:00:01.800) 0:00:46.294 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:36 +0000 (0:00:01.459) 0:00:47.753 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:36 +0000 (0:00:00.045) 0:00:47.798 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:36 +0000 (0:00:00.026) 0:00:47.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:36 +0000 (0:00:00.041) 0:00:47.866 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:36 +0000 (0:00:00.048) 0:00:47.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:36 +0000 (0:00:00.214) 0:00:48.128 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:36 +0000 (0:00:00.090) 0:00:48.219 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:36 +0000 (0:00:00.084) 0:00:48.304 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:36 +0000 (0:00:00.037) 0:00:48.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:36 +0000 (0:00:00.082) 0:00:48.424 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:37 +0000 (0:00:00.596) 0:00:49.021 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpml8kub39" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:37 +0000 (0:00:00.656) 0:00:49.677 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:38 +0000 (0:00:00.729) 0:00:50.407 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:38 +0000 (0:00:00.051) 0:00:50.459 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:38 +0000 (0:00:00.048) 0:00:50.508 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:38 +0000 (0:00:00.059) 0:00:50.567 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:38 +0000 (0:00:00.044) 0:00:50.612 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:12:39 +0000 (0:00:00.255) 0:00:50.867 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:12:39 +0000 (0:00:00.074) 0:00:50.942 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:39 +0000 (0:00:00.069) 0:00:51.011 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:39 +0000 (0:00:00.091) 0:00:51.102 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:39 +0000 (0:00:00.068) 0:00:51.171 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:39 +0000 (0:00:00.050) 0:00:51.221 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:39 +0000 (0:00:00.080) 0:00:51.302 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:41 +0000 (0:00:02.392) 0:00:53.695 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:43 +0000 (0:00:02.024) 0:00:55.719 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:44 +0000 (0:00:00.078) 0:00:55.798 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:44 +0000 (0:00:00.048) 0:00:55.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:44 +0000 (0:00:00.038) 0:00:55.885 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:44 +0000 (0:00:00.125) 0:00:56.010 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:44 +0000 (0:00:00.036) 0:00:56.047 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:44 +0000 (0:00:00.035) 0:00:56.083 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:44 +0000 (0:00:00.050) 0:00:56.134 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:44 +0000 (0:00:00.093) 0:00:56.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:44 +0000 (0:00:00.027) 0:00:56.255 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:44 +0000 (0:00:00.400) 0:00:56.656 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmp19glb1b3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:45 +0000 (0:00:00.349) 0:00:57.005 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:45 +0000 (0:00:00.383) 0:00:57.388 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:45 +0000 (0:00:00.104) 0:00:57.493 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:45 +0000 (0:00:00.070) 0:00:57.563 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:45 +0000 (0:00:00.067) 0:00:57.630 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:45 +0000 (0:00:00.045) 0:00:57.676 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:12:46 +0000 (0:00:00.230) 0:00:57.906 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:12:46 +0000 (0:00:00.051) 0:00:57.958 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:12:46 +0000 (0:00:00.054) 0:00:58.012 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380758.5210762, "block_size": 4096, "blocks": 0, "ctime": 1708380758.5210762, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35101, "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": 1708380758.5210762, "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_hotfixazejq564/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:12:46 +0000 (0:00:00.274) 0:00:58.286 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:12:46 +0000 (0:00:00.103) 0:00:58.389 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:12:46 +0000 (0:00:00.052) 0:00:58.442 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:12:46 +0000 (0:00:00.056) 0:00:58.498 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:12:47 +0000 (0:00:00.254) 0:00:58.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:12:47 +0000 (0:00:00.057) 0:00:58.810 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023101", "end": "2024-02-19 22:12:47.360429", "rc": 1, "start": "2024-02-19 22:12:47.337328" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:12:47 +0000 (0:00:00.378) 0:00:59.188 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:12:47 +0000 (0:00:00.106) 0:00:59.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:12:47 +0000 (0:00:00.069) 0:00:59.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:12:47 +0000 (0:00:00.290) 0:00:59.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:12:48 +0000 (0:00:00.073) 0:00:59.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:12:48 +0000 (0:00:00.041) 0:00:59.770 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:12:48 +0000 (0:00:00.040) 0:00:59.811 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:12:48 +0000 (0:00:00.022) 0:00:59.834 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:12:48 +0000 (0:00:00.050) 0:00:59.885 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:12:48 +0000 (0:00:00.050) 0:00:59.936 ******* 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.050626", "end": "2024-02-19 22:12:48.456548", "rc": 0, "start": "2024-02-19 22:12:48.405922" } 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_hotfixazejq564/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 22:12:48 +0000 (0:00:00.299) 0:01:00.235 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:12:48 +0000 (0:00:00.071) 0:01:00.307 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:12:48 +0000 (0:00:00.033) 0:01:00.341 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:12:48 +0000 (0:00:00.066) 0:01:00.407 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:12:48 +0000 (0:00:00.050) 0:01:00.457 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:12:48 +0000 (0:00:00.077) 0:01:00.534 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003515", "end": "2024-02-19 22:12:49.000276", "rc": 0, "start": "2024-02-19 22:12:48.996761" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:12:49 +0000 (0:00:00.231) 0:01:00.766 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:12:49 +0000 (0:00:00.027) 0:01:00.793 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:12:49 +0000 (0:00:00.035) 0:01:00.829 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:12:49 +0000 (0:00:00.068) 0:01:00.898 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:49 +0000 (0:00:00.096) 0:01:00.995 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:49 +0000 (0:00:00.106) 0:01:01.101 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:49 +0000 (0:00:00.158) 0:01:01.259 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:49 +0000 (0:00:00.085) 0:01:01.344 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:49 +0000 (0:00:00.096) 0:01:01.441 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:51 +0000 (0:00:01.925) 0:01:03.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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:53 +0000 (0:00:01.427) 0:01:04.794 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:53 +0000 (0:00:00.052) 0:01:04.847 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:53 +0000 (0:00:00.057) 0:01:04.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:53 +0000 (0:00:00.051) 0:01:04.956 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:12:53 +0000 (0:00:00.111) 0:01:05.068 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:12:53 +0000 (0:00:00.070) 0:01:05.138 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:12:53 +0000 (0:00:00.049) 0:01:05.188 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:12:53 +0000 (0:00:00.070) 0:01:05.258 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:12:53 +0000 (0:00:00.080) 0:01:05.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:12:53 +0000 (0:00:00.061) 0:01:05.399 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:12:54 +0000 (0:00:00.497) 0:01:05.897 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpfkuzlz5y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:12:54 +0000 (0:00:00.639) 0:01:06.537 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:12:55 +0000 (0:00:00.394) 0:01:06.931 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:12:55 +0000 (0:00:00.060) 0:01:06.991 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:12:55 +0000 (0:00:00.039) 0:01:07.031 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:12:55 +0000 (0:00:00.056) 0:01:07.087 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:12:55 +0000 (0:00:00.049) 0:01:07.136 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:12:55 +0000 (0:00:00.296) 0:01:07.433 ******* 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_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:12:55 +0000 (0:00:00.027) 0:01:07.460 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:12:55 +0000 (0:00:00.063) 0:01:07.524 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:12:55 +0000 (0:00:00.167) 0:01:07.691 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:12:56 +0000 (0:00:00.096) 0:01:07.788 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:12:56 +0000 (0:00:00.062) 0:01:07.850 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:12:56 +0000 (0:00:00.081) 0:01:07.932 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:12:57 +0000 (0:00:01.758) 0:01:09.691 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:12:59 +0000 (0:00:01.624) 0:01:11.315 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:12:59 +0000 (0:00:00.161) 0:01:11.476 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:12:59 +0000 (0:00:00.092) 0:01:11.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:12:59 +0000 (0:00:00.067) 0:01:11.636 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:00 +0000 (0:00:00.181) 0:01:11.817 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:00 +0000 (0:00:00.036) 0:01:11.854 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:00 +0000 (0:00:00.114) 0:01:11.969 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:00 +0000 (0:00:00.085) 0:01:12.054 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:00 +0000 (0:00:00.081) 0:01:12.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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:00 +0000 (0:00:00.109) 0:01:12.245 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:01 +0000 (0:00:00.622) 0:01:12.868 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpcyrpy8oi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:01 +0000 (0:00:00.798) 0:01:13.667 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:02 +0000 (0:00:00.715) 0:01:14.383 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:02 +0000 (0:00:00.115) 0:01:14.498 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:02 +0000 (0:00:00.084) 0:01:14.583 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:02 +0000 (0:00:00.053) 0:01:14.636 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:02 +0000 (0:00:00.065) 0:01:14.701 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:13:03 +0000 (0:00:00.293) 0:01:14.995 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:03 +0000 (0:00:00.069) 0:01:15.064 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:03 +0000 (0:00:00.054) 0:01:15.118 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:03 +0000 (0:00:00.049) 0:01:15.168 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:03 +0000 (0:00:00.070) 0:01:15.238 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:03 +0000 (0:00:00.084) 0:01:15.323 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:05 +0000 (0:00:01.914) 0:01:17.237 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:06 +0000 (0:00:01.388) 0:01:18.626 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:06 +0000 (0:00:00.062) 0:01:18.688 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:07 +0000 (0:00:00.045) 0:01:18.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:07 +0000 (0:00:00.044) 0:01:18.778 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:07 +0000 (0:00:00.130) 0:01:18.908 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:07 +0000 (0:00:00.037) 0:01:18.945 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:07 +0000 (0:00:00.035) 0:01:18.981 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:07 +0000 (0:00:00.053) 0:01:19.035 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:07 +0000 (0:00:00.041) 0:01:19.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:07 +0000 (0:00:00.048) 0:01:19.124 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:07 +0000 (0:00:00.432) 0:01:19.556 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmp5k5xwr6c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:08 +0000 (0:00:00.416) 0:01:19.973 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:08 +0000 (0:00:00.370) 0:01:20.343 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:08 +0000 (0:00:00.038) 0:01:20.382 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:08 +0000 (0:00:00.033) 0:01:20.416 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:08 +0000 (0:00:00.027) 0:01:20.443 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:08 +0000 (0:00:00.051) 0:01:20.494 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:09 +0000 (0:00:00.332) 0:01:20.826 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.093) 0:01:20.920 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:09 +0000 (0:00:00.136) 0:01:21.056 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.078) 0:01:21.134 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:09 +0000 (0:00:00.090) 0:01:21.225 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:09 +0000 (0:00:00.039) 0:01:21.265 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:09 +0000 (0:00:00.051) 0:01:21.316 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:11 +0000 (0:00:01.692) 0:01:23.009 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:12 +0000 (0:00:01.471) 0:01:24.480 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:12 +0000 (0:00:00.085) 0:01:24.565 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:12 +0000 (0:00:00.090) 0:01:24.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:12 +0000 (0:00:00.045) 0:01:24.701 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:13 +0000 (0:00:00.199) 0:01:24.900 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:13 +0000 (0:00:00.126) 0:01:25.027 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:13 +0000 (0:00:00.096) 0:01:25.124 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:13 +0000 (0:00:00.077) 0:01:25.201 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:13 +0000 (0:00:00.092) 0:01:25.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:13 +0000 (0:00:00.134) 0:01:25.428 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:14 +0000 (0:00:00.494) 0:01:25.923 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpspzzjc0y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:14 +0000 (0:00:00.336) 0:01:26.260 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:14 +0000 (0:00:00.350) 0:01:26.610 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:14 +0000 (0:00:00.039) 0:01:26.650 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:14 +0000 (0:00:00.040) 0:01:26.691 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:15 +0000 (0:00:00.037) 0:01:26.729 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:15 +0000 (0:00:00.046) 0:01:26.775 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:15 +0000 (0:00:00.223) 0:01:26.998 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:13:15 +0000 (0:00:00.099) 0:01:27.098 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:15 +0000 (0:00:00.064) 0:01:27.162 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:15 +0000 (0:00:00.026) 0:01:27.188 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:15 +0000 (0:00:00.223) 0:01:27.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:15 +0000 (0:00:00.024) 0:01:27.436 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022350", "end": "2024-02-19 22:13:15.917474", "rc": 1, "start": "2024-02-19 22:13:15.895124" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:15 +0000 (0:00:00.241) 0:01:27.678 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:15 +0000 (0:00:00.025) 0:01:27.703 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:16 +0000 (0:00:00.028) 0:01:27.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:16 +0000 (0:00:00.023) 0:01:27.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:16 +0000 (0:00:00.023) 0:01:27.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:13:16 +0000 (0:00:00.023) 0:01:27.802 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:16 +0000 (0:00:00.024) 0:01:27.827 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:16 +0000 (0:00:00.026) 0:01:27.854 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:16 +0000 (0:00:00.031) 0:01:27.885 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.102) 0:01:27.988 ******* 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.050010", "end": "2024-02-19 22:13:16.570157", "rc": 0, "start": "2024-02-19 22:13:16.520147" } 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_hotfixazejq564/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 22:13:16 +0000 (0:00:00.359) 0:01:28.347 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:16 +0000 (0:00:00.072) 0:01:28.419 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:16 +0000 (0:00:00.071) 0:01:28.491 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:16 +0000 (0:00:00.134) 0:01:28.626 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.075) 0:01:28.701 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:17 +0000 (0:00:00.124) 0:01:28.826 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-02-19 22:13:17.414329", "rc": 0, "start": "2024-02-19 22:13:17.410854" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:17 +0000 (0:00:00.375) 0:01:29.201 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:17 +0000 (0:00:00.064) 0:01:29.266 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:17 +0000 (0:00:00.106) 0:01:29.372 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:13:17 +0000 (0:00:00.199) 0:01:29.572 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:17 +0000 (0:00:00.108) 0:01:29.680 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:18 +0000 (0:00:00.064) 0:01:29.744 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:18 +0000 (0:00:00.096) 0:01:29.841 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:18 +0000 (0:00:00.043) 0:01:29.885 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:18 +0000 (0:00:00.076) 0:01:29.961 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:20 +0000 (0:00:01.792) 0:01:31.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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:21 +0000 (0:00:01.465) 0:01:33.220 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:21 +0000 (0:00:00.075) 0:01:33.295 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:21 +0000 (0:00:00.052) 0:01:33.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:21 +0000 (0:00:00.112) 0:01:33.460 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:21 +0000 (0:00:00.100) 0:01:33.560 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:21 +0000 (0:00:00.099) 0:01:33.660 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:21 +0000 (0:00:00.051) 0:01:33.711 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:22 +0000 (0:00:00.063) 0:01:33.775 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:22 +0000 (0:00:00.041) 0:01:33.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:22 +0000 (0:00:00.070) 0:01:33.887 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:22 +0000 (0:00:00.718) 0:01:34.605 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpzmot0_f7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:23 +0000 (0:00:00.478) 0:01:35.084 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:23 +0000 (0:00:00.419) 0:01:35.503 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:23 +0000 (0:00:00.049) 0:01:35.552 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:23 +0000 (0:00:00.058) 0:01:35.611 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:23 +0000 (0:00:00.039) 0:01:35.650 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:23 +0000 (0:00:00.056) 0:01:35.707 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:13:24 +0000 (0:00:00.288) 0:01:35.996 ******* 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_hotfixazejq564/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:13:24 +0000 (0:00:00.058) 0:01:36.055 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:24 +0000 (0:00:00.138) 0:01:36.193 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:24 +0000 (0:00:00.280) 0:01:36.474 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:24 +0000 (0:00:00.185) 0:01:36.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:25 +0000 (0:00:00.121) 0:01:36.781 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:25 +0000 (0:00:00.136) 0:01:36.918 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:26 +0000 (0:00:01.765) 0:01:38.683 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:28 +0000 (0:00:01.414) 0:01:40.097 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:28 +0000 (0:00:00.044) 0:01:40.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:28 +0000 (0:00:00.050) 0:01:40.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:28 +0000 (0:00:00.061) 0:01:40.254 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:28 +0000 (0:00:00.079) 0:01:40.333 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:28 +0000 (0:00:00.049) 0:01:40.383 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:28 +0000 (0:00:00.057) 0:01:40.450 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:28 +0000 (0:00:00.050) 0:01:40.500 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:28 +0000 (0:00:00.028) 0:01:40.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:28 +0000 (0:00:00.028) 0:01:40.557 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:29 +0000 (0:00:00.404) 0:01:40.962 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpu5cz6c6w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:29 +0000 (0:00:00.493) 0:01:41.455 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:30 +0000 (0:00:00.654) 0:01:42.110 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:30 +0000 (0:00:00.076) 0:01:42.186 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:30 +0000 (0:00:00.025) 0:01:42.211 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:30 +0000 (0:00:00.045) 0:01:42.257 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:30 +0000 (0:00:00.060) 0:01:42.317 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:13:30 +0000 (0:00:00.262) 0:01:42.580 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:30 +0000 (0:00:00.058) 0:01:42.639 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:30 +0000 (0:00:00.067) 0:01:42.706 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:31 +0000 (0:00:00.051) 0:01:42.757 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:31 +0000 (0:00:00.036) 0:01:42.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:31 +0000 (0:00:00.032) 0:01:42.827 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:32 +0000 (0:00:01.748) 0:01:44.575 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:34 +0000 (0:00:01.414) 0:01:45.990 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:34 +0000 (0:00:00.028) 0:01:46.018 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:34 +0000 (0:00:00.026) 0:01:46.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:34 +0000 (0:00:00.026) 0:01:46.071 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:34 +0000 (0:00:00.055) 0:01:46.127 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:34 +0000 (0:00:00.037) 0:01:46.165 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:34 +0000 (0:00:00.026) 0:01:46.191 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:34 +0000 (0:00:00.070) 0:01:46.261 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:34 +0000 (0:00:00.034) 0:01:46.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:34 +0000 (0:00:00.077) 0:01:46.373 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:35 +0000 (0:00:00.434) 0:01:46.808 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmp_fqv0fra" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:35 +0000 (0:00:00.390) 0:01:47.198 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:35 +0000 (0:00:00.396) 0:01:47.595 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:35 +0000 (0:00:00.072) 0:01:47.667 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:36 +0000 (0:00:00.071) 0:01:47.739 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:36 +0000 (0:00:00.051) 0:01:47.790 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:36 +0000 (0:00:00.031) 0:01:47.822 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:36 +0000 (0:00:00.226) 0:01:48.049 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:13:36 +0000 (0:00:00.067) 0:01:48.116 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:36 +0000 (0:00:00.105) 0:01:48.222 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:36 +0000 (0:00:00.198) 0:01:48.420 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:36 +0000 (0:00:00.064) 0:01:48.485 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:36 +0000 (0:00:00.045) 0:01:48.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:36 +0000 (0:00:00.035) 0:01:48.566 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:38 +0000 (0:00:01.669) 0:01:50.235 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:39 +0000 (0:00:01.369) 0:01:51.605 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:39 +0000 (0:00:00.057) 0:01:51.662 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:39 +0000 (0:00:00.049) 0:01:51.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:40 +0000 (0:00:00.035) 0:01:51.747 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:40 +0000 (0:00:00.061) 0:01:51.809 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:40 +0000 (0:00:00.031) 0:01:51.840 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:40 +0000 (0:00:00.022) 0:01:51.863 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:40 +0000 (0:00:00.025) 0:01:51.888 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:40 +0000 (0:00:00.023) 0:01:51.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:40 +0000 (0:00:00.025) 0:01:51.938 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:40 +0000 (0:00:00.418) 0:01:52.356 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18577kufstg39/tmpeyxxzic0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:40 +0000 (0:00:00.354) 0:01:52.711 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:41 +0000 (0:00:00.340) 0:01:53.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:41 +0000 (0:00:00.025) 0:01:53.077 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:41 +0000 (0:00:00.025) 0:01:53.102 ******* 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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:41 +0000 (0:00:00.030) 0:01:53.132 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:41 +0000 (0:00:00.066) 0:01:53.198 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:41 +0000 (0:00:00.214) 0:01:53.413 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:13:41 +0000 (0:00:00.089) 0:01:53.503 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:41 +0000 (0:00:00.070) 0:01:53.573 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:41 +0000 (0:00:00.047) 0:01:53.621 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:42 +0000 (0:00:00.328) 0:01:53.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:42 +0000 (0:00:00.026) 0:01:53.976 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022187", "end": "2024-02-19 22:13:42.456364", "rc": 1, "start": "2024-02-19 22:13:42.434177" } 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:42 +0000 (0:00:00.236) 0:01:54.212 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:42 +0000 (0:00:00.029) 0:01:54.241 ******* 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_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:42 +0000 (0:00:00.025) 0:01:54.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:42 +0000 (0:00:00.026) 0:01:54.293 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:42 +0000 (0:00:00.024) 0:01:54.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:13:42 +0000 (0:00:00.026) 0:01:54.344 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 22:13:42 +0000 (0:00:00.069) 0:01:54.414 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.972856", "end": "2024-02-19 22:13:43.841172", "rc": 0, "start": "2024-02-19 22:13:42.868316" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 22:13:43 +0000 (0:00:01.210) 0:01:55.624 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 22:13:43 +0000 (0:00:00.062) 0:01:55.686 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:44 +0000 (0:00:00.051) 0:01:55.738 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:44 +0000 (0:00:00.049) 0:01:55.788 ******* 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_hotfixazejq564/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:44 +0000 (0:00:00.025) 0:01:55.814 ******* included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:44 +0000 (0:00:00.050) 0:01:55.864 ******* 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.047845", "end": "2024-02-19 22:13:44.367301", "rc": 0, "start": "2024-02-19 22:13:44.319456" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 22:13:44 +0000 (0:00:00.263) 0:01:56.128 ******* 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.010346", "end": "2024-02-19 22:13:44.586651", "rc": 0, "start": "2024-02-19 22:13:44.576305" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:44:89:3a:cb:6b brd ff:ff:ff:ff:ff:ff inet 10.31.15.211/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2852sec preferred_lft 2852sec inet6 fe80::844:89ff:fe3a:cb6b/64 scope link valid_lft forever preferred_lft forever 49: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:ee:22:ff:d6:7d brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.211 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.211 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixazejq564/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 22:13:44 +0000 (0:00:00.216) 0:01:56.344 ******* 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.309833", "end": "2024-02-19 22:13:45.109841", "rc": 0, "start": "2024-02-19 22:13:44.800008" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5446 0 --:--:-- --:--:-- --:--:-- 5350 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1281 0 --:--:-- --:--:-- --:--:-- 1281 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Monday 19 February 2024 22:13:45 +0000 (0:00:00.528) 0:01:56.873 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.84s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.60s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 2.45s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 2.43s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.27s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.11s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which packages are installed --------- 2.02s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.93s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.91s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.87s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.79s /WORKDIR/git-nm_plugin_hotfixazejq564/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_hotfixazejq564/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_hotfixazejq564/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_hotfixazejq564/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_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-nm_plugin_hotfixazejq564/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---