# 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_nm.yml ************************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tests_states_nm.yml:6 Monday 19 February 2024 00:46:04 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tests_states_nm.yml:9 Monday 19 February 2024 00:46:05 +0000 (0:00:00.762) 0:00:00.774 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 00:46:05 +0000 (0:00:00.021) 0:00:00.795 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 00:46:06 +0000 (0:00:00.334) 0:00:01.129 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 00:46:06 +0000 (0:00:00.254) 0:00:01.384 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 00:46:06 +0000 (0:00:00.019) 0:00:01.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 00:46:06 +0000 (0:00:00.040) 0:00:01.444 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 00:46:06 +0000 (0:00:00.030) 0:00:01.474 ******* 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_hotfix0wx8ijfz/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 00:46:06 +0000 (0:00:00.234) 0:00:01.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 00:46:06 +0000 (0:00:00.010) 0:00:01.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 00:46:06 +0000 (0:00:00.010) 0:00:01.729 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248683", "end": "2024-02-19 00:46:07.095343", "rc": 0, "start": "2024-02-19 00:46:06.846660" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 00:46:07 +0000 (0:00:00.434) 0:00:02.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/tests_states_nm.yml:11 Monday 19 February 2024 00:46:07 +0000 (0:00:00.009) 0:00:02.174 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 00:46:07 +0000 (0:00:00.010) 0:00:02.184 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 00:46:07 +0000 (0:00:00.481) 0:00:02.666 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 00:46:07 +0000 (0:00:00.010) 0:00:02.677 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:46:07 +0000 (0:00:00.014) 0:00:02.692 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:46:07 +0000 (0:00:00.010) 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": true, "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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:46:07 +0000 (0:00:00.032) 0:00:02.734 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:46:07 +0000 (0:00:00.013) 0:00:02.748 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:46:07 +0000 (0:00:00.013) 0:00:02.762 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003357", "end": "2024-02-19 00:46:07.880353", "rc": 0, "start": "2024-02-19 00:46:07.876996" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:46:07 +0000 (0:00:00.186) 0:00:02.949 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:46:07 +0000 (0:00:00.013) 0:00:02.962 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:46:07 +0000 (0:00:00.010) 0:00:02.972 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:46:07 +0000 (0:00:00.019) 0:00:02.992 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008099", "end": "2024-02-19 00:46:08.115068", "rc": 1, "start": "2024-02-19 00:46:08.106969" } 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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:46:08 +0000 (0:00:00.190) 0:00:03.183 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:08 +0000 (0:00:00.013) 0:00:03.197 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:46:08 +0000 (0:00:00.183) 0:00:03.380 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:46:08 +0000 (0:00:00.011) 0:00:03.391 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:46:08 +0000 (0:00:00.017) 0:00:03.409 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:08 +0000 (0:00:00.030) 0:00:03.439 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:08 +0000 (0:00:00.066) 0:00:03.506 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:08 +0000 (0:00:00.011) 0:00:03.517 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:08 +0000 (0:00:00.009) 0:00:03.527 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:08 +0000 (0:00:00.011) 0:00:03.538 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:10 +0000 (0:00:01.582) 0:00:05.121 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:11 +0000 (0:00:01.460) 0:00:06.581 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:11 +0000 (0:00:00.023) 0:00:06.604 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:11 +0000 (0:00:00.022) 0:00:06.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:11 +0000 (0:00:00.021) 0:00:06.647 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:11 +0000 (0:00:00.044) 0:00:06.692 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:11 +0000 (0:00:00.022) 0:00:06.715 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:11 +0000 (0:00:00.022) 0:00:06.737 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:11 +0000 (0:00:00.025) 0:00:06.763 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:12 +0000 (0:00:00.473) 0:00:07.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:12 +0000 (0:00:00.029) 0:00:07.266 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:12 +0000 (0:00:00.022) 0:00:07.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:12 +0000 (0:00:00.022) 0:00:07.311 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:12 +0000 (0:00:00.557) 0:00:07.869 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:12 +0000 (0:00:00.022) 0:00:07.891 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:12 +0000 (0:00:00.024) 0:00:07.916 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:12 +0000 (0:00:00.022) 0:00:07.939 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:12 +0000 (0:00:00.020) 0:00:07.959 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:46:13 +0000 (0:00:00.239) 0:00:08.199 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6cc1f22-2a23-448d-9ea7-9304762c8a00" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:46:13 +0000 (0:00:00.023) 0:00:08.223 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:46:13 +0000 (0:00:00.040) 0:00:08.263 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:46:13 +0000 (0:00:00.037) 0:00:08.300 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:46:13 +0000 (0:00:00.021) 0:00:08.322 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303572.7760594, "block_size": 4096, "blocks": 8, "ctime": 1708303572.7250595, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180940, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303572.7250595, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:46:13 +0000 (0:00:00.193) 0:00:08.516 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:46:13 +0000 (0:00:00.022) 0:00:08.538 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021590", "end": "2024-02-19 00:46:13.676165", "rc": 0, "start": "2024-02-19 00:46:13.654575" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:46:13 +0000 (0:00:00.216) 0:00:08.755 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:46:13 +0000 (0:00:00.025) 0:00:08.781 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:46:13 +0000 (0:00:00.026) 0:00:08.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:46:13 +0000 (0:00:00.023) 0:00:08.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:46:13 +0000 (0:00:00.028) 0:00:08.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:46:13 +0000 (0:00:00.025) 0:00:08.885 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:46:13 +0000 (0:00:00.024) 0:00:08.910 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:46:13 +0000 (0:00:00.025) 0:00:08.935 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:46:13 +0000 (0:00:00.023) 0:00:08.959 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:46:13 +0000 (0:00:00.041) 0:00:09.001 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:13 +0000 (0:00:00.034) 0:00:09.035 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303572.7275665, "block_size": 4096, "blocks": 0, "ctime": 1708303572.7275665, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32863, "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": 1708303572.7275665, "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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:46:14 +0000 (0:00:00.196) 0:00:09.232 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:46:14 +0000 (0:00:00.024) 0:00:09.257 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:46:14 +0000 (0:00:00.044) 0:00:09.301 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:46:14 +0000 (0:00:00.041) 0:00:09.343 ******* 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.063413", "end": "2024-02-19 00:46:14.523689", "rc": 1, "start": "2024-02-19 00:46:14.460276" } STDOUT: Connection 'statebr' (d6cc1f22-2a23-448d-9ea7-9304762c8a00) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 00:46:14 +0000 (0:00:00.260) 0:00:09.604 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:46:14 +0000 (0:00:00.039) 0:00:09.643 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:46:14 +0000 (0:00:00.023) 0:00:09.666 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:46:14 +0000 (0:00:00.042) 0:00:09.708 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:46:14 +0000 (0:00:00.034) 0:00:09.743 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:46:14 +0000 (0:00:00.032) 0:00:09.776 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-02-19 00:46:14.894847", "rc": 0, "start": "2024-02-19 00:46:14.891372" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:46:14 +0000 (0:00:00.198) 0:00:09.974 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:46:14 +0000 (0:00:00.022) 0:00:09.997 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:46:14 +0000 (0:00:00.021) 0:00:10.018 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:46:15 +0000 (0:00:00.063) 0:00:10.082 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006387", "end": "2024-02-19 00:46:15.204315", "rc": 1, "start": "2024-02-19 00:46:15.197928" } 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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:46:15 +0000 (0:00:00.201) 0:00:10.283 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:15 +0000 (0:00:00.036) 0:00:10.320 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:46:15 +0000 (0:00:00.196) 0:00:10.516 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:46:15 +0000 (0:00:00.026) 0:00:10.542 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 00:46:15 +0000 (0:00:00.040) 0:00:10.583 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:15 +0000 (0:00:00.041) 0:00:10.624 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:15 +0000 (0:00:00.040) 0:00:10.664 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:15 +0000 (0:00:00.026) 0:00:10.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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:15 +0000 (0:00:00.043) 0:00:10.734 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:15 +0000 (0:00:00.022) 0:00:10.756 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:17 +0000 (0:00:01.510) 0:00:12.266 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:18 +0000 (0:00:01.303) 0:00:13.570 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:18 +0000 (0:00:00.042) 0:00:13.613 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:18 +0000 (0:00:00.022) 0:00:13.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:18 +0000 (0:00:00.023) 0:00:13.658 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:18 +0000 (0:00:00.046) 0:00:13.704 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:18 +0000 (0:00:00.022) 0:00:13.726 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:18 +0000 (0:00:00.024) 0:00:13.750 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:18 +0000 (0:00:00.025) 0:00:13.776 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:19 +0000 (0:00:00.342) 0:00:14.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:19 +0000 (0:00:00.027) 0:00:14.146 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:14.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:14.191 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:19 +0000 (0:00:00.343) 0:00:14.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:14.556 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:19 +0000 (0:00:00.024) 0:00:14.581 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:19 +0000 (0:00:00.023) 0:00:14.604 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:19 +0000 (0:00:00.047) 0:00:14.652 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 00:46:19 +0000 (0:00:00.191) 0:00:14.843 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c46926b5-288a-4b7b-abd1-4ac49d579093" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:46:19 +0000 (0:00:00.024) 0:00:14.868 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:46:19 +0000 (0:00:00.052) 0:00:14.920 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:19 +0000 (0:00:00.038) 0:00:14.958 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:46:20 +0000 (0:00:00.193) 0:00:15.152 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:46:20 +0000 (0:00:00.025) 0:00:15.178 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:46:20 +0000 (0:00:00.039) 0:00:15.218 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:46:20 +0000 (0:00:00.021) 0:00:15.240 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303579.4400473, "block_size": 4096, "blocks": 8, "ctime": 1708303579.4400473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180940, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303579.4400473, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:46:20 +0000 (0:00:00.195) 0:00:15.436 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:46:20 +0000 (0:00:00.023) 0:00:15.459 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021291", "end": "2024-02-19 00:46:20.596432", "rc": 0, "start": "2024-02-19 00:46:20.575141" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:46:20 +0000 (0:00:00.243) 0:00:15.703 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:46:20 +0000 (0:00:00.027) 0:00:15.730 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:46:20 +0000 (0:00:00.025) 0:00:15.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:46:20 +0000 (0:00:00.026) 0:00:15.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:46:20 +0000 (0:00:00.024) 0:00:15.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:46:20 +0000 (0:00:00.023) 0:00:15.830 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:46:20 +0000 (0:00:00.035) 0:00:15.865 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:46:20 +0000 (0:00:00.026) 0:00:15.892 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:46:20 +0000 (0:00:00.025) 0:00:15.917 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:46:20 +0000 (0:00:00.021) 0:00:15.939 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:46:20 +0000 (0:00:00.024) 0:00:15.963 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:46:20 +0000 (0:00:00.041) 0:00:16.005 ******* 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.041626", "end": "2024-02-19 00:46:21.163222", "rc": 1, "start": "2024-02-19 00:46:21.121596" } STDOUT: Connection 'statebr' (c46926b5-288a-4b7b-abd1-4ac49d579093) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 00:46:21 +0000 (0:00:00.237) 0:00:16.242 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:46:21 +0000 (0:00:00.066) 0:00:16.309 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:46:21 +0000 (0:00:00.024) 0:00:16.333 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:46:21 +0000 (0:00:00.045) 0:00:16.378 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:46:21 +0000 (0:00:00.042) 0:00:16.421 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:46:21 +0000 (0:00:00.034) 0:00:16.455 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2024-02-19 00:46:21.573962", "rc": 0, "start": "2024-02-19 00:46:21.570663" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:46:21 +0000 (0:00:00.198) 0:00:16.654 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:46:21 +0000 (0:00:00.024) 0:00:16.678 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:46:21 +0000 (0:00:00.022) 0:00:16.700 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:46:21 +0000 (0:00:00.039) 0:00:16.740 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:21 +0000 (0:00:00.037) 0:00:16.777 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:21 +0000 (0:00:00.041) 0:00:16.819 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:21 +0000 (0:00:00.068) 0:00:16.888 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:21 +0000 (0:00:00.022) 0:00:16.910 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:21 +0000 (0:00:00.021) 0:00:16.931 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:23 +0000 (0:00:01.464) 0:00:18.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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:24 +0000 (0:00:01.325) 0:00:19.721 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:24 +0000 (0:00:00.024) 0:00:19.746 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:24 +0000 (0:00:00.022) 0:00:19.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:24 +0000 (0:00:00.023) 0:00:19.792 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:24 +0000 (0:00:00.046) 0:00:19.838 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:24 +0000 (0:00:00.023) 0:00:19.861 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:24 +0000 (0:00:00.035) 0:00:19.896 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:24 +0000 (0:00:00.041) 0:00:19.937 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:25 +0000 (0:00:00.343) 0:00:20.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:25 +0000 (0:00:00.027) 0:00:20.309 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:25 +0000 (0:00:00.022) 0:00:20.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:25 +0000 (0:00:00.022) 0:00:20.353 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:25 +0000 (0:00:00.440) 0:00:20.794 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:25 +0000 (0:00:00.022) 0:00:20.816 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:25 +0000 (0:00:00.023) 0:00:20.840 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:25 +0000 (0:00:00.025) 0:00:20.865 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:25 +0000 (0:00:00.021) 0:00:20.887 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:46:26 +0000 (0:00:00.195) 0:00:21.083 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:46:26 +0000 (0:00:00.022) 0:00:21.106 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:46:26 +0000 (0:00:00.038) 0:00:21.144 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:26 +0000 (0:00:00.039) 0:00:21.184 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:26 +0000 (0:00:00.041) 0:00:21.226 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:26 +0000 (0:00:00.027) 0:00:21.253 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:26 +0000 (0:00:00.022) 0:00:21.276 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:26 +0000 (0:00:00.020) 0:00:21.297 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:27 +0000 (0:00:01.502) 0:00:22.799 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:29 +0000 (0:00:01.295) 0:00:24.095 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:29 +0000 (0:00:00.043) 0:00:24.138 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:29 +0000 (0:00:00.022) 0:00:24.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:29 +0000 (0:00:00.021) 0:00:24.181 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:29 +0000 (0:00:00.042) 0:00:24.224 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:29 +0000 (0:00:00.020) 0:00:24.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:29 +0000 (0:00:00.021) 0:00:24.266 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:29 +0000 (0:00:00.024) 0:00:24.291 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:29 +0000 (0:00:00.341) 0:00:24.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:29 +0000 (0:00:00.029) 0:00:24.662 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:29 +0000 (0:00:00.021) 0:00:24.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:29 +0000 (0:00:00.020) 0:00:24.705 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:29 +0000 (0:00:00.332) 0:00:25.038 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:30 +0000 (0:00:00.024) 0:00:25.062 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:30 +0000 (0:00:00.024) 0:00:25.086 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7b8e8d16-6503-4db6-b5cc-7878ac7c7130 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:30 +0000 (0:00:00.028) 0:00:25.114 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:30 +0000 (0:00:00.051) 0:00:25.165 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:46:30 +0000 (0:00:00.189) 0:00:25.355 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:46:30 +0000 (0:00:00.044) 0:00:25.400 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:30 +0000 (0:00:00.040) 0:00:25.441 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303585.6384215, "block_size": 4096, "blocks": 0, "ctime": 1708303585.6384215, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32994, "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": 1708303585.6384215, "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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:46:30 +0000 (0:00:00.210) 0:00:25.651 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:46:30 +0000 (0:00:00.023) 0:00:25.674 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:46:30 +0000 (0:00:00.037) 0:00:25.712 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:46:30 +0000 (0:00:00.021) 0:00:25.733 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303585.694036, "block_size": 4096, "blocks": 8, "ctime": 1708303585.637036, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180940, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303585.637036, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:46:30 +0000 (0:00:00.196) 0:00:25.929 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:46:30 +0000 (0:00:00.022) 0:00:25.952 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021808", "end": "2024-02-19 00:46:31.091851", "rc": 0, "start": "2024-02-19 00:46:31.070043" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:46:31 +0000 (0:00:00.220) 0:00:26.173 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:46:31 +0000 (0:00:00.061) 0:00:26.234 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:46:31 +0000 (0:00:00.024) 0:00:26.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:46:31 +0000 (0:00:00.025) 0:00:26.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:46:31 +0000 (0:00:00.025) 0:00:26.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:46:31 +0000 (0:00:00.032) 0:00:26.341 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:46:31 +0000 (0:00:00.026) 0:00:26.367 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:46:31 +0000 (0:00:00.024) 0:00:26.392 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:46:31 +0000 (0:00:00.022) 0:00:26.415 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:46:31 +0000 (0:00:00.020) 0:00:26.435 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:46:31 +0000 (0:00:00.021) 0:00:26.457 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:46:31 +0000 (0:00:00.039) 0:00:26.497 ******* 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.059621", "end": "2024-02-19 00:46:31.673800", "rc": 1, "start": "2024-02-19 00:46:31.614179" } STDOUT: Connection 'statebr' (7b8e8d16-6503-4db6-b5cc-7878ac7c7130) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 00:46:31 +0000 (0:00:00.255) 0:00:26.753 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:46:31 +0000 (0:00:00.038) 0:00:26.791 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:46:31 +0000 (0:00:00.050) 0:00:26.842 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:46:31 +0000 (0:00:00.044) 0:00:26.886 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:46:31 +0000 (0:00:00.035) 0:00:26.922 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:46:31 +0000 (0:00:00.033) 0:00:26.956 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003446", "end": "2024-02-19 00:46:32.078290", "rc": 0, "start": "2024-02-19 00:46:32.074844" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:46:32 +0000 (0:00:00.203) 0:00:27.159 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:46:32 +0000 (0:00:00.026) 0:00:27.185 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:46:32 +0000 (0:00:00.022) 0:00:27.208 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:46:32 +0000 (0:00:00.043) 0:00:27.252 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:32 +0000 (0:00:00.038) 0:00:27.290 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:32 +0000 (0:00:00.041) 0:00:27.332 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:32 +0000 (0:00:00.026) 0:00:27.359 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:32 +0000 (0:00:00.045) 0:00:27.404 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:32 +0000 (0:00:00.023) 0:00:27.428 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:33 +0000 (0:00:01.476) 0:00:28.905 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:35 +0000 (0:00:01.308) 0:00:30.213 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:35 +0000 (0:00:00.023) 0:00:30.237 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:35 +0000 (0:00:00.021) 0:00:30.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:35 +0000 (0:00:00.020) 0:00:30.279 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:35 +0000 (0:00:00.042) 0:00:30.322 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:35 +0000 (0:00:00.021) 0:00:30.343 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:35 +0000 (0:00:00.020) 0:00:30.363 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:35 +0000 (0:00:00.024) 0:00:30.387 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:35 +0000 (0:00:00.339) 0:00:30.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:35 +0000 (0:00:00.027) 0:00:30.755 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:35 +0000 (0:00:00.022) 0:00:30.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:35 +0000 (0:00:00.021) 0:00:30.799 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:36 +0000 (0:00:00.376) 0:00:31.176 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:36 +0000 (0:00:00.054) 0:00:31.230 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:36 +0000 (0:00:00.023) 0:00:31.254 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:36 +0000 (0:00:00.024) 0:00:31.279 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:36 +0000 (0:00:00.022) 0:00:31.301 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:46:36 +0000 (0:00:00.192) 0:00:31.494 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:46:36 +0000 (0:00:00.023) 0:00:31.517 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:36 +0000 (0:00:00.037) 0:00:31.554 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:36 +0000 (0:00:00.040) 0:00:31.594 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:36 +0000 (0:00:00.026) 0:00:31.621 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:36 +0000 (0:00:00.021) 0:00:31.643 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:36 +0000 (0:00:00.020) 0:00:31.664 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:38 +0000 (0:00:01.524) 0:00:33.189 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:39 +0000 (0:00:01.301) 0:00:34.490 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:39 +0000 (0:00:00.021) 0:00:34.512 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:39 +0000 (0:00:00.020) 0:00:34.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:39 +0000 (0:00:00.020) 0:00:34.554 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:39 +0000 (0:00:00.043) 0:00:34.597 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:39 +0000 (0:00:00.041) 0:00:34.639 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:39 +0000 (0:00:00.022) 0:00:34.661 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:39 +0000 (0:00:00.025) 0:00:34.686 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:39 +0000 (0:00:00.340) 0:00:35.026 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:40 +0000 (0:00:00.025) 0:00:35.052 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:40 +0000 (0:00:00.021) 0:00:35.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:40 +0000 (0:00:00.020) 0:00:35.094 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:40 +0000 (0:00:00.333) 0:00:35.427 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:40 +0000 (0:00:00.039) 0:00:35.467 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:40 +0000 (0:00:00.025) 0:00:35.493 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 442c78b6-8e74-48f0-a202-edd1b731d2f0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:40 +0000 (0:00:00.024) 0:00:35.517 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:40 +0000 (0:00:00.022) 0:00:35.540 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:46:40 +0000 (0:00:00.189) 0:00:35.730 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:46:40 +0000 (0:00:00.067) 0:00:35.797 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:40 +0000 (0:00:00.044) 0:00:35.842 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:40 +0000 (0:00:00.051) 0:00:35.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:40 +0000 (0:00:00.029) 0:00:35.924 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:40 +0000 (0:00:00.024) 0:00:35.948 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:40 +0000 (0:00:00.024) 0:00:35.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:42 +0000 (0:00:01.482) 0:00:37.456 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:43 +0000 (0:00:01.324) 0:00:38.780 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:43 +0000 (0:00:00.023) 0:00:38.803 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:43 +0000 (0:00:00.022) 0:00:38.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:43 +0000 (0:00:00.020) 0:00:38.846 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:43 +0000 (0:00:00.043) 0:00:38.889 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:43 +0000 (0:00:00.021) 0:00:38.911 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:43 +0000 (0:00:00.020) 0:00:38.931 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:43 +0000 (0:00:00.026) 0:00:38.958 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:44 +0000 (0:00:00.365) 0:00:39.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:44 +0000 (0:00:00.026) 0:00:39.349 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:44 +0000 (0:00:00.021) 0:00:39.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:44 +0000 (0:00:00.020) 0:00:39.391 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:44 +0000 (0:00:00.361) 0:00:39.752 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:44 +0000 (0:00:00.023) 0:00:39.776 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:44 +0000 (0:00:00.023) 0:00:39.800 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:44 +0000 (0:00:00.024) 0:00:39.824 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:44 +0000 (0:00:00.026) 0:00:39.850 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:46:44 +0000 (0:00:00.190) 0:00:40.041 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:46:45 +0000 (0:00:00.043) 0:00:40.084 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:46:45 +0000 (0:00:00.035) 0:00:40.119 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303596.0490522, "block_size": 4096, "blocks": 0, "ctime": 1708303596.0490522, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33125, "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": 1708303596.0490522, "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_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:46:45 +0000 (0:00:00.225) 0:00:40.345 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:46:45 +0000 (0:00:00.025) 0:00:40.370 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:46:45 +0000 (0:00:00.039) 0:00:40.409 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:46:45 +0000 (0:00:00.022) 0:00:40.431 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:46:45 +0000 (0:00:00.192) 0:00:40.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:46:45 +0000 (0:00:00.021) 0:00:40.645 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021001", "end": "2024-02-19 00:46:45.782994", "rc": 1, "start": "2024-02-19 00:46:45.761993" } 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:46:45 +0000 (0:00:00.215) 0:00:40.861 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:46:45 +0000 (0:00:00.022) 0:00:40.884 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:46:45 +0000 (0:00:00.022) 0:00:40.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:46:45 +0000 (0:00:00.021) 0:00:40.928 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:46:45 +0000 (0:00:00.022) 0:00:40.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:46:45 +0000 (0:00:00.022) 0:00:40.973 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:46:45 +0000 (0:00:00.023) 0:00:40.996 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:46:45 +0000 (0:00:00.021) 0:00:41.018 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:46:45 +0000 (0:00:00.023) 0:00:41.042 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:46:46 +0000 (0:00:00.074) 0:00:41.116 ******* 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.075348", "end": "2024-02-19 00:46:46.313084", "rc": 1, "start": "2024-02-19 00:46:46.237736" } STDOUT: Connection 'statebr' (442c78b6-8e74-48f0-a202-edd1b731d2f0) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 00:46:46 +0000 (0:00:00.275) 0:00:41.392 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:46:46 +0000 (0:00:00.038) 0:00:41.431 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:46:46 +0000 (0:00:00.023) 0:00:41.455 ******* 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": true, "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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:46:46 +0000 (0:00:00.045) 0:00:41.500 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:46:46 +0000 (0:00:00.035) 0:00:41.536 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:46:46 +0000 (0:00:00.033) 0:00:41.570 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003105", "end": "2024-02-19 00:46:46.688932", "rc": 0, "start": "2024-02-19 00:46:46.685827" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:46:46 +0000 (0:00:00.199) 0:00:41.769 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:46:46 +0000 (0:00:00.022) 0:00:41.791 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:46:46 +0000 (0:00:00.021) 0:00:41.813 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:46:46 +0000 (0:00:00.076) 0:00:41.890 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:46 +0000 (0:00:00.041) 0:00:41.932 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:46 +0000 (0:00:00.052) 0:00:41.984 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:46 +0000 (0:00:00.028) 0:00:42.013 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:46 +0000 (0:00:00.025) 0:00:42.038 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:47 +0000 (0:00:00.022) 0:00:42.060 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:48 +0000 (0:00:01.495) 0:00:43.555 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:49 +0000 (0:00:01.320) 0:00:44.876 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:49 +0000 (0:00:00.025) 0:00:44.901 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:49 +0000 (0:00:00.022) 0:00:44.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:49 +0000 (0:00:00.021) 0:00:44.945 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:49 +0000 (0:00:00.042) 0:00:44.987 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:49 +0000 (0:00:00.022) 0:00:45.010 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:49 +0000 (0:00:00.021) 0:00:45.031 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:50 +0000 (0:00:00.024) 0:00:45.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:50 +0000 (0:00:00.369) 0:00:45.425 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:50 +0000 (0:00:00.028) 0:00:45.453 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:50 +0000 (0:00:00.028) 0:00:45.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:50 +0000 (0:00:00.025) 0:00:45.508 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:50 +0000 (0:00:00.396) 0:00:45.905 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:50 +0000 (0:00:00.023) 0:00:45.928 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:50 +0000 (0:00:00.025) 0:00:45.953 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:50 +0000 (0:00:00.024) 0:00:45.977 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:50 +0000 (0:00:00.023) 0:00:46.001 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:46:51 +0000 (0:00:00.192) 0:00:46.194 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:46:51 +0000 (0:00:00.023) 0:00:46.217 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:51 +0000 (0:00:00.036) 0:00:46.253 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:51 +0000 (0:00:00.067) 0:00:46.321 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:51 +0000 (0:00:00.028) 0:00:46.349 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:51 +0000 (0:00:00.022) 0:00:46.372 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:51 +0000 (0:00:00.021) 0:00:46.394 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:52 +0000 (0:00:01.471) 0:00:47.865 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:54 +0000 (0:00:01.319) 0:00:49.185 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:54 +0000 (0:00:00.025) 0:00:49.210 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:54 +0000 (0:00:00.028) 0:00:49.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:54 +0000 (0:00:00.022) 0:00:49.262 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:54 +0000 (0:00:00.044) 0:00:49.306 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:54 +0000 (0:00:00.022) 0:00:49.329 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:54 +0000 (0:00:00.021) 0:00:49.350 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:54 +0000 (0:00:00.024) 0:00:49.374 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:54 +0000 (0:00:00.340) 0:00:49.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:54 +0000 (0:00:00.025) 0:00:49.741 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:54 +0000 (0:00:00.021) 0:00:49.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:54 +0000 (0:00:00.021) 0:00:49.784 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:55 +0000 (0:00:00.364) 0:00:50.149 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:55 +0000 (0:00:00.048) 0:00:50.197 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:55 +0000 (0:00:00.025) 0:00:50.222 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d057c1e7-62ed-4d54-9c8c-9524c3004346 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:55 +0000 (0:00:00.024) 0:00:50.246 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:55 +0000 (0:00:00.023) 0:00:50.270 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:46:55 +0000 (0:00:00.191) 0:00:50.461 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:55 +0000 (0:00:00.039) 0:00:50.501 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:55 +0000 (0:00:00.044) 0:00:50.545 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:55 +0000 (0:00:00.035) 0:00:50.581 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:55 +0000 (0:00:00.032) 0:00:50.613 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:55 +0000 (0:00:00.024) 0:00:50.637 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:46:57 +0000 (0:00:01.494) 0:00:52.132 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:46:58 +0000 (0:00:01.303) 0:00:53.435 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:46:58 +0000 (0:00:00.022) 0:00:53.458 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:46:58 +0000 (0:00:00.022) 0:00:53.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:46:58 +0000 (0:00:00.022) 0:00:53.503 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:46:58 +0000 (0:00:00.045) 0:00:53.548 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:46:58 +0000 (0:00:00.045) 0:00:53.594 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:46:58 +0000 (0:00:00.022) 0:00:53.616 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:46:58 +0000 (0:00:00.024) 0:00:53.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:46:58 +0000 (0:00:00.344) 0:00:53.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:46:58 +0000 (0:00:00.028) 0:00:54.013 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:46:58 +0000 (0:00:00.023) 0:00:54.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:46:59 +0000 (0:00:00.024) 0:00:54.062 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:46:59 +0000 (0:00:00.370) 0:00:54.433 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:46:59 +0000 (0:00:00.023) 0:00:54.456 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:46:59 +0000 (0:00:00.023) 0:00:54.480 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:46:59 +0000 (0:00:00.024) 0:00:54.504 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:46:59 +0000 (0:00:00.023) 0:00:54.527 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:46:59 +0000 (0:00:00.194) 0:00:54.722 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:46:59 +0000 (0:00:00.068) 0:00:54.790 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:46:59 +0000 (0:00:00.046) 0:00:54.836 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:46:59 +0000 (0:00:00.064) 0:00:54.901 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:46:59 +0000 (0:00:00.029) 0:00:54.930 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:46:59 +0000 (0:00:00.022) 0:00:54.952 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:46:59 +0000 (0:00:00.024) 0:00:54.976 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:47:01 +0000 (0:00:01.481) 0:00:56.458 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:47:02 +0000 (0:00:01.325) 0:00:57.784 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:47:02 +0000 (0:00:00.023) 0:00:57.807 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:47:02 +0000 (0:00:00.021) 0:00:57.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:47:02 +0000 (0:00:00.021) 0:00:57.849 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:47:02 +0000 (0:00:00.043) 0:00:57.893 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:47:02 +0000 (0:00:00.021) 0:00:57.914 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:47:02 +0000 (0:00:00.020) 0:00:57.935 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:47:02 +0000 (0:00:00.026) 0:00:57.961 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:47:03 +0000 (0:00:00.364) 0:00:58.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:47:03 +0000 (0:00:00.025) 0:00:58.352 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:47:03 +0000 (0:00:00.021) 0:00:58.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:47:03 +0000 (0:00:00.020) 0:00:58.394 ******* 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:47:03 +0000 (0:00:00.401) 0:00:58.796 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:47:03 +0000 (0:00:00.023) 0:00:58.819 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:47:03 +0000 (0:00:00.024) 0:00:58.843 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:47:03 +0000 (0:00:00.024) 0:00:58.868 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:47:03 +0000 (0:00:00.023) 0:00:58.892 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:47:04 +0000 (0:00:00.193) 0:00:59.085 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:47:04 +0000 (0:00:00.040) 0:00:59.126 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:47:04 +0000 (0:00:00.037) 0:00:59.163 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:47:04 +0000 (0:00:00.021) 0:00:59.185 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:47:04 +0000 (0:00:00.198) 0:00:59.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:47:04 +0000 (0:00:00.023) 0:00:59.406 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021651", "end": "2024-02-19 00:47:04.549210", "rc": 1, "start": "2024-02-19 00:47:04.527559" } 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:47:04 +0000 (0:00:00.235) 0:00:59.642 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:47:04 +0000 (0:00:00.029) 0:00:59.672 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:47:04 +0000 (0:00:00.048) 0:00:59.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:47:04 +0000 (0:00:00.026) 0:00:59.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:47:04 +0000 (0:00:00.029) 0:00:59.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:47:04 +0000 (0:00:00.024) 0:00:59.801 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:47:04 +0000 (0:00:00.029) 0:00:59.831 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:47:04 +0000 (0:00:00.045) 0:00:59.876 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:47:04 +0000 (0:00:00.036) 0:00:59.912 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:47:05 +0000 (0:00:00.205) 0:01:00.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:47:05 +0000 (0:00:00.058) 0:01:00.176 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:47:05 +0000 (0:00:00.033) 0:01:00.210 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:47:05 +0000 (0:00:00.044) 0:01:00.255 ******* 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.041249", "end": "2024-02-19 00:47:05.417707", "rc": 1, "start": "2024-02-19 00:47:05.376458" } 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_hotfix0wx8ijfz/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 00:47:05 +0000 (0:00:00.244) 0:01:00.499 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:47:05 +0000 (0:00:00.039) 0:01:00.538 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:47:05 +0000 (0:00:00.024) 0:01:00.563 ******* 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": true, "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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:47:05 +0000 (0:00:00.048) 0:01:00.612 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:47:05 +0000 (0:00:00.040) 0:01:00.652 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:47:05 +0000 (0:00:00.037) 0:01:00.690 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2024-02-19 00:47:05.809207", "rc": 0, "start": "2024-02-19 00:47:05.806042" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:47:05 +0000 (0:00:00.199) 0:01:00.890 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:47:05 +0000 (0:00:00.024) 0:01:00.914 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:47:05 +0000 (0:00:00.060) 0:01:00.974 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:47:05 +0000 (0:00:00.049) 0:01:01.024 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:47:06 +0000 (0:00:00.038) 0:01:01.063 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:47:06 +0000 (0:00:00.041) 0:01:01.104 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:47:06 +0000 (0:00:00.027) 0:01:01.131 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:47:06 +0000 (0:00:00.022) 0:01:01.153 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:47:06 +0000 (0:00:00.023) 0:01:01.177 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:47:07 +0000 (0:00:01.508) 0:01:02.685 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:47:08 +0000 (0:00:01.302) 0:01:03.988 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:47:08 +0000 (0:00:00.022) 0:01:04.011 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:47:08 +0000 (0:00:00.023) 0:01:04.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:47:09 +0000 (0:00:00.022) 0:01:04.057 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:47:09 +0000 (0:00:00.046) 0:01:04.103 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:47:09 +0000 (0:00:00.023) 0:01:04.127 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:47:09 +0000 (0:00:00.022) 0:01:04.150 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:47:09 +0000 (0:00:00.026) 0:01:04.176 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:47:09 +0000 (0:00:00.342) 0:01:04.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:47:09 +0000 (0:00:00.027) 0:01:04.547 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:47:09 +0000 (0:00:00.023) 0:01:04.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:47:09 +0000 (0:00:00.022) 0:01:04.592 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:47:09 +0000 (0:00:00.391) 0:01:04.984 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:47:09 +0000 (0:00:00.024) 0:01:05.008 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:47:09 +0000 (0:00:00.023) 0:01:05.032 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:47:10 +0000 (0:00:00.024) 0:01:05.056 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:47:10 +0000 (0:00:00.022) 0:01:05.079 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:47:10 +0000 (0:00:00.193) 0:01:05.273 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:47:10 +0000 (0:00:00.022) 0:01:05.296 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:47:10 +0000 (0:00:00.035) 0:01:05.331 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:47:10 +0000 (0:00:00.071) 0:01:05.403 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:47:10 +0000 (0:00:00.028) 0:01:05.431 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:47:10 +0000 (0:00:00.024) 0:01:05.456 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:47:10 +0000 (0:00:00.024) 0:01:05.480 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:47:11 +0000 (0:00:01.495) 0:01:06.975 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:47:13 +0000 (0:00:01.330) 0:01:08.306 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:47:13 +0000 (0:00:00.026) 0:01:08.333 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:47:13 +0000 (0:00:00.024) 0:01:08.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:47:13 +0000 (0:00:00.028) 0:01:08.386 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:47:13 +0000 (0:00:00.047) 0:01:08.433 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:47:13 +0000 (0:00:00.032) 0:01:08.466 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:47:13 +0000 (0:00:00.034) 0:01:08.500 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:47:13 +0000 (0:00:00.041) 0:01:08.542 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:47:13 +0000 (0:00:00.345) 0:01:08.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:47:13 +0000 (0:00:00.025) 0:01:08.913 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:47:13 +0000 (0:00:00.022) 0:01:08.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:47:13 +0000 (0:00:00.023) 0:01:08.958 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:47:14 +0000 (0:00:00.391) 0:01:09.350 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:47:14 +0000 (0:00:00.022) 0:01:09.373 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:47:14 +0000 (0:00:00.023) 0:01:09.396 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 160db32b-1a1a-4c15-8473-0ec16c5f5853 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:47:14 +0000 (0:00:00.023) 0:01:09.420 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:47:14 +0000 (0:00:00.020) 0:01:09.441 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:47:14 +0000 (0:00:00.190) 0:01:09.631 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:47:14 +0000 (0:00:00.036) 0:01:09.668 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:47:14 +0000 (0:00:00.041) 0:01:09.709 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:47:14 +0000 (0:00:00.028) 0:01:09.738 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:47:14 +0000 (0:00:00.023) 0:01:09.762 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:47:14 +0000 (0:00:00.045) 0:01:09.808 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:47:16 +0000 (0:00:01.507) 0:01:11.316 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:47:17 +0000 (0:00:01.300) 0:01:12.616 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:47:17 +0000 (0:00:00.023) 0:01:12.640 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:47:17 +0000 (0:00:00.022) 0:01:12.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:47:17 +0000 (0:00:00.023) 0:01:12.686 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:47:17 +0000 (0:00:00.047) 0:01:12.733 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:47:17 +0000 (0:00:00.026) 0:01:12.759 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:47:17 +0000 (0:00:00.051) 0:01:12.810 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:47:17 +0000 (0:00:00.032) 0:01:12.843 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:47:18 +0000 (0:00:00.348) 0:01:13.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:47:18 +0000 (0:00:00.027) 0:01:13.219 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:47:18 +0000 (0:00:00.023) 0:01:13.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:47:18 +0000 (0:00:00.023) 0:01:13.266 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:47:18 +0000 (0:00:00.410) 0:01:13.676 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:47:18 +0000 (0:00:00.023) 0:01:13.700 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:47:18 +0000 (0:00:00.023) 0:01:13.724 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:47:18 +0000 (0:00:00.023) 0:01:13.747 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:47:18 +0000 (0:00:00.024) 0:01:13.772 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:47:18 +0000 (0:00:00.205) 0:01:13.977 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:47:18 +0000 (0:00:00.040) 0:01:14.017 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:47:19 +0000 (0:00:00.065) 0:01:14.083 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:47:19 +0000 (0:00:00.041) 0:01:14.125 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:47:19 +0000 (0:00:00.029) 0:01:14.154 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:47:19 +0000 (0:00:00.023) 0:01:14.178 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:47:19 +0000 (0:00:00.020) 0:01:14.199 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:47:20 +0000 (0:00:01.505) 0:01:15.705 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:47:21 +0000 (0:00:01.330) 0:01:17.035 ******* ok: [sut] => {} MSG: Using network provider: nm 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:47:22 +0000 (0:00:00.023) 0:01:17.059 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:47:22 +0000 (0:00:00.021) 0:01:17.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:47:22 +0000 (0:00:00.022) 0:01:17.102 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:47:22 +0000 (0:00:00.047) 0:01:17.150 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:47:22 +0000 (0:00:00.023) 0:01:17.174 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:47:22 +0000 (0:00:00.024) 0:01:17.198 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:47:22 +0000 (0:00:00.030) 0:01:17.229 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:47:22 +0000 (0:00:00.345) 0:01:17.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:47:22 +0000 (0:00:00.029) 0:01:17.604 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:47:22 +0000 (0:00:00.051) 0:01:17.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:47:22 +0000 (0:00:00.022) 0:01:17.678 ******* 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:47:22 +0000 (0:00:00.357) 0:01:18.035 ******* 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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:47:23 +0000 (0:00:00.027) 0:01:18.063 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:47:23 +0000 (0:00:00.028) 0:01:18.091 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:47:23 +0000 (0:00:00.026) 0:01:18.118 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:47:23 +0000 (0:00:00.024) 0:01:18.143 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:47:23 +0000 (0:00:00.190) 0:01:18.334 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:47:23 +0000 (0:00:00.047) 0:01:18.381 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:47:23 +0000 (0:00:00.040) 0:01:18.422 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:47:23 +0000 (0:00:00.023) 0:01:18.446 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:47:23 +0000 (0:00:00.197) 0:01:18.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:47:23 +0000 (0:00:00.098) 0:01:18.742 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020344", "end": "2024-02-19 00:47:23.893369", "rc": 1, "start": "2024-02-19 00:47:23.873025" } 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:47:23 +0000 (0:00:00.246) 0:01:18.989 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:47:23 +0000 (0:00:00.032) 0:01:19.021 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:47:23 +0000 (0:00:00.026) 0:01:19.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:47:24 +0000 (0:00:00.039) 0:01:19.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:47:24 +0000 (0:00:00.038) 0:01:19.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:47:24 +0000 (0:00:00.025) 0:01:19.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 00:47:24 +0000 (0:00:00.025) 0:01:19.177 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.942652", "end": "2024-02-19 00:47:25.234197", "rc": 0, "start": "2024-02-19 00:47:24.291545" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 00:47:25 +0000 (0:00:01.139) 0:01:20.316 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 00:47:25 +0000 (0:00:00.024) 0:01:20.341 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:47:25 +0000 (0:00:00.024) 0:01:20.366 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:47:25 +0000 (0:00:00.069) 0:01:20.435 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:47:25 +0000 (0:00:00.037) 0:01:20.472 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:47:25 +0000 (0:00:00.201) 0:01:20.673 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:47:25 +0000 (0:00:00.030) 0:01:20.704 ******* 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_hotfix0wx8ijfz/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:47:25 +0000 (0:00:00.032) 0:01:20.736 ******* included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:47:25 +0000 (0:00:00.050) 0:01:20.787 ******* 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.041235", "end": "2024-02-19 00:47:25.950262", "rc": 1, "start": "2024-02-19 00:47:25.909027" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 00:47:25 +0000 (0:00:00.248) 0:01:21.036 ******* 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.009693", "end": "2024-02-19 00:47:26.164878", "rc": 0, "start": "2024-02-19 00:47:26.155185" } 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:90:28:1b:76:c3 brd ff:ff:ff:ff:ff:ff inet 10.31.9.250/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2749sec preferred_lft 2749sec inet6 fe80::1090:28ff:fe1b:76c3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.250 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.250 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 00:47:26 +0000 (0:00:00.212) 0:01:21.248 ******* 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.308157", "end": "2024-02-19 00:47:26.677625", "rc": 0, "start": "2024-02-19 00:47:26.369468" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1292 0 --:--:-- --:--:-- --:--:-- 1292 % 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 6326 0 --:--:-- --:--:-- --:--:-- 6326 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Monday 19 February 2024 00:47:26 +0000 (0:00:00.496) 0:01:21.745 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.16s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.87s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/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_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.37s /WORKDIR/git-nm_plugin_hotfix0wx8ijfz/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---