# 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_hotfixk0514j71/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_hotfixk0514j71/tests/tests_states_initscripts.yml:5 Sunday 18 February 2024 19:24:07 +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_hotfixk0514j71/tests/tests_states_initscripts.yml:8 Sunday 18 February 2024 19:24:08 +0000 (0:00:00.757) 0:00:00.770 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 19:24:08 +0000 (0:00:00.021) 0:00:00.791 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/el_repo_setup.yml:19 Sunday 18 February 2024 19:24:08 +0000 (0:00:00.390) 0:00:01.182 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/el_repo_setup.yml:24 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.285) 0:00:01.468 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/el_repo_setup.yml:28 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.020) 0:00:01.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/el_repo_setup.yml:53 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.018) 0:00:01.506 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.030) 0:00:01.537 ******* 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_hotfixk0514j71/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.251) 0:00:01.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.010) 0:00:01.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.010) 0:00:01.810 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.263327", "end": "2024-02-18 19:24:09.925896", "rc": 0, "start": "2024-02-18 19:24:09.662569" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.467) 0:00:02.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/tests_states_initscripts.yml:10 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.009) 0:00:02.287 ******* 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_hotfixk0514j71/tests/playbooks/tests_states.yml:3 Sunday 18 February 2024 19:24:09 +0000 (0:00:00.009) 0:00:02.297 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tests_states.yml:11 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.527) 0:00:02.824 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tests_states.yml:22 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.010) 0:00:02.835 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.016) 0:00:02.851 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.011) 0:00:02.863 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.034) 0:00:02.898 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.014) 0:00:02.913 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.013) 0:00:02.927 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003738", "end": "2024-02-18 19:24:10.781584", "rc": 0, "start": "2024-02-18 19:24:10.777846" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.206) 0:00:03.133 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.012) 0:00:03.145 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.010) 0:00:03.156 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 19:24:10 +0000 (0:00:00.020) 0:00:03.177 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009185", "end": "2024-02-18 19:24:11.039356", "rc": 1, "start": "2024-02-18 19:24:11.030171" } 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_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.213) 0:00:03.390 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.015) 0:00:03.405 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.203) 0:00:03.609 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.013) 0:00:03.622 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.018) 0:00:03.640 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.033) 0:00:03.673 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.068) 0:00:03.742 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.012) 0:00:03.754 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.010) 0:00:03.765 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:11 +0000 (0:00:00.010) 0:00:03.776 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:13 +0000 (0:00:01.729) 0:00:05.505 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:14 +0000 (0:00:01.604) 0:00:07.109 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.024) 0:00:07.133 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.022) 0:00:07.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.022) 0:00:07.178 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.044) 0:00:07.223 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.022) 0:00:07.245 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.022) 0:00:07.267 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.026) 0:00:07.293 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:14 +0000 (0:00:00.022) 0:00:07.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:15 +0000 (0:00:00.041) 0:00:07.357 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:15 +0000 (0:00:00.515) 0:00:07.872 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpbje26ooy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:15 +0000 (0:00:00.316) 0:00:08.189 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.428) 0:00:08.618 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.022) 0:00:08.640 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.025) 0:00:08.666 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.023) 0:00:08.689 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.023) 0:00:08.713 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.287) 0:00:09.000 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.025) 0:00:09.025 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.066) 0:00:09.092 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.040) 0:00:09.133 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:24:16 +0000 (0:00:00.024) 0:00:09.157 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708284256.2553573, "block_size": 4096, "blocks": 8, "ctime": 1708284256.2553573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708284256.2553573, "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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.216) 0:00:09.373 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.024) 0:00:09.398 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023024", "end": "2024-02-18 19:24:17.273121", "rc": 1, "start": "2024-02-18 19:24:17.250097" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.238) 0:00:09.636 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.023) 0:00:09.660 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003521", "end": "2024-02-18 19:24:17.520825", "rc": 0, "start": "2024-02-18 19:24:17.517304" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.225) 0:00:09.885 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.027) 0:00:09.913 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003628", "end": "2024-02-18 19:24:17.772617", "rc": 0, "start": "2024-02-18 19:24:17.768989" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.222) 0:00:10.136 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.028) 0:00:10.165 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.049) 0:00:10.214 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.026) 0:00:10.240 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.024) 0:00:10.265 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.027) 0:00:10.292 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:24:17 +0000 (0:00:00.023) 0:00:10.315 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.043) 0:00:10.359 ******* 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.042107", "end": "2024-02-18 19:24:18.255236", "rc": 1, "start": "2024-02-18 19:24:18.213129" } 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_hotfixk0514j71/tests/playbooks/tests_states.yml:45 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.259) 0:00:10.618 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.039) 0:00:10.658 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.023) 0:00:10.681 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.047) 0:00:10.728 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.037) 0:00:10.765 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.061) 0:00:10.827 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-02-18 19:24:18.687662", "rc": 0, "start": "2024-02-18 19:24:18.683867" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.223) 0:00:11.051 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.023) 0:00:11.075 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.023) 0:00:11.099 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 19:24:18 +0000 (0:00:00.043) 0:00:11.142 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007006", "end": "2024-02-18 19:24:19.003108", "rc": 1, "start": "2024-02-18 19:24:18.996102" } 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_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.224) 0:00:11.366 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.039) 0:00:11.406 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.215) 0:00:11.621 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.025) 0:00:11.646 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.040) 0:00:11.687 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.068) 0:00:11.756 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.041) 0:00:11.797 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.029) 0:00:11.826 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.022) 0:00:11.849 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:19 +0000 (0:00:00.022) 0:00:11.872 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:21 +0000 (0:00:01.704) 0:00:13.577 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:22 +0000 (0:00:01.466) 0:00:15.044 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.024) 0:00:15.068 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.022) 0:00:15.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.023) 0:00:15.114 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.045) 0:00:15.159 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.022) 0:00:15.182 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.022) 0:00:15.205 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.026) 0:00:15.232 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.022) 0:00:15.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:22 +0000 (0:00:00.022) 0:00:15.277 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:23 +0000 (0:00:00.388) 0:00:15.666 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpn27zbb_3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:23 +0000 (0:00:00.326) 0:00:15.992 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:23 +0000 (0:00:00.324) 0:00:16.317 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.023) 0:00:16.340 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.025) 0:00:16.366 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.025) 0:00:16.391 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.023) 0:00:16.414 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.212) 0:00:16.627 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.025) 0:00:16.652 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.045) 0:00:16.697 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.064) 0:00:16.762 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.217) 0:00:16.979 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.025) 0:00:17.004 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.040) 0:00:17.044 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.023) 0:00:17.068 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708284263.9533682, "block_size": 4096, "blocks": 8, "ctime": 1708284263.954368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708284263.954368, "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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.220) 0:00:17.288 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:24:24 +0000 (0:00:00.024) 0:00:17.313 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021264", "end": "2024-02-18 19:24:25.190716", "rc": 1, "start": "2024-02-18 19:24:25.169452" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.240) 0:00:17.554 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.023) 0:00:17.578 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003432", "end": "2024-02-18 19:24:25.439450", "rc": 0, "start": "2024-02-18 19:24:25.436018" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.226) 0:00:17.804 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.029) 0:00:17.834 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003725", "end": "2024-02-18 19:24:25.698332", "rc": 0, "start": "2024-02-18 19:24:25.694607" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.228) 0:00:18.062 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.053) 0:00:18.116 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.026) 0:00:18.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.026) 0:00:18.169 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.025) 0:00:18.195 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.021) 0:00:18.217 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.023) 0:00:18.241 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:24:25 +0000 (0:00:00.044) 0:00:18.285 ******* 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.041845", "end": "2024-02-18 19:24:26.184368", "rc": 1, "start": "2024-02-18 19:24:26.142523" } 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_hotfixk0514j71/tests/playbooks/tests_states.yml:65 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.261) 0:00:18.547 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.039) 0:00:18.586 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.023) 0:00:18.610 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.046) 0:00:18.657 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.036) 0:00:18.694 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.062) 0:00:18.757 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003612", "end": "2024-02-18 19:24:26.613521", "rc": 0, "start": "2024-02-18 19:24:26.609909" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.220) 0:00:18.977 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.023) 0:00:19.001 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.024) 0:00:19.025 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.040) 0:00:19.065 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.038) 0:00:19.104 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.041) 0:00:19.145 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.028) 0:00:19.174 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.022) 0:00:19.196 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:26 +0000 (0:00:00.022) 0:00:19.219 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:28 +0000 (0:00:01.676) 0:00:20.895 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:30 +0000 (0:00:01.440) 0:00:22.335 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.023) 0:00:22.359 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.043) 0:00:22.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.023) 0:00:22.426 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.045) 0:00:22.472 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.023) 0:00:22.496 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.022) 0:00:22.518 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.028) 0:00:22.547 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.023) 0:00:22.571 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.023) 0:00:22.594 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.379) 0:00:22.974 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpveb0yk4d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:30 +0000 (0:00:00.314) 0:00:23.289 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.316) 0:00:23.605 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.022) 0:00:23.628 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.024) 0:00:23.652 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.049) 0:00:23.702 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.023) 0:00:23.726 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.209) 0:00:23.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 [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.025) 0:00:23.961 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.040) 0:00:24.002 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.043) 0:00:24.045 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.043) 0:00:24.089 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.028) 0:00:24.118 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.023) 0:00:24.141 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:31 +0000 (0:00:00.023) 0:00:24.164 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:33 +0000 (0:00:01.663) 0:00:25.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:34 +0000 (0:00:01.442) 0:00:27.270 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:34 +0000 (0:00:00.024) 0:00:27.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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:34 +0000 (0:00:00.024) 0:00:27.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.044) 0:00:27.364 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.046) 0:00:27.411 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.023) 0:00:27.435 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.024) 0:00:27.460 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.027) 0:00:27.487 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.022) 0:00:27.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.023) 0:00:27.533 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.383) 0:00:27.916 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmprqpe00yc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:35 +0000 (0:00:00.320) 0:00:28.237 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.610) 0:00:28.847 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.022) 0:00:28.870 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.053) 0:00:28.924 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.025) 0:00:28.950 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.023) 0:00:28.974 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.216) 0:00:29.190 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.049) 0:00:29.239 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:24:36 +0000 (0:00:00.040) 0:00:29.280 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708284276.3856325, "block_size": 4096, "blocks": 0, "ctime": 1708284276.3856325, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33440, "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": 1708284276.3856325, "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_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.218) 0:00:29.499 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.026) 0:00:29.526 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.041) 0:00:29.567 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.024) 0:00:29.592 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708284276.1963854, "block_size": 4096, "blocks": 8, "ctime": 1708284271.2423785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708284271.2423785, "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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.220) 0:00:29.812 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.056) 0:00:29.869 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022300", "end": "2024-02-18 19:24:37.746884", "rc": 1, "start": "2024-02-18 19:24:37.724584" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.241) 0:00:30.110 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:24:37 +0000 (0:00:00.026) 0:00:30.137 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003552", "end": "2024-02-18 19:24:37.998682", "rc": 0, "start": "2024-02-18 19:24:37.995130" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.226) 0:00:30.364 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.029) 0:00:30.393 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003556", "end": "2024-02-18 19:24:38.255070", "rc": 0, "start": "2024-02-18 19:24:38.251514" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.226) 0:00:30.620 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.029) 0:00:30.649 ******* 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_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.027) 0:00:30.676 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.027) 0:00:30.704 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.026) 0:00:30.731 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.022) 0:00:30.753 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.024) 0:00:30.778 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.044) 0:00:30.822 ******* 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.048888", "end": "2024-02-18 19:24:38.723115", "rc": 0, "start": "2024-02-18 19:24:38.674227" } 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_hotfixk0514j71/tests/playbooks/tests_states.yml:83 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.263) 0:00:31.086 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.041) 0:00:31.127 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.024) 0:00:31.151 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.052) 0:00:31.204 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.039) 0:00:31.244 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:24:38 +0000 (0:00:00.038) 0:00:31.282 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003384", "end": "2024-02-18 19:24:39.136484", "rc": 0, "start": "2024-02-18 19:24:39.133100" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.217) 0:00:31.499 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.026) 0:00:31.526 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.024) 0:00:31.550 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.046) 0:00:31.596 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.068) 0:00:31.664 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.044) 0:00:31.709 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.030) 0:00:31.740 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.025) 0:00:31.765 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:39 +0000 (0:00:00.024) 0:00:31.789 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:41 +0000 (0:00:01.675) 0:00:33.465 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:42 +0000 (0:00:01.485) 0:00:34.951 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.025) 0:00:34.976 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.024) 0:00:35.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.023) 0:00:35.024 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.046) 0:00:35.071 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.024) 0:00:35.095 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.022) 0:00:35.118 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.026) 0:00:35.144 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.022) 0:00:35.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:42 +0000 (0:00:00.022) 0:00:35.190 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.387) 0:00:35.578 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpp_slao4e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.319) 0:00:35.897 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.322) 0:00:36.219 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.024) 0:00:36.244 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.026) 0:00:36.271 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.026) 0:00:36.298 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:43 +0000 (0:00:00.024) 0:00:36.322 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.212) 0:00:36.534 ******* 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_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.024) 0:00:36.559 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.038) 0:00:36.598 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.066) 0:00:36.665 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.029) 0:00:36.694 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.022) 0:00:36.717 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:44 +0000 (0:00:00.023) 0:00:36.741 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:46 +0000 (0:00:01.683) 0:00:38.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:47 +0000 (0:00:01.442) 0:00:39.867 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.024) 0:00:39.891 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.023) 0:00:39.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.022) 0:00:39.937 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.045) 0:00:39.983 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.023) 0:00:40.006 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.022) 0:00:40.029 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.028) 0:00:40.057 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.022) 0:00:40.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:47 +0000 (0:00:00.022) 0:00:40.102 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:48 +0000 (0:00:00.383) 0:00:40.486 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmph1kt1yxn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:48 +0000 (0:00:00.321) 0:00:40.808 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.616) 0:00:41.424 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.022) 0:00:41.447 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.025) 0:00:41.472 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.025) 0:00:41.498 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.022) 0:00:41.521 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.213) 0:00:41.734 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove_profile.yml:3 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.042) 0:00:41.777 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.042) 0:00:41.819 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.069) 0:00:41.889 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.028) 0:00:41.918 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.023) 0:00:41.941 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:49 +0000 (0:00:00.023) 0:00:41.964 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:51 +0000 (0:00:01.679) 0:00:43.644 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:52 +0000 (0:00:01.463) 0:00:45.108 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.024) 0:00:45.132 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.023) 0:00:45.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.022) 0:00:45.178 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.046) 0:00:45.225 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.023) 0:00:45.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.022) 0:00:45.271 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.026) 0:00:45.298 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:52 +0000 (0:00:00.023) 0:00:45.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:53 +0000 (0:00:00.022) 0:00:45.343 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:24:53 +0000 (0:00:00.385) 0:00:45.729 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmp0779slhm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:24:53 +0000 (0:00:00.325) 0:00:46.054 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.392) 0:00:46.447 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.023) 0:00:46.471 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.024) 0:00:46.496 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.025) 0:00:46.522 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.023) 0:00:46.545 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.213) 0:00:46.759 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.046) 0:00:46.805 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.038) 0:00:46.844 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708284288.9619472, "block_size": 4096, "blocks": 0, "ctime": 1708284288.9619472, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33571, "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": 1708284288.9619472, "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_hotfixk0514j71/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.218) 0:00:47.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.024) 0:00:47.088 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.039) 0:00:47.127 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:24:54 +0000 (0:00:00.023) 0:00:47.151 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.217) 0:00:47.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.023) 0:00:47.391 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021835", "end": "2024-02-18 19:24:55.270217", "rc": 1, "start": "2024-02-18 19:24:55.248382" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.242) 0:00:47.634 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.024) 0:00:47.658 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.024) 0:00:47.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.024) 0:00:47.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.024) 0:00:47.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.024) 0:00:47.757 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.025) 0:00:47.783 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.021) 0:00:47.805 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.023) 0:00:47.829 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.044) 0:00:47.873 ******* 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.048387", "end": "2024-02-18 19:24:55.776715", "rc": 0, "start": "2024-02-18 19:24:55.728328" } 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_hotfixk0514j71/tests/playbooks/tests_states.yml:103 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.267) 0:00:48.141 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.068) 0:00:48.209 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.023) 0:00:48.233 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.048) 0:00:48.282 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:24:55 +0000 (0:00:00.038) 0:00:48.320 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.036) 0:00:48.357 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003679", "end": "2024-02-18 19:24:56.211657", "rc": 0, "start": "2024-02-18 19:24:56.207978" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.217) 0:00:48.575 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.024) 0:00:48.599 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.024) 0:00:48.623 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.048) 0:00:48.672 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.037) 0:00:48.710 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.077) 0:00:48.787 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.029) 0:00:48.817 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.023) 0:00:48.840 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:24:56 +0000 (0:00:00.022) 0:00:48.863 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:24:58 +0000 (0:00:01.644) 0:00:50.507 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:24:59 +0000 (0:00:01.435) 0:00:51.943 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.024) 0:00:51.967 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.023) 0:00:51.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.024) 0:00:52.015 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.046) 0:00:52.062 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.025) 0:00:52.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.024) 0:00:52.111 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.027) 0:00:52.138 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.024) 0:00:52.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:24:59 +0000 (0:00:00.023) 0:00:52.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.385) 0:00:52.573 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpvtirv1os" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.328) 0:00:52.901 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.325) 0:00:53.227 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.023) 0:00:53.250 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.025) 0:00:53.276 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.024) 0:00:53.301 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:00 +0000 (0:00:00.024) 0:00:53.325 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.211) 0:00:53.537 ******* 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_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.026) 0:00:53.563 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.039) 0:00:53.602 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.043) 0:00:53.646 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.030) 0:00:53.676 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.058) 0:00:53.735 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:01 +0000 (0:00:00.024) 0:00:53.759 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:03 +0000 (0:00:01.640) 0:00:55.400 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:04 +0000 (0:00:01.438) 0:00:56.838 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.024) 0:00:56.863 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.046) 0:00:56.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.024) 0:00:56.934 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.044) 0:00:56.979 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.023) 0:00:57.003 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.023) 0:00:57.026 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.026) 0:00:57.052 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.024) 0:00:57.077 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:04 +0000 (0:00:00.023) 0:00:57.100 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:05 +0000 (0:00:00.383) 0:00:57.484 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpkd5vc2ou" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:05 +0000 (0:00:00.322) 0:00:57.806 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.606) 0:00:58.413 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.051) 0:00:58.464 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.025) 0:00:58.489 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.025) 0:00:58.515 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.023) 0:00:58.539 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove_profile.yml:3 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.213) 0:00:58.752 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.039) 0:00:58.792 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.043) 0:00:58.836 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.028) 0:00:58.864 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.023) 0:00:58.887 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:06 +0000 (0:00:00.023) 0:00:58.910 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:08 +0000 (0:00:01.691) 0:01:00.602 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:09 +0000 (0:00:01.446) 0:01:02.048 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.024) 0:01:02.073 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.023) 0:01:02.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.022) 0:01:02.119 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.070) 0:01:02.189 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.023) 0:01:02.213 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.022) 0:01:02.236 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.026) 0:01:02.262 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.023) 0:01:02.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:09 +0000 (0:00:00.022) 0:01:02.309 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:10 +0000 (0:00:00.385) 0:01:02.694 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmp5503e992" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:10 +0000 (0:00:00.325) 0:01:03.019 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.335) 0:01:03.354 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.023) 0:01:03.377 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.024) 0:01:03.402 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.025) 0:01:03.427 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.022) 0:01:03.450 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.214) 0:01:03.664 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.042) 0:01:03.707 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.043) 0:01:03.751 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.043) 0:01:03.795 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.029) 0:01:03.824 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.022) 0:01:03.847 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:11 +0000 (0:00:00.023) 0:01:03.871 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:13 +0000 (0:00:01.684) 0:01:05.555 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:14 +0000 (0:00:01.434) 0:01:06.989 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.024) 0:01:07.013 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.023) 0:01:07.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.022) 0:01:07.059 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.047) 0:01:07.107 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.051) 0:01:07.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.024) 0:01:07.183 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.028) 0:01:07.211 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.023) 0:01:07.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:14 +0000 (0:00:00.022) 0:01:07.257 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:15 +0000 (0:00:00.381) 0:01:07.639 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpp1ltzi5c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:15 +0000 (0:00:00.318) 0:01:07.958 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:15 +0000 (0:00:00.327) 0:01:08.285 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:15 +0000 (0:00:00.024) 0:01:08.309 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.025) 0:01:08.335 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.025) 0:01:08.361 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.023) 0:01:08.385 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.245) 0:01:08.630 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.044) 0:01:08.674 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.042) 0:01:08.717 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.025) 0:01:08.743 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.217) 0:01:08.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.023) 0:01:08.984 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021882", "end": "2024-02-18 19:25:16.861602", "rc": 1, "start": "2024-02-18 19:25:16.839720" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.240) 0:01:09.225 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.026) 0:01:09.251 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.025) 0:01:09.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.024) 0:01:09.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:25:16 +0000 (0:00:00.026) 0:01:09.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.025) 0:01:09.353 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.026) 0:01:09.379 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.060) 0:01:09.440 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.026) 0:01:09.466 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.045) 0:01:09.512 ******* 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.045256", "end": "2024-02-18 19:25:17.408150", "rc": 0, "start": "2024-02-18 19:25:17.362894" } 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_hotfixk0514j71/tests/playbooks/tests_states.yml:126 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.262) 0:01:09.774 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.042) 0:01:09.816 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.024) 0:01:09.841 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.053) 0:01:09.894 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.040) 0:01:09.934 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.038) 0:01:09.973 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003788", "end": "2024-02-18 19:25:17.834413", "rc": 0, "start": "2024-02-18 19:25:17.830625" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.225) 0:01:10.198 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.025) 0:01:10.224 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.058) 0:01:10.282 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:3 Sunday 18 February 2024 19:25:17 +0000 (0:00:00.049) 0:01:10.332 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:18 +0000 (0:00:00.040) 0:01:10.372 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:18 +0000 (0:00:00.045) 0:01:10.417 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:18 +0000 (0:00:00.030) 0:01:10.448 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:18 +0000 (0:00:00.024) 0:01:10.473 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:18 +0000 (0:00:00.024) 0:01:10.497 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:19 +0000 (0:00:01.727) 0:01:12.224 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:21 +0000 (0:00:01.451) 0:01:13.676 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.024) 0:01:13.701 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.022) 0:01:13.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.023) 0:01:13.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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.046) 0:01:13.794 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.022) 0:01:13.817 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.050) 0:01:13.868 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.027) 0:01:13.895 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.023) 0:01:13.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.023) 0:01:13.942 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:21 +0000 (0:00:00.389) 0:01:14.331 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpbb4xtmb_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.326) 0:01:14.657 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.322) 0:01:14.979 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.023) 0:01:15.002 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.025) 0:01:15.028 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.024) 0:01:15.053 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.022) 0:01:15.076 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/create_bridge_profile.yml:14 Sunday 18 February 2024 19:25:22 +0000 (0:00:00.211) 0:01:15.287 ******* 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_hotfixk0514j71/tests/playbooks/tasks/activate_profile.yml:3 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.055) 0:01:15.343 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.039) 0:01:15.382 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.043) 0:01:15.425 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.028) 0:01:15.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.024) 0:01:15.478 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:23 +0000 (0:00:00.023) 0:01:15.502 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:24 +0000 (0:00:01.683) 0:01:17.185 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:26 +0000 (0:00:01.461) 0:01:18.647 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.024) 0:01:18.671 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.023) 0:01:18.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.022) 0:01:18.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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.047) 0:01:18.765 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.023) 0:01:18.788 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.022) 0:01:18.811 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.026) 0:01:18.838 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.052) 0:01:18.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.023) 0:01:18.913 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:26 +0000 (0:00:00.378) 0:01:19.291 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpep8qc5if" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.314) 0:01:19.605 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.589) 0:01:20.195 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.023) 0:01:20.218 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.026) 0:01:20.245 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.026) 0:01:20.271 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:27 +0000 (0:00:00.022) 0:01:20.294 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.211) 0:01:20.505 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.065) 0:01:20.571 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.044) 0:01:20.616 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.029) 0:01:20.646 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.024) 0:01:20.670 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:28 +0000 (0:00:00.022) 0:01:20.693 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:30 +0000 (0:00:01.658) 0:01:22.351 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:31 +0000 (0:00:01.481) 0:01:23.833 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.027) 0:01:23.860 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.026) 0:01:23.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.025) 0:01:23.912 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.047) 0:01:23.959 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.023) 0:01:23.983 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.023) 0:01:24.006 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.026) 0:01:24.033 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.022) 0:01:24.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:31 +0000 (0:00:00.023) 0:01:24.079 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.384) 0:01:24.463 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpc_c1ro8m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.326) 0:01:24.790 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.341) 0:01:25.132 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.024) 0:01:25.156 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.025) 0:01:25.181 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.026) 0:01:25.207 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:32 +0000 (0:00:00.025) 0:01:25.233 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.212) 0:01:25.446 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/remove+down_profile.yml:3 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.044) 0:01:25.490 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.039) 0:01:25.530 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.083) 0:01:25.614 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.030) 0:01:25.645 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.025) 0:01:25.670 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 19:25:33 +0000 (0:00:00.024) 0:01:25.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 19:25:35 +0000 (0:00:01.702) 0:01:27.397 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 19:25:36 +0000 (0:00:01.452) 0:01:28.850 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.024) 0:01:28.874 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.022) 0:01:28.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.023) 0:01:28.920 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.045) 0:01:28.965 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.022) 0:01:28.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.023) 0:01:29.012 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.028) 0:01:29.040 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.022) 0:01:29.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 19:25:36 +0000 (0:00:00.023) 0:01:29.086 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.413) 0:01:29.500 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1859564k0sg90/tmpznxi505p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.324) 0:01:29.824 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.321) 0:01:30.145 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.022) 0:01:30.168 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.025) 0:01:30.194 ******* 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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.025) 0:01:30.219 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 19:25:37 +0000 (0:00:00.022) 0:01:30.242 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.212) 0:01:30.455 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.048) 0:01:30.503 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.040) 0:01:30.543 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:30.568 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.244) 0:01:30.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.023) 0:01:30.836 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022651", "end": "2024-02-18 19:25:38.712353", "rc": 1, "start": "2024-02-18 19:25:38.689702" } 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.239) 0:01:31.075 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:31.100 ******* 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_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:31.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:31.149 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:31.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.024) 0:01:31.198 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Sunday 18 February 2024 19:25:38 +0000 (0:00:00.026) 0:01:31.225 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.045979", "end": "2024-02-18 19:25:40.123593", "rc": 0, "start": "2024-02-18 19:25:39.077614" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Sunday 18 February 2024 19:25:40 +0000 (0:00:01.263) 0:01:32.488 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.061) 0:01:32.550 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.024) 0:01:32.574 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.028) 0:01:32.602 ******* 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_hotfixk0514j71/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.024) 0:01:32.627 ******* included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.048) 0:01:32.676 ******* 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.049161", "end": "2024-02-18 19:25:40.579133", "rc": 0, "start": "2024-02-18 19:25:40.529972" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.268) 0:01:32.945 ******* 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.010198", "end": "2024-02-18 19:25:40.806808", "rc": 0, "start": "2024-02-18 19:25:40.796610" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:54:42:dc:10:fd brd ff:ff:ff:ff:ff:ff inet 10.31.43.224/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2744sec preferred_lft 2744sec inet6 fe80::c54:42ff:fedc:10fd/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.224 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.224 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 19:25:40 +0000 (0:00:00.224) 0:01:33.170 ******* 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.358812", "end": "2024-02-18 19:25:41.389528", "rc": 0, "start": "2024-02-18 19:25:41.030716" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.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:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2401 0 --:--:-- --:--:-- --:--:-- 2401 % 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 1426 0 --:--:-- --:--:-- --:--:-- 1426 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Sunday 18 February 2024 19:25:41 +0000 (0:00:00.570) 0:01:33.740 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.42s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.06s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.72s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-nm_plugin_hotfixk0514j71/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_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.61s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-nm_plugin_hotfixk0514j71/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---