# 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_hotfixy6bs649d/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_hotfixy6bs649d/tests/tests_states_initscripts.yml:5 Monday 19 February 2024 23:58:25 +0000 (0:00:00.011) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tests_states_initscripts.yml:8 Monday 19 February 2024 23:58:25 +0000 (0:00:00.713) 0:00:00.725 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:58:25 +0000 (0:00:00.022) 0:00:00.747 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 23:58:26 +0000 (0:00:00.332) 0:00:01.080 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 23:58:26 +0000 (0:00:00.274) 0:00:01.354 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 23:58:26 +0000 (0:00:00.020) 0:00:01.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 23:58:26 +0000 (0:00:00.017) 0:00:01.391 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:58:26 +0000 (0:00:00.030) 0:00:01.421 ******* 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_hotfixy6bs649d/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:58:26 +0000 (0:00:00.246) 0:00:01.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:58:26 +0000 (0:00:00.011) 0:00:01.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:58:26 +0000 (0:00:00.010) 0:00:01.689 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247697", "end": "2024-02-19 23:58:27.342013", "rc": 0, "start": "2024-02-19 23:58:27.094316" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:58:27 +0000 (0:00:00.433) 0:00:02.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tests_states_initscripts.yml:10 Monday 19 February 2024 23:58:27 +0000 (0:00:00.010) 0:00:02.133 ******* 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 23:58:27 +0000 (0:00:00.024) 0:00:02.158 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 23:58:27 +0000 (0:00:00.504) 0:00:02.662 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 23:58:27 +0000 (0:00:00.010) 0:00:02.673 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:27 +0000 (0:00:00.016) 0:00:02.690 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:27 +0000 (0:00:00.011) 0:00:02.702 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:27 +0000 (0:00:00.036) 0:00:02.739 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:27 +0000 (0:00:00.015) 0:00:02.754 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.014) 0:00:02.768 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003178", "end": "2024-02-19 23:58:28.176817", "rc": 0, "start": "2024-02-19 23:58:28.173639" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:28 +0000 (0:00:00.188) 0:00:02.957 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:28 +0000 (0:00:00.011) 0:00:02.969 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:28 +0000 (0:00:00.010) 0:00:02.979 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.021) 0:00:03.001 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008158", "end": "2024-02-19 23:58:28.412163", "rc": 1, "start": "2024-02-19 23:58:28.404005" } 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_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.190) 0:00:03.191 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.016) 0:00:03.208 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:58:28 +0000 (0:00:00.185) 0:00:03.393 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:58:28 +0000 (0:00:00.013) 0:00:03.406 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.019) 0:00:03.426 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:28 +0000 (0:00:00.033) 0:00:03.460 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:28 +0000 (0:00:00.069) 0:00:03.530 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:28 +0000 (0:00:00.012) 0:00:03.542 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:28 +0000 (0:00:00.010) 0:00:03.553 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:28 +0000 (0:00:00.010) 0:00:03.563 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:58:30 +0000 (0:00:01.581) 0:00:05.145 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:58:31 +0000 (0:00:01.503) 0:00:06.649 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:58:31 +0000 (0:00:00.043) 0:00:06.692 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:58:31 +0000 (0:00:00.031) 0:00:06.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:58:32 +0000 (0:00:00.043) 0:00:06.768 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:58:32 +0000 (0:00:00.047) 0:00:06.816 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:58:32 +0000 (0:00:00.023) 0:00:06.839 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:58:32 +0000 (0:00:00.028) 0:00:06.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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:58:32 +0000 (0:00:00.025) 0:00:06.894 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:58:32 +0000 (0:00:00.022) 0:00:06.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:58:32 +0000 (0:00:00.021) 0:00:06.938 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:58:32 +0000 (0:00:00.473) 0:00:07.411 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp57q4gcy4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:58:32 +0000 (0:00:00.298) 0:00:07.710 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:58:33 +0000 (0:00:00.429) 0:00:08.139 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:58:33 +0000 (0:00:00.023) 0:00:08.162 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:58:33 +0000 (0:00:00.025) 0:00:08.188 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:58:33 +0000 (0:00:00.027) 0:00:08.216 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:58:33 +0000 (0:00:00.024) 0:00:08.240 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:58:33 +0000 (0:00:00.268) 0:00:08.509 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:58:33 +0000 (0:00:00.071) 0:00:08.581 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:58:33 +0000 (0:00:00.063) 0:00:08.644 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:58:33 +0000 (0:00:00.041) 0:00:08.686 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:58:33 +0000 (0:00:00.022) 0:00:08.708 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387113.3475614, "block_size": 4096, "blocks": 8, "ctime": 1708387113.3485613, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387113.3485613, "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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:58:34 +0000 (0:00:00.195) 0:00:08.904 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:58:34 +0000 (0:00:00.024) 0:00:08.929 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021330", "end": "2024-02-19 23:58:34.355406", "rc": 1, "start": "2024-02-19 23:58:34.334076" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:58:34 +0000 (0:00:00.217) 0:00:09.146 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:58:34 +0000 (0:00:00.024) 0:00:09.170 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002971", "end": "2024-02-19 23:58:34.580854", "rc": 0, "start": "2024-02-19 23:58:34.577883" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:58:34 +0000 (0:00:00.203) 0:00:09.374 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:58:34 +0000 (0:00:00.028) 0:00:09.402 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003031", "end": "2024-02-19 23:58:34.810939", "rc": 0, "start": "2024-02-19 23:58:34.807908" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:58:34 +0000 (0:00:00.201) 0:00:09.604 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:58:34 +0000 (0:00:00.027) 0:00:09.631 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:58:34 +0000 (0:00:00.023) 0:00:09.655 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:58:34 +0000 (0:00:00.025) 0:00:09.680 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:58:34 +0000 (0:00:00.022) 0:00:09.703 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:58:34 +0000 (0:00:00.025) 0:00:09.729 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:58:34 +0000 (0:00:00.024) 0:00:09.753 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:58:35 +0000 (0:00:00.042) 0:00:09.796 ******* 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.040844", "end": "2024-02-19 23:58:35.241955", "rc": 1, "start": "2024-02-19 23:58:35.201111" } 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 23:58:35 +0000 (0:00:00.268) 0:00:10.065 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:35 +0000 (0:00:00.038) 0:00:10.103 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:35 +0000 (0:00:00.023) 0:00:10.127 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:35 +0000 (0:00:00.045) 0:00:10.173 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:35 +0000 (0:00:00.037) 0:00:10.210 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:35 +0000 (0:00:00.038) 0:00:10.248 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003093", "end": "2024-02-19 23:58:35.655810", "rc": 0, "start": "2024-02-19 23:58:35.652717" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:35 +0000 (0:00:00.198) 0:00:10.447 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:35 +0000 (0:00:00.023) 0:00:10.471 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:35 +0000 (0:00:00.025) 0:00:10.496 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:58:35 +0000 (0:00:00.044) 0:00:10.541 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006402", "end": "2024-02-19 23:58:35.953103", "rc": 1, "start": "2024-02-19 23:58:35.946701" } 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_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:58:35 +0000 (0:00:00.211) 0:00:10.753 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:36 +0000 (0:00:00.074) 0:00:10.827 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:58:36 +0000 (0:00:00.194) 0:00:11.022 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:58:36 +0000 (0:00:00.031) 0:00:11.054 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 23:58:36 +0000 (0:00:00.044) 0:00:11.098 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:36 +0000 (0:00:00.048) 0:00:11.147 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:36 +0000 (0:00:00.046) 0:00:11.194 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:36 +0000 (0:00:00.033) 0:00:11.228 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:36 +0000 (0:00:00.024) 0:00:11.252 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:36 +0000 (0:00:00.023) 0:00:11.275 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:58:38 +0000 (0:00:01.521) 0:00:12.797 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:58:39 +0000 (0:00:01.305) 0:00:14.102 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:58:39 +0000 (0:00:00.027) 0:00:14.129 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:58:39 +0000 (0:00:00.025) 0:00:14.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:58:39 +0000 (0:00:00.023) 0:00:14.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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:58:39 +0000 (0:00:00.044) 0:00:14.222 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:58:39 +0000 (0:00:00.049) 0:00:14.272 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:58:39 +0000 (0:00:00.024) 0:00:14.297 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:58:39 +0000 (0:00:00.029) 0:00:14.326 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:58:39 +0000 (0:00:00.023) 0:00:14.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:58:39 +0000 (0:00:00.023) 0:00:14.373 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:58:39 +0000 (0:00:00.348) 0:00:14.721 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpmjvmwl9g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:58:40 +0000 (0:00:00.295) 0:00:15.016 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:58:40 +0000 (0:00:00.296) 0:00:15.312 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:58:40 +0000 (0:00:00.022) 0:00:15.334 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:58:40 +0000 (0:00:00.031) 0:00:15.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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:58:40 +0000 (0:00:00.025) 0:00:15.392 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:58:40 +0000 (0:00:00.021) 0:00:15.414 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 23:58:40 +0000 (0:00:00.210) 0:00:15.624 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:58:40 +0000 (0:00:00.054) 0:00:15.678 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:58:40 +0000 (0:00:00.047) 0:00:15.726 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:41 +0000 (0:00:00.044) 0:00:15.770 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:58:41 +0000 (0:00:00.214) 0:00:15.984 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:58:41 +0000 (0:00:00.024) 0:00:16.009 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:58:41 +0000 (0:00:00.039) 0:00:16.049 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:58:41 +0000 (0:00:00.024) 0:00:16.073 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387120.5195377, "block_size": 4096, "blocks": 8, "ctime": 1708387120.5195377, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387120.5195377, "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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:58:41 +0000 (0:00:00.196) 0:00:16.270 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:58:41 +0000 (0:00:00.024) 0:00:16.294 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020567", "end": "2024-02-19 23:58:41.720421", "rc": 1, "start": "2024-02-19 23:58:41.699854" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:58:41 +0000 (0:00:00.216) 0:00:16.511 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:58:41 +0000 (0:00:00.023) 0:00:16.535 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003149", "end": "2024-02-19 23:58:41.946300", "rc": 0, "start": "2024-02-19 23:58:41.943151" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:58:41 +0000 (0:00:00.220) 0:00:16.755 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:58:42 +0000 (0:00:00.029) 0:00:16.785 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002894", "end": "2024-02-19 23:58:42.195833", "rc": 0, "start": "2024-02-19 23:58:42.192939" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:58:42 +0000 (0:00:00.205) 0:00:16.990 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:58:42 +0000 (0:00:00.028) 0:00:17.019 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:58:42 +0000 (0:00:00.024) 0:00:17.043 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:58:42 +0000 (0:00:00.026) 0:00:17.070 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:58:42 +0000 (0:00:00.024) 0:00:17.095 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:58:42 +0000 (0:00:00.020) 0:00:17.115 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:58:42 +0000 (0:00:00.023) 0:00:17.138 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:58:42 +0000 (0:00:00.042) 0:00:17.181 ******* 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.039621", "end": "2024-02-19 23:58:42.625649", "rc": 1, "start": "2024-02-19 23:58:42.586028" } 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 23:58:42 +0000 (0:00:00.235) 0:00:17.416 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:42 +0000 (0:00:00.037) 0:00:17.454 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:42 +0000 (0:00:00.048) 0:00:17.502 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:42 +0000 (0:00:00.047) 0:00:17.550 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:42 +0000 (0:00:00.036) 0:00:17.586 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:42 +0000 (0:00:00.037) 0:00:17.624 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-02-19 23:58:43.033246", "rc": 0, "start": "2024-02-19 23:58:43.029926" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:43 +0000 (0:00:00.201) 0:00:17.825 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:43 +0000 (0:00:00.025) 0:00:17.851 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:43 +0000 (0:00:00.033) 0:00:17.885 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:58:43 +0000 (0:00:00.046) 0:00:17.931 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:43 +0000 (0:00:00.043) 0:00:17.975 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:43 +0000 (0:00:00.045) 0:00:18.020 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:43 +0000 (0:00:00.051) 0:00:18.072 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:43 +0000 (0:00:00.050) 0:00:18.123 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:43 +0000 (0:00:00.022) 0:00:18.145 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:58:44 +0000 (0:00:01.532) 0:00:19.677 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:58:46 +0000 (0:00:01.306) 0:00:20.984 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:58:46 +0000 (0:00:00.024) 0:00:21.008 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:58:46 +0000 (0:00:00.041) 0:00:21.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:58:46 +0000 (0:00:00.022) 0:00:21.072 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:58:46 +0000 (0:00:00.045) 0:00:21.118 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:58:46 +0000 (0:00:00.022) 0:00:21.140 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:58:46 +0000 (0:00:00.021) 0:00:21.162 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:58:46 +0000 (0:00:00.025) 0:00:21.188 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:58:46 +0000 (0:00:00.024) 0:00:21.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:58:46 +0000 (0:00:00.022) 0:00:21.235 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:58:46 +0000 (0:00:00.344) 0:00:21.579 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp0hgdt2q2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:58:47 +0000 (0:00:00.298) 0:00:21.878 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:58:47 +0000 (0:00:00.292) 0:00:22.170 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:58:47 +0000 (0:00:00.022) 0:00:22.192 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:58:47 +0000 (0:00:00.031) 0:00:22.224 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:58:47 +0000 (0:00:00.053) 0:00:22.277 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:58:47 +0000 (0:00:00.035) 0:00:22.313 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:58:47 +0000 (0:00:00.196) 0:00:22.509 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:58:47 +0000 (0:00:00.026) 0:00:22.535 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.041) 0:00:22.577 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:47 +0000 (0:00:00.042) 0:00:22.620 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.041) 0:00:22.661 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:47 +0000 (0:00:00.028) 0:00:22.690 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:47 +0000 (0:00:00.022) 0:00:22.713 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:47 +0000 (0:00:00.025) 0:00:22.738 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:58:49 +0000 (0:00:01.536) 0:00:24.275 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:58:50 +0000 (0:00:01.309) 0:00:25.584 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:58:50 +0000 (0:00:00.026) 0:00:25.610 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:58:50 +0000 (0:00:00.031) 0:00:25.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:58:50 +0000 (0:00:00.022) 0:00:25.665 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:58:50 +0000 (0:00:00.045) 0:00:25.710 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:58:50 +0000 (0:00:00.022) 0:00:25.733 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:58:51 +0000 (0:00:00.044) 0:00:25.778 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:58:51 +0000 (0:00:00.025) 0:00:25.804 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:58:51 +0000 (0:00:00.022) 0:00:25.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:58:51 +0000 (0:00:00.024) 0:00:25.850 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:58:51 +0000 (0:00:00.350) 0:00:26.201 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp8rz07_zw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:58:51 +0000 (0:00:00.296) 0:00:26.498 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:58:52 +0000 (0:00:00.570) 0:00:27.069 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:58:52 +0000 (0:00:00.023) 0:00:27.092 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:58:52 +0000 (0:00:00.038) 0:00:27.131 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:58:52 +0000 (0:00:00.030) 0:00:27.161 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:58:52 +0000 (0:00:00.024) 0:00:27.186 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:58:52 +0000 (0:00:00.216) 0:00:27.402 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:58:52 +0000 (0:00:00.048) 0:00:27.451 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:52 +0000 (0:00:00.041) 0:00:27.492 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387132.1811602, "block_size": 4096, "blocks": 0, "ctime": 1708387132.1811602, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33107, "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": 1708387132.1811602, "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_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:58:52 +0000 (0:00:00.198) 0:00:27.691 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:58:52 +0000 (0:00:00.024) 0:00:27.715 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:58:52 +0000 (0:00:00.040) 0:00:27.756 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:58:53 +0000 (0:00:00.023) 0:00:27.780 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387131.9985, "block_size": 4096, "blocks": 8, "ctime": 1708387127.3785152, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387127.3785152, "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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:58:53 +0000 (0:00:00.197) 0:00:27.977 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:58:53 +0000 (0:00:00.027) 0:00:28.005 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020998", "end": "2024-02-19 23:58:53.429542", "rc": 1, "start": "2024-02-19 23:58:53.408544" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:58:53 +0000 (0:00:00.235) 0:00:28.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:58:53 +0000 (0:00:00.035) 0:00:28.276 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003079", "end": "2024-02-19 23:58:53.687546", "rc": 0, "start": "2024-02-19 23:58:53.684467" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:58:53 +0000 (0:00:00.249) 0:00:28.526 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:58:53 +0000 (0:00:00.029) 0:00:28.555 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003101", "end": "2024-02-19 23:58:53.965335", "rc": 0, "start": "2024-02-19 23:58:53.962234" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:58:54 +0000 (0:00:00.206) 0:00:28.762 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:58:54 +0000 (0:00:00.029) 0:00:28.791 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:58:54 +0000 (0:00:00.026) 0:00:28.818 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:58:54 +0000 (0:00:00.025) 0:00:28.843 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:58:54 +0000 (0:00:00.023) 0:00:28.867 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:58:54 +0000 (0:00:00.021) 0:00:28.888 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:58:54 +0000 (0:00:00.024) 0:00:28.913 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:58:54 +0000 (0:00:00.045) 0:00:28.959 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045446", "end": "2024-02-19 23:58:54.424940", "rc": 0, "start": "2024-02-19 23:58:54.379494" } 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 23:58:54 +0000 (0:00:00.261) 0:00:29.220 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:54 +0000 (0:00:00.038) 0:00:29.258 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:54 +0000 (0:00:00.023) 0:00:29.282 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:54 +0000 (0:00:00.069) 0:00:29.351 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:54 +0000 (0:00:00.038) 0:00:29.390 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:54 +0000 (0:00:00.037) 0:00:29.427 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003281", "end": "2024-02-19 23:58:54.838373", "rc": 0, "start": "2024-02-19 23:58:54.835092" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:54 +0000 (0:00:00.203) 0:00:29.631 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:54 +0000 (0:00:00.024) 0:00:29.655 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:54 +0000 (0:00:00.024) 0:00:29.679 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:58:54 +0000 (0:00:00.042) 0:00:29.722 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:55 +0000 (0:00:00.040) 0:00:29.763 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.047) 0:00:29.811 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:55 +0000 (0:00:00.041) 0:00:29.852 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:55 +0000 (0:00:00.024) 0:00:29.876 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:55 +0000 (0:00:00.061) 0:00:29.938 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:58:56 +0000 (0:00:01.522) 0:00:31.460 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:58:58 +0000 (0:00:01.302) 0:00:32.763 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:58:58 +0000 (0:00:00.049) 0:00:32.812 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:58:58 +0000 (0:00:00.023) 0:00:32.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:58:58 +0000 (0:00:00.023) 0:00:32.859 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:58:58 +0000 (0:00:00.057) 0:00:32.917 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:58:58 +0000 (0:00:00.026) 0:00:32.944 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:58:58 +0000 (0:00:00.026) 0:00:32.971 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:58:58 +0000 (0:00:00.036) 0:00:33.007 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:58:58 +0000 (0:00:00.023) 0:00:33.030 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:58:58 +0000 (0:00:00.026) 0:00:33.056 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:58:58 +0000 (0:00:00.349) 0:00:33.406 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp733z6w4t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:58:58 +0000 (0:00:00.297) 0:00:33.704 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:58:59 +0000 (0:00:00.288) 0:00:33.993 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:58:59 +0000 (0:00:00.022) 0:00:34.016 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:58:59 +0000 (0:00:00.052) 0:00:34.068 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:58:59 +0000 (0:00:00.024) 0:00:34.093 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:58:59 +0000 (0:00:00.022) 0:00:34.115 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:58:59 +0000 (0:00:00.194) 0:00:34.310 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:58:59 +0000 (0:00:00.026) 0:00:34.337 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:58:59 +0000 (0:00:00.051) 0:00:34.389 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:59 +0000 (0:00:00.046) 0:00:34.436 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:58:59 +0000 (0:00:00.031) 0:00:34.467 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:58:59 +0000 (0:00:00.024) 0:00:34.491 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:58:59 +0000 (0:00:00.023) 0:00:34.514 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:01 +0000 (0:00:01.552) 0:00:36.067 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:02 +0000 (0:00:01.347) 0:00:37.414 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:02 +0000 (0:00:00.026) 0:00:37.440 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:02 +0000 (0:00:00.027) 0:00:37.468 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:02 +0000 (0:00:00.050) 0:00:37.519 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:02 +0000 (0:00:00.074) 0:00:37.593 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:02 +0000 (0:00:00.024) 0:00:37.617 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:02 +0000 (0:00:00.024) 0:00:37.642 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:02 +0000 (0:00:00.028) 0:00:37.670 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:02 +0000 (0:00:00.052) 0:00:37.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:02 +0000 (0:00:00.023) 0:00:37.746 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:03 +0000 (0:00:00.352) 0:00:38.099 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpvjvqmio9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:03 +0000 (0:00:00.299) 0:00:38.398 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:04 +0000 (0:00:00.562) 0:00:38.961 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:04 +0000 (0:00:00.023) 0:00:38.984 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:04 +0000 (0:00:00.024) 0:00:39.009 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:04 +0000 (0:00:00.030) 0:00:39.039 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:04 +0000 (0:00:00.022) 0:00:39.062 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:04 +0000 (0:00:00.201) 0:00:39.264 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:59:04 +0000 (0:00:00.068) 0:00:39.333 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:04 +0000 (0:00:00.042) 0:00:39.375 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:04 +0000 (0:00:00.042) 0:00:39.418 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:04 +0000 (0:00:00.029) 0:00:39.447 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:04 +0000 (0:00:00.041) 0:00:39.488 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:04 +0000 (0:00:00.026) 0:00:39.515 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:06 +0000 (0:00:01.564) 0:00:41.079 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:07 +0000 (0:00:01.346) 0:00:42.426 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:07 +0000 (0:00:00.023) 0:00:42.450 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:07 +0000 (0:00:00.022) 0:00:42.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:07 +0000 (0:00:00.024) 0:00:42.496 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:07 +0000 (0:00:00.045) 0:00:42.542 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:07 +0000 (0:00:00.025) 0:00:42.568 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:07 +0000 (0:00:00.022) 0:00:42.591 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:07 +0000 (0:00:00.027) 0:00:42.618 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:07 +0000 (0:00:00.022) 0:00:42.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:07 +0000 (0:00:00.029) 0:00:42.670 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:08 +0000 (0:00:00.413) 0:00:43.083 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp1rkyw3_k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:08 +0000 (0:00:00.315) 0:00:43.399 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:08 +0000 (0:00:00.308) 0:00:43.708 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:08 +0000 (0:00:00.024) 0:00:43.733 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:08 +0000 (0:00:00.027) 0:00:43.760 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:09 +0000 (0:00:00.027) 0:00:43.788 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:09 +0000 (0:00:00.026) 0:00:43.814 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:09 +0000 (0:00:00.203) 0:00:44.017 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.046) 0:00:44.064 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.045) 0:00:44.109 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387144.0763326, "block_size": 4096, "blocks": 0, "ctime": 1708387144.0763326, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33238, "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": 1708387144.0763326, "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_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:59:09 +0000 (0:00:00.204) 0:00:44.314 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.049) 0:00:44.363 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.039) 0:00:44.403 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:09 +0000 (0:00:00.024) 0:00:44.427 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:09 +0000 (0:00:00.204) 0:00:44.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:09 +0000 (0:00:00.022) 0:00:44.654 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021793", "end": "2024-02-19 23:59:10.087878", "rc": 1, "start": "2024-02-19 23:59:10.066085" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:10 +0000 (0:00:00.225) 0:00:44.880 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:10 +0000 (0:00:00.025) 0:00:44.906 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:10 +0000 (0:00:00.023) 0:00:44.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:10 +0000 (0:00:00.025) 0:00:44.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:10 +0000 (0:00:00.023) 0:00:44.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:59:10 +0000 (0:00:00.023) 0:00:45.002 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:10 +0000 (0:00:00.026) 0:00:45.029 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:10 +0000 (0:00:00.021) 0:00:45.050 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:10 +0000 (0:00:00.023) 0:00:45.073 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:10 +0000 (0:00:00.069) 0:00:45.143 ******* 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.049439", "end": "2024-02-19 23:59:10.600948", "rc": 0, "start": "2024-02-19 23:59:10.551509" } 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 23:59:10 +0000 (0:00:00.252) 0:00:45.396 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:10 +0000 (0:00:00.039) 0:00:45.435 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:10 +0000 (0:00:00.023) 0:00:45.459 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:10 +0000 (0:00:00.050) 0:00:45.509 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:10 +0000 (0:00:00.038) 0:00:45.548 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:10 +0000 (0:00:00.035) 0:00:45.584 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003297", "end": "2024-02-19 23:59:10.993116", "rc": 0, "start": "2024-02-19 23:59:10.989819" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:11 +0000 (0:00:00.211) 0:00:45.795 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:11 +0000 (0:00:00.027) 0:00:45.823 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:11 +0000 (0:00:00.031) 0:00:45.854 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:11 +0000 (0:00:00.082) 0:00:45.936 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:11 +0000 (0:00:00.039) 0:00:45.976 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:11 +0000 (0:00:00.041) 0:00:46.017 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:11 +0000 (0:00:00.027) 0:00:46.045 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:11 +0000 (0:00:00.021) 0:00:46.067 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:11 +0000 (0:00:00.022) 0:00:46.089 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:12 +0000 (0:00:01.511) 0:00:47.601 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:14 +0000 (0:00:01.344) 0:00:48.945 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:14 +0000 (0:00:00.026) 0:00:48.972 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:14 +0000 (0:00:00.027) 0:00:48.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:14 +0000 (0:00:00.022) 0:00:49.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:14 +0000 (0:00:00.045) 0:00:49.067 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:14 +0000 (0:00:00.023) 0:00:49.091 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:14 +0000 (0:00:00.022) 0:00:49.113 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:14 +0000 (0:00:00.026) 0:00:49.140 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:14 +0000 (0:00:00.022) 0:00:49.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:14 +0000 (0:00:00.022) 0:00:49.184 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:14 +0000 (0:00:00.348) 0:00:49.533 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpg9c8s2u4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:15 +0000 (0:00:00.298) 0:00:49.831 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:15 +0000 (0:00:00.295) 0:00:50.126 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:15 +0000 (0:00:00.036) 0:00:50.162 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:15 +0000 (0:00:00.038) 0:00:50.201 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:15 +0000 (0:00:00.029) 0:00:50.231 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:15 +0000 (0:00:00.033) 0:00:50.264 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:59:15 +0000 (0:00:00.195) 0:00:50.460 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:59:15 +0000 (0:00:00.026) 0:00:50.486 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:15 +0000 (0:00:00.037) 0:00:50.524 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:15 +0000 (0:00:00.043) 0:00:50.568 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:15 +0000 (0:00:00.082) 0:00:50.650 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:15 +0000 (0:00:00.029) 0:00:50.680 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:15 +0000 (0:00:00.033) 0:00:50.713 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:17 +0000 (0:00:01.544) 0:00:52.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:18 +0000 (0:00:01.328) 0:00:53.585 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:18 +0000 (0:00:00.024) 0:00:53.610 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:18 +0000 (0:00:00.022) 0:00:53.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:18 +0000 (0:00:00.026) 0:00:53.659 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:18 +0000 (0:00:00.057) 0:00:53.717 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:18 +0000 (0:00:00.030) 0:00:53.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:19 +0000 (0:00:00.034) 0:00:53.782 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:19 +0000 (0:00:00.026) 0:00:53.809 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:19 +0000 (0:00:00.022) 0:00:53.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:19 +0000 (0:00:00.022) 0:00:53.854 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:19 +0000 (0:00:00.349) 0:00:54.203 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp_qcu9k91" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:19 +0000 (0:00:00.294) 0:00:54.497 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:20 +0000 (0:00:00.584) 0:00:55.082 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:20 +0000 (0:00:00.024) 0:00:55.106 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:20 +0000 (0:00:00.025) 0:00:55.132 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:20 +0000 (0:00:00.026) 0:00:55.159 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:20 +0000 (0:00:00.030) 0:00:55.190 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:59:20 +0000 (0:00:00.198) 0:00:55.389 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:20 +0000 (0:00:00.039) 0:00:55.428 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:20 +0000 (0:00:00.047) 0:00:55.476 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:20 +0000 (0:00:00.028) 0:00:55.504 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:20 +0000 (0:00:00.023) 0:00:55.528 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:20 +0000 (0:00:00.022) 0:00:55.551 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:22 +0000 (0:00:01.544) 0:00:57.095 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:23 +0000 (0:00:01.306) 0:00:58.402 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:23 +0000 (0:00:00.023) 0:00:58.425 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:23 +0000 (0:00:00.021) 0:00:58.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:23 +0000 (0:00:00.022) 0:00:58.470 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:23 +0000 (0:00:00.067) 0:00:58.538 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:23 +0000 (0:00:00.022) 0:00:58.560 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:23 +0000 (0:00:00.022) 0:00:58.583 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:23 +0000 (0:00:00.026) 0:00:58.609 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:23 +0000 (0:00:00.022) 0:00:58.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:23 +0000 (0:00:00.022) 0:00:58.655 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:24 +0000 (0:00:00.344) 0:00:58.999 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpnfd8ohoe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:24 +0000 (0:00:00.295) 0:00:59.295 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:24 +0000 (0:00:00.297) 0:00:59.593 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:24 +0000 (0:00:00.022) 0:00:59.615 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:24 +0000 (0:00:00.022) 0:00:59.638 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:24 +0000 (0:00:00.023) 0:00:59.661 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:24 +0000 (0:00:00.021) 0:00:59.683 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:25 +0000 (0:00:00.216) 0:00:59.899 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:59:25 +0000 (0:00:00.041) 0:00:59.940 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:25 +0000 (0:00:00.042) 0:00:59.983 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:25 +0000 (0:00:00.044) 0:01:00.027 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:25 +0000 (0:00:00.030) 0:01:00.058 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:25 +0000 (0:00:00.023) 0:01:00.081 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:25 +0000 (0:00:00.021) 0:01:00.103 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:26 +0000 (0:00:01.537) 0:01:01.641 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:28 +0000 (0:00:01.301) 0:01:02.942 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:28 +0000 (0:00:00.025) 0:01:02.968 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:28 +0000 (0:00:00.024) 0:01:02.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:28 +0000 (0:00:00.025) 0:01:03.018 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:28 +0000 (0:00:00.050) 0:01:03.069 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:28 +0000 (0:00:00.022) 0:01:03.091 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:28 +0000 (0:00:00.022) 0:01:03.114 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:28 +0000 (0:00:00.025) 0:01:03.139 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:28 +0000 (0:00:00.022) 0:01:03.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:28 +0000 (0:00:00.047) 0:01:03.208 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:28 +0000 (0:00:00.342) 0:01:03.551 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpzt0fidrp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:29 +0000 (0:00:00.292) 0:01:03.843 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:29 +0000 (0:00:00.288) 0:01:04.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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:29 +0000 (0:00:00.024) 0:01:04.156 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:29 +0000 (0:00:00.024) 0:01:04.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": 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:29 +0000 (0:00:00.025) 0:01:04.207 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:29 +0000 (0:00:00.022) 0:01:04.229 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:29 +0000 (0:00:00.190) 0:01:04.419 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:59:29 +0000 (0:00:00.041) 0:01:04.461 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:29 +0000 (0:00:00.068) 0:01:04.529 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:29 +0000 (0:00:00.024) 0:01:04.553 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:29 +0000 (0:00:00.194) 0:01:04.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:30 +0000 (0:00:00.022) 0:01:04.770 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020926", "end": "2024-02-19 23:59:30.195738", "rc": 1, "start": "2024-02-19 23:59:30.174812" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:30 +0000 (0:00:00.216) 0:01:04.987 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:30 +0000 (0:00:00.024) 0:01:05.012 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:30 +0000 (0:00:00.024) 0:01:05.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:30 +0000 (0:00:00.027) 0:01:05.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:30 +0000 (0:00:00.024) 0:01:05.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:59:30 +0000 (0:00:00.023) 0:01:05.112 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:30 +0000 (0:00:00.027) 0:01:05.139 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:30 +0000 (0:00:00.026) 0:01:05.165 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:30 +0000 (0:00:00.023) 0:01:05.189 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:30 +0000 (0:00:00.042) 0:01:05.231 ******* 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.047455", "end": "2024-02-19 23:59:30.682901", "rc": 0, "start": "2024-02-19 23:59:30.635446" } 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_hotfixy6bs649d/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 23:59:30 +0000 (0:00:00.287) 0:01:05.519 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:30 +0000 (0:00:00.043) 0:01:05.562 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:30 +0000 (0:00:00.028) 0:01:05.591 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:30 +0000 (0:00:00.062) 0:01:05.653 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:30 +0000 (0:00:00.038) 0:01:05.692 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:30 +0000 (0:00:00.045) 0:01:05.738 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-02-19 23:59:31.150561", "rc": 0, "start": "2024-02-19 23:59:31.147351" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:31 +0000 (0:00:00.238) 0:01:05.976 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:31 +0000 (0:00:00.029) 0:01:06.006 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:31 +0000 (0:00:00.027) 0:01:06.034 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:31 +0000 (0:00:00.050) 0:01:06.084 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:31 +0000 (0:00:00.052) 0:01:06.136 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:31 +0000 (0:00:00.081) 0:01:06.218 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:31 +0000 (0:00:00.036) 0:01:06.254 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:31 +0000 (0:00:00.024) 0:01:06.279 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:31 +0000 (0:00:00.050) 0:01:06.329 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:33 +0000 (0:00:01.531) 0:01:07.860 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:34 +0000 (0:00:01.335) 0:01:09.196 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:34 +0000 (0:00:00.025) 0:01:09.221 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:34 +0000 (0:00:00.022) 0:01:09.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:34 +0000 (0:00:00.024) 0:01:09.268 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:34 +0000 (0:00:00.046) 0:01:09.314 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:34 +0000 (0:00:00.023) 0:01:09.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:34 +0000 (0:00:00.022) 0:01:09.360 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:34 +0000 (0:00:00.031) 0:01:09.392 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:34 +0000 (0:00:00.022) 0:01:09.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:34 +0000 (0:00:00.024) 0:01:09.439 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:35 +0000 (0:00:00.350) 0:01:09.789 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpejyjz9ee" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:35 +0000 (0:00:00.296) 0:01:10.086 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:35 +0000 (0:00:00.344) 0:01:10.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:35 +0000 (0:00:00.023) 0:01:10.453 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:35 +0000 (0:00:00.024) 0:01:10.477 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:35 +0000 (0:00:00.025) 0:01:10.503 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:35 +0000 (0:00:00.022) 0:01:10.525 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:59:35 +0000 (0:00:00.191) 0:01:10.716 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:59:35 +0000 (0:00:00.025) 0:01:10.742 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:36 +0000 (0:00:00.037) 0:01:10.780 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:36 +0000 (0:00:00.041) 0:01:10.821 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:36 +0000 (0:00:00.028) 0:01:10.849 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:36 +0000 (0:00:00.022) 0:01:10.871 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:36 +0000 (0:00:00.021) 0:01:10.893 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:37 +0000 (0:00:01.503) 0:01:12.396 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:38 +0000 (0:00:01.302) 0:01:13.699 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:38 +0000 (0:00:00.023) 0:01:13.722 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:38 +0000 (0:00:00.022) 0:01:13.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:39 +0000 (0:00:00.050) 0:01:13.795 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:39 +0000 (0:00:00.046) 0:01:13.842 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:39 +0000 (0:00:00.023) 0:01:13.866 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:39 +0000 (0:00:00.022) 0:01:13.889 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:39 +0000 (0:00:00.025) 0:01:13.915 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:39 +0000 (0:00:00.034) 0:01:13.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:39 +0000 (0:00:00.023) 0:01:13.973 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:39 +0000 (0:00:00.342) 0:01:14.315 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp6avt6da8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:39 +0000 (0:00:00.339) 0:01:14.655 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:40 +0000 (0:00:00.570) 0:01:15.226 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:40 +0000 (0:00:00.023) 0:01:15.250 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:40 +0000 (0:00:00.025) 0:01:15.275 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:40 +0000 (0:00:00.028) 0:01:15.304 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:40 +0000 (0:00:00.052) 0:01:15.356 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:59:40 +0000 (0:00:00.193) 0:01:15.549 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:40 +0000 (0:00:00.039) 0:01:15.589 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:40 +0000 (0:00:00.042) 0:01:15.631 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:40 +0000 (0:00:00.030) 0:01:15.662 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:40 +0000 (0:00:00.028) 0:01:15.691 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:40 +0000 (0:00:00.027) 0:01:15.718 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:42 +0000 (0:00:01.529) 0:01:17.247 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:43 +0000 (0:00:01.305) 0:01:18.553 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:43 +0000 (0:00:00.026) 0:01:18.579 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:43 +0000 (0:00:00.023) 0:01:18.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:43 +0000 (0:00:00.027) 0:01:18.631 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:43 +0000 (0:00:00.047) 0:01:18.678 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:43 +0000 (0:00:00.023) 0:01:18.702 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:43 +0000 (0:00:00.023) 0:01:18.726 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:43 +0000 (0:00:00.025) 0:01:18.751 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:44 +0000 (0:00:00.022) 0:01:18.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:44 +0000 (0:00:00.050) 0:01:18.824 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:44 +0000 (0:00:00.344) 0:01:19.168 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmp4dv508nd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:45 +0000 (0:00:01.297) 0:01:20.466 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:46 +0000 (0:00:00.305) 0:01:20.772 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:46 +0000 (0:00:00.023) 0:01:20.796 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:46 +0000 (0:00:00.026) 0:01:20.823 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:46 +0000 (0:00:00.027) 0:01:20.850 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:46 +0000 (0:00:00.027) 0:01:20.878 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:46 +0000 (0:00:00.215) 0:01:21.093 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:59:46 +0000 (0:00:00.040) 0:01:21.134 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:59:46 +0000 (0:00:00.038) 0:01:21.173 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:46 +0000 (0:00:00.044) 0:01:21.217 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:59:46 +0000 (0:00:00.046) 0:01:21.263 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:59:46 +0000 (0:00:00.038) 0:01:21.302 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:59:46 +0000 (0:00:00.038) 0:01:21.340 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:59:48 +0000 (0:00:01.533) 0:01:22.874 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:59:49 +0000 (0:00:01.303) 0:01:24.177 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:59:49 +0000 (0:00:00.026) 0:01:24.204 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:59:49 +0000 (0:00:00.023) 0:01:24.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:59:49 +0000 (0:00:00.024) 0:01:24.252 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:59:49 +0000 (0:00:00.051) 0:01:24.304 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:59:49 +0000 (0:00:00.028) 0:01:24.332 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:59:49 +0000 (0:00:00.023) 0:01:24.355 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:59:49 +0000 (0:00:00.027) 0:01:24.383 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:59:49 +0000 (0:00:00.055) 0:01:24.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:59:49 +0000 (0:00:00.023) 0:01:24.462 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:59:50 +0000 (0:00:00.351) 0:01:24.814 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-186378loej9w_/tmpw87bwvf3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:59:50 +0000 (0:00:00.297) 0:01:25.112 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:59:50 +0000 (0:00:00.303) 0:01:25.415 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:59:50 +0000 (0:00:00.024) 0:01:25.439 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:59:50 +0000 (0:00:00.027) 0:01:25.467 ******* 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_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:59:50 +0000 (0:00:00.025) 0:01:25.492 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:59:50 +0000 (0:00:00.023) 0:01:25.515 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:50 +0000 (0:00:00.196) 0:01:25.712 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:59:51 +0000 (0:00:00.050) 0:01:25.763 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:51 +0000 (0:00:00.075) 0:01:25.838 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:51 +0000 (0:00:00.023) 0:01:25.862 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:51 +0000 (0:00:00.192) 0:01:26.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:51 +0000 (0:00:00.024) 0:01:26.079 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021318", "end": "2024-02-19 23:59:51.506460", "rc": 1, "start": "2024-02-19 23:59:51.485142" } 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:51 +0000 (0:00:00.218) 0:01:26.298 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:51 +0000 (0:00:00.027) 0:01:26.326 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:51 +0000 (0:00:00.024) 0:01:26.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:51 +0000 (0:00:00.023) 0:01:26.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:51 +0000 (0:00:00.024) 0:01:26.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:59:51 +0000 (0:00:00.023) 0:01:26.422 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 23:59:51 +0000 (0:00:00.023) 0:01:26.446 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.941674", "end": "2024-02-19 23:59:52.790098", "rc": 0, "start": "2024-02-19 23:59:51.848424" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 23:59:52 +0000 (0:00:01.169) 0:01:27.615 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 23:59:52 +0000 (0:00:00.027) 0:01:27.643 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:52 +0000 (0:00:00.025) 0:01:27.668 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:52 +0000 (0:00:00.028) 0:01:27.696 ******* 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_hotfixy6bs649d/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:52 +0000 (0:00:00.024) 0:01:27.721 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:53 +0000 (0:00:00.048) 0:01:27.769 ******* 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.044416", "end": "2024-02-19 23:59:53.217818", "rc": 0, "start": "2024-02-19 23:59:53.173402" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:59:53 +0000 (0:00:00.242) 0:01:28.012 ******* 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.009579", "end": "2024-02-19 23:59:53.428389", "rc": 0, "start": "2024-02-19 23:59:53.418810" } 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 12:58:3b:aa:28:b7 brd ff:ff:ff:ff:ff:ff inet 10.31.10.121/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2197sec preferred_lft 2197sec inet6 fe80::1058:3bff:feaa:28b7/64 scope link valid_lft forever preferred_lft forever 43: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether de:ef:72:5a:d0:65 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.121 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.121 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:59:53 +0000 (0:00:00.207) 0:01:28.220 ******* 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.103991", "end": "2024-02-19 23:59:53.732866", "rc": 0, "start": "2024-02-19 23:59:53.628875" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5545 0 --:--:-- --:--:-- --:--:-- 5545 % 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 12125 0 --:--:-- --:--:-- --:--:-- 12125 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Monday 19 February 2024 23:59:53 +0000 (0:00:00.291) 0:01:28.512 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.29s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.89s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 1.87s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.65s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-nm_plugin_hotfixy6bs649d/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. ---^---^---^---^---^---