# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/tests_states_nm.yml:6 Friday 15 March 2024 15:25:59 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tests_states_nm.yml:9 Friday 15 March 2024 15:26:00 +0000 (0:00:01.048) 0:00:01.060 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 15:26:00 +0000 (0:00:00.011) 0:00:01.072 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/el_repo_setup.yml:17 Friday 15 March 2024 15:26:00 +0000 (0:00:00.407) 0:00:01.479 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/el_repo_setup.yml:22 Friday 15 March 2024 15:26:00 +0000 (0:00:00.304) 0:00:01.784 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/el_repo_setup.yml:26 Friday 15 March 2024 15:26:01 +0000 (0:00:00.016) 0:00:01.801 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/el_repo_setup.yml:51 Friday 15 March 2024 15:26:01 +0000 (0:00:00.009) 0:00:01.810 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 15:26:01 +0000 (0:00:00.026) 0:00:01.837 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 15:26:01 +0000 (0:00:00.009) 0:00:01.846 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 15:26:01 +0000 (0:00:00.037) 0:00:01.883 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 15:26:01 +0000 (0:00:00.008) 0:00:01.892 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 15:26:01 +0000 (0:00:00.009) 0:00:01.901 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tests_states_nm.yml:11 Friday 15 March 2024 15:26:01 +0000 (0:00:00.008) 0:00:01.909 ********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:3 Friday 15 March 2024 15:26:01 +0000 (0:00:00.026) 0:00:01.936 ********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:11 Friday 15 March 2024 15:26:01 +0000 (0:00:00.796) 0:00:02.732 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:22 Friday 15 March 2024 15:26:01 +0000 (0:00:00.020) 0:00:02.753 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:26:01 +0000 (0:00:00.029) 0:00:02.782 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:26:02 +0000 (0:00:00.012) 0:00:02.794 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:26:02 +0000 (0:00:00.038) 0:00:02.832 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.012) 0:00:02.845 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.013) 0:00:02.859 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004279", "end": "2024-03-15 15:26:02.341599", "rc": 0, "start": "2024-03-15 15:26:02.337320" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:26:02 +0000 (0:00:00.317) 0:00:03.176 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:26:02 +0000 (0:00:00.013) 0:00:03.190 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:26:02 +0000 (0:00:00.020) 0:00:03.210 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.017) 0:00:03.227 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009403", "end": "2024-03-15 15:26:02.655367", "rc": 1, "start": "2024-03-15 15:26:02.645964" } 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_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.254) 0:00:03.482 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.023) 0:00:03.505 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:26:02 +0000 (0:00:00.234) 0:00:03.740 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:26:02 +0000 (0:00:00.011) 0:00:03.751 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:26:02 +0000 (0:00:00.026) 0:00:03.777 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:03 +0000 (0:00:00.031) 0:00:03.809 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:03 +0000 (0:00:00.020) 0:00:03.830 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:03 +0000 (0:00:00.020) 0:00:03.851 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:03 +0000 (0:00:00.015) 0:00:03.867 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:03 +0000 (0:00:00.012) 0:00:03.879 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:05 +0000 (0:00:02.715) 0:00:06.595 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:06 +0000 (0:00:01.054) 0:00:07.649 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:06 +0000 (0:00:00.023) 0:00:07.673 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:06 +0000 (0:00:00.023) 0:00:07.696 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:06 +0000 (0:00:00.036) 0:00:07.732 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:06 +0000 (0:00:00.047) 0:00:07.779 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:07 +0000 (0:00:00.030) 0:00:07.810 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:07 +0000 (0:00:00.041) 0:00:07.852 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:07 +0000 (0:00:00.173) 0:00:08.025 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:07 +0000 (0:00:00.053) 0:00:08.079 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:07 +0000 (0:00:00.026) 0:00:08.106 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:07 +0000 (0:00:00.045) 0:00:08.152 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:08 +0000 (0:00:00.650) 0:00:08.803 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:08 +0000 (0:00:00.034) 0:00:08.838 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:08 +0000 (0:00:00.020) 0:00:08.858 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:08 +0000 (0:00:00.020) 0:00:08.879 ********** 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, 327fc678-e37d-404d-b78e-a07c131f25c2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:08 +0000 (0:00:00.704) 0:00:09.583 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:08 +0000 (0:00:00.030) 0:00:09.614 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 327fc678-e37d-404d-b78e-a07c131f25c2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:08 +0000 (0:00:00.044) 0:00:09.658 ********** 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, 327fc678-e37d-404d-b78e-a07c131f25c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 327fc678-e37d-404d-b78e-a07c131f25c2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:08 +0000 (0:00:00.023) 0:00:09.681 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:08 +0000 (0:00:00.038) 0:00:09.720 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:26:09 +0000 (0:00:00.355) 0:00:10.075 ********** 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, 327fc678-e37d-404d-b78e-a07c131f25c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 327fc678-e37d-404d-b78e-a07c131f25c2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:26:09 +0000 (0:00:00.041) 0:00:10.117 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:26:09 +0000 (0:00:00.076) 0:00:10.193 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:26:09 +0000 (0:00:00.035) 0:00:10.228 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:26:09 +0000 (0:00:00.021) 0:00:10.250 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:26:09 +0000 (0:00:00.246) 0:00:10.496 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:26:09 +0000 (0:00:00.022) 0:00:10.518 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023843", "end": "2024-03-15 15:26:09.956210", "rc": 0, "start": "2024-03-15 15:26:09.932367" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:26:09 +0000 (0:00:00.269) 0:00:10.788 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:26:10 +0000 (0:00:00.023) 0:00:10.811 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:26:10 +0000 (0:00:00.021) 0:00:10.833 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:26:10 +0000 (0:00:00.020) 0:00:10.854 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:26:10 +0000 (0:00:00.020) 0:00:10.875 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:26:10 +0000 (0:00:00.021) 0:00:10.896 ********** 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_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:26:10 +0000 (0:00:00.023) 0:00:10.920 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:26:10 +0000 (0:00:00.024) 0:00:10.945 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:26:10 +0000 (0:00:00.034) 0:00:10.979 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:26:10 +0000 (0:00:00.101) 0:00:11.080 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:10 +0000 (0:00:00.045) 0:00:11.126 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516368.6762373, "block_size": 4096, "blocks": 0, "ctime": 1710516368.6762373, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36945, "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": 1710516368.6762373, "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_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:26:10 +0000 (0:00:00.252) 0:00:11.378 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:26:10 +0000 (0:00:00.024) 0:00:11.403 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:26:10 +0000 (0:00:00.025) 0:00:11.428 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:26:10 +0000 (0:00:00.040) 0:00:11.468 ********** 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.066071", "end": "2024-03-15 15:26:10.950524", "rc": 1, "start": "2024-03-15 15:26:10.884453" } STDOUT: Connection 'statebr' (327fc678-e37d-404d-b78e-a07c131f25c2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:45 Friday 15 March 2024 15:26:10 +0000 (0:00:00.312) 0:00:11.781 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:26:11 +0000 (0:00:00.032) 0:00:11.814 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:26:11 +0000 (0:00:00.021) 0:00:11.836 ********** 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. '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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:26:11 +0000 (0:00:00.039) 0:00:11.875 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:26:11 +0000 (0:00:00.034) 0:00:11.910 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:26:11 +0000 (0:00:00.075) 0:00:11.986 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004373", "end": "2024-03-15 15:26:11.407233", "rc": 0, "start": "2024-03-15 15:26:11.402860" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:26:11 +0000 (0:00:00.252) 0:00:12.238 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:26:11 +0000 (0:00:00.023) 0:00:12.262 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:26:11 +0000 (0:00:00.038) 0:00:12.301 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:26:11 +0000 (0:00:00.053) 0:00:12.355 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007811", "end": "2024-03-15 15:26:11.800651", "rc": 1, "start": "2024-03-15 15:26:11.792840" } 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_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:26:11 +0000 (0:00:00.292) 0:00:12.647 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:11 +0000 (0:00:00.052) 0:00:12.700 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:26:12 +0000 (0:00:00.261) 0:00:12.961 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:26:12 +0000 (0:00:00.022) 0:00:12.984 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 15 March 2024 15:26:12 +0000 (0:00:00.035) 0:00:13.019 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:12 +0000 (0:00:00.043) 0:00:13.063 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:12 +0000 (0:00:00.075) 0:00:13.139 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:12 +0000 (0:00:00.036) 0:00:13.175 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:12 +0000 (0:00:00.025) 0:00:13.201 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:12 +0000 (0:00:00.024) 0:00:13.225 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:15 +0000 (0:00:02.654) 0:00:15.880 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:15 +0000 (0:00:00.831) 0:00:16.711 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:15 +0000 (0:00:00.031) 0:00:16.743 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:15 +0000 (0:00:00.027) 0:00:16.770 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:16 +0000 (0:00:00.026) 0:00:16.797 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:16 +0000 (0:00:00.040) 0:00:16.838 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:16 +0000 (0:00:00.043) 0:00:16.881 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:16 +0000 (0:00:00.044) 0:00:16.926 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:16 +0000 (0:00:00.059) 0:00:16.985 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:16 +0000 (0:00:00.057) 0:00:17.043 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:16 +0000 (0:00:00.023) 0:00:17.067 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:16 +0000 (0:00:00.039) 0:00:17.107 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:16 +0000 (0:00:00.469) 0:00:17.577 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:16 +0000 (0:00:00.037) 0:00:17.614 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:16 +0000 (0:00:00.037) 0:00:17.652 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:16 +0000 (0:00:00.022) 0:00:17.674 ********** 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, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:17 +0000 (0:00:00.433) 0:00:18.108 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:17 +0000 (0:00:00.023) 0:00:18.131 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:17 +0000 (0:00:00.023) 0:00:18.155 ********** 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, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:17 +0000 (0:00:00.023) 0:00:18.179 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:17 +0000 (0:00:00.023) 0:00:18.203 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 15 March 2024 15:26:17 +0000 (0:00:00.246) 0:00:18.449 ********** 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, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e4e8097-4755-4db2-bcc6-40204cb3e1fc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:26:17 +0000 (0:00:00.023) 0:00:18.472 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:26:17 +0000 (0:00:00.038) 0:00:18.510 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:17 +0000 (0:00:00.061) 0:00:18.572 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:26:18 +0000 (0:00:00.244) 0:00:18.817 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:26:18 +0000 (0:00:00.040) 0:00:18.858 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:26:18 +0000 (0:00:00.037) 0:00:18.895 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:26:18 +0000 (0:00:00.022) 0:00:18.917 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:26:18 +0000 (0:00:00.245) 0:00:19.163 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:26:18 +0000 (0:00:00.021) 0:00:19.184 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023757", "end": "2024-03-15 15:26:18.640435", "rc": 0, "start": "2024-03-15 15:26:18.616678" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:26:18 +0000 (0:00:00.286) 0:00:19.471 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:26:18 +0000 (0:00:00.023) 0:00:19.494 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:26:18 +0000 (0:00:00.021) 0:00:19.515 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:26:18 +0000 (0:00:00.020) 0:00:19.536 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:26:18 +0000 (0:00:00.022) 0:00:19.559 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:26:18 +0000 (0:00:00.027) 0:00:19.586 ********** 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_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:26:18 +0000 (0:00:00.027) 0:00:19.613 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:26:18 +0000 (0:00:00.063) 0:00:19.677 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:26:18 +0000 (0:00:00.024) 0:00:19.702 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:26:18 +0000 (0:00:00.027) 0:00:19.730 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:26:18 +0000 (0:00:00.023) 0:00:19.753 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:26:18 +0000 (0:00:00.037) 0:00:19.791 ********** 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.046944", "end": "2024-03-15 15:26:19.247641", "rc": 1, "start": "2024-03-15 15:26:19.200697" } STDOUT: Connection 'statebr' (5e4e8097-4755-4db2-bcc6-40204cb3e1fc) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:65 Friday 15 March 2024 15:26:19 +0000 (0:00:00.286) 0:00:20.078 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:26:19 +0000 (0:00:00.034) 0:00:20.112 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:26:19 +0000 (0:00:00.022) 0:00:20.134 ********** 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. '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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:26:19 +0000 (0:00:00.041) 0:00:20.176 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:26:19 +0000 (0:00:00.037) 0:00:20.213 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:26:19 +0000 (0:00:00.034) 0:00:20.248 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004229", "end": "2024-03-15 15:26:19.662820", "rc": 0, "start": "2024-03-15 15:26:19.658591" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:26:19 +0000 (0:00:00.248) 0:00:20.496 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:26:19 +0000 (0:00:00.022) 0:00:20.519 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:26:19 +0000 (0:00:00.056) 0:00:20.575 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:26:19 +0000 (0:00:00.036) 0:00:20.612 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:19 +0000 (0:00:00.042) 0:00:20.655 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:19 +0000 (0:00:00.040) 0:00:20.695 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:19 +0000 (0:00:00.034) 0:00:20.730 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:19 +0000 (0:00:00.024) 0:00:20.754 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:19 +0000 (0:00:00.024) 0:00:20.778 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:22 +0000 (0:00:02.610) 0:00:23.389 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:23 +0000 (0:00:00.851) 0:00:24.240 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:23 +0000 (0:00:00.026) 0:00:24.266 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:23 +0000 (0:00:00.063) 0:00:24.330 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:23 +0000 (0:00:00.026) 0:00:24.356 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:23 +0000 (0:00:00.037) 0:00:24.394 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:23 +0000 (0:00:00.030) 0:00:24.425 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:23 +0000 (0:00:00.038) 0:00:24.464 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:23 +0000 (0:00:00.060) 0:00:24.524 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:23 +0000 (0:00:00.024) 0:00:24.549 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:23 +0000 (0:00:00.042) 0:00:24.592 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:23 +0000 (0:00:00.038) 0:00:24.630 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:24 +0000 (0:00:00.478) 0:00:25.109 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:24 +0000 (0:00:00.036) 0:00:25.145 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:24 +0000 (0:00:00.019) 0:00:25.165 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:24 +0000 (0:00:00.019) 0:00:25.185 ********** 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, 1f3450b8-0b5d-4318-95e8-f34c860a154d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:24 +0000 (0:00:00.485) 0:00:25.671 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:24 +0000 (0:00:00.025) 0:00:25.696 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f3450b8-0b5d-4318-95e8-f34c860a154d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:24 +0000 (0:00:00.032) 0:00:25.729 ********** 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, 1f3450b8-0b5d-4318-95e8-f34c860a154d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f3450b8-0b5d-4318-95e8-f34c860a154d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:25 +0000 (0:00:00.070) 0:00:25.800 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:25 +0000 (0:00:00.025) 0:00:25.826 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:26:25 +0000 (0:00:00.250) 0:00:26.076 ********** 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, 1f3450b8-0b5d-4318-95e8-f34c860a154d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f3450b8-0b5d-4318-95e8-f34c860a154d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:26:25 +0000 (0:00:00.021) 0:00:26.098 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:26:25 +0000 (0:00:00.037) 0:00:26.135 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:25 +0000 (0:00:00.044) 0:00:26.179 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:25 +0000 (0:00:00.041) 0:00:26.221 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:25 +0000 (0:00:00.043) 0:00:26.265 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:25 +0000 (0:00:00.030) 0:00:26.295 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:25 +0000 (0:00:00.026) 0:00:26.322 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:28 +0000 (0:00:02.621) 0:00:28.943 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:29 +0000 (0:00:00.980) 0:00:29.924 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:29 +0000 (0:00:00.023) 0:00:29.948 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:29 +0000 (0:00:00.023) 0:00:29.971 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:29 +0000 (0:00:00.024) 0:00:29.996 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:29 +0000 (0:00:00.037) 0:00:30.033 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:29 +0000 (0:00:00.031) 0:00:30.064 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:29 +0000 (0:00:00.038) 0:00:30.102 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:29 +0000 (0:00:00.057) 0:00:30.160 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:29 +0000 (0:00:00.024) 0:00:30.184 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:29 +0000 (0:00:00.028) 0:00:30.212 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:29 +0000 (0:00:00.039) 0:00:30.251 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:29 +0000 (0:00:00.464) 0:00:30.716 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:29 +0000 (0:00:00.038) 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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:29 +0000 (0:00:00.021) 0:00:30.776 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:30 +0000 (0:00:00.021) 0:00:30.798 ********** 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, 1f3450b8-0b5d-4318-95e8-f34c860a154d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:30 +0000 (0:00:00.543) 0:00:31.341 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:30 +0000 (0:00:00.025) 0:00:31.367 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f3450b8-0b5d-4318-95e8-f34c860a154d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:30 +0000 (0:00:00.025) 0:00:31.392 ********** 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, 1f3450b8-0b5d-4318-95e8-f34c860a154d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f3450b8-0b5d-4318-95e8-f34c860a154d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:30 +0000 (0:00:00.025) 0:00:31.418 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:30 +0000 (0:00:00.025) 0:00:31.444 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:26:30 +0000 (0:00:00.251) 0:00:31.696 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:26:30 +0000 (0:00:00.046) 0:00:31.742 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:30 +0000 (0:00:00.041) 0:00:31.784 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516384.7755153, "block_size": 4096, "blocks": 0, "ctime": 1710516384.7755153, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37076, "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": 1710516384.7755153, "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_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:26:31 +0000 (0:00:00.275) 0:00:32.060 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:26:31 +0000 (0:00:00.026) 0:00:32.086 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:26:31 +0000 (0:00:00.037) 0:00:32.124 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:26:31 +0000 (0:00:00.026) 0:00:32.150 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:26:31 +0000 (0:00:00.315) 0:00:32.466 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:26:31 +0000 (0:00:00.021) 0:00:32.488 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023840", "end": "2024-03-15 15:26:31.924195", "rc": 0, "start": "2024-03-15 15:26:31.900355" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:26:31 +0000 (0:00:00.268) 0:00:32.756 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:26:31 +0000 (0:00:00.024) 0:00:32.780 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:26:32 +0000 (0:00:00.020) 0:00:32.801 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:26:32 +0000 (0:00:00.021) 0:00:32.822 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:26:32 +0000 (0:00:00.022) 0:00:32.845 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:26:32 +0000 (0:00:00.021) 0:00:32.866 ********** 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_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:26:32 +0000 (0:00:00.026) 0:00:32.892 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:26:32 +0000 (0:00:00.025) 0:00:32.917 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:26:32 +0000 (0:00:00.024) 0:00:32.941 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:26:32 +0000 (0:00:00.033) 0:00:32.975 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:26:32 +0000 (0:00:00.024) 0:00:33.000 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:26:32 +0000 (0:00:00.051) 0:00:33.052 ********** 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.074955", "end": "2024-03-15 15:26:32.551764", "rc": 1, "start": "2024-03-15 15:26:32.476809" } STDOUT: Connection 'statebr' (1f3450b8-0b5d-4318-95e8-f34c860a154d) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:83 Friday 15 March 2024 15:26:32 +0000 (0:00:00.330) 0:00:33.382 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:26:32 +0000 (0:00:00.072) 0:00:33.454 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:26:32 +0000 (0:00:00.022) 0:00:33.477 ********** 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. '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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:26:32 +0000 (0:00:00.044) 0:00:33.521 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:26:32 +0000 (0:00:00.036) 0:00:33.557 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:26:32 +0000 (0:00:00.036) 0:00:33.594 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004248", "end": "2024-03-15 15:26:33.016806", "rc": 0, "start": "2024-03-15 15:26:33.012558" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:26:33 +0000 (0:00:00.268) 0:00:33.863 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:26:33 +0000 (0:00:00.024) 0:00:33.887 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:26:33 +0000 (0:00:00.023) 0:00:33.911 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:26:33 +0000 (0:00:00.051) 0:00:33.962 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:33 +0000 (0:00:00.095) 0:00:34.057 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:33 +0000 (0:00:00.144) 0:00:34.202 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:33 +0000 (0:00:00.056) 0:00:34.258 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:33 +0000 (0:00:00.058) 0:00:34.316 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:33 +0000 (0:00:00.027) 0:00:34.343 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:36 +0000 (0:00:02.629) 0:00:36.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:37 +0000 (0:00:00.854) 0:00:37.827 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:37 +0000 (0:00:00.025) 0:00:37.852 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:37 +0000 (0:00:00.025) 0:00:37.877 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:37 +0000 (0:00:00.025) 0:00:37.903 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:37 +0000 (0:00:00.041) 0:00:37.944 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:37 +0000 (0:00:00.046) 0:00:37.990 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:37 +0000 (0:00:00.077) 0:00:38.068 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:37 +0000 (0:00:00.100) 0:00:38.169 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:37 +0000 (0:00:00.047) 0:00:38.216 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:37 +0000 (0:00:00.097) 0:00:38.314 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:37 +0000 (0:00:00.036) 0:00:38.350 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:38 +0000 (0:00:00.491) 0:00:38.842 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:38 +0000 (0:00:00.045) 0:00:38.888 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:38 +0000 (0:00:00.024) 0:00:38.912 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:38 +0000 (0:00:00.021) 0:00:38.933 ********** 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, c8d5d3eb-a450-4d02-b650-190299528087 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:38 +0000 (0:00:00.492) 0:00:39.426 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:38 +0000 (0:00:00.025) 0:00:39.451 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d5d3eb-a450-4d02-b650-190299528087" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:38 +0000 (0:00:00.024) 0:00:39.476 ********** 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, c8d5d3eb-a450-4d02-b650-190299528087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d5d3eb-a450-4d02-b650-190299528087" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:38 +0000 (0:00:00.024) 0:00:39.501 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:38 +0000 (0:00:00.024) 0:00:39.526 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:26:39 +0000 (0:00:00.289) 0:00:39.815 ********** 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, c8d5d3eb-a450-4d02-b650-190299528087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d5d3eb-a450-4d02-b650-190299528087" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:26:39 +0000 (0:00:00.034) 0:00:39.849 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:39 +0000 (0:00:00.059) 0:00:39.909 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:39 +0000 (0:00:00.081) 0:00:39.990 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:39 +0000 (0:00:00.054) 0:00:40.045 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:39 +0000 (0:00:00.030) 0:00:40.075 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:39 +0000 (0:00:00.027) 0:00:40.102 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:41 +0000 (0:00:02.643) 0:00:42.746 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:42 +0000 (0:00:00.841) 0:00:43.587 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:42 +0000 (0:00:00.024) 0:00:43.612 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:42 +0000 (0:00:00.023) 0:00:43.635 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:42 +0000 (0:00:00.023) 0:00:43.659 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:42 +0000 (0:00:00.038) 0:00:43.697 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:42 +0000 (0:00:00.030) 0:00:43.728 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:42 +0000 (0:00:00.038) 0:00:43.767 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:43 +0000 (0:00:00.170) 0:00:43.938 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:43 +0000 (0:00:00.048) 0:00:43.986 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:43 +0000 (0:00:00.049) 0:00:44.036 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:43 +0000 (0:00:00.040) 0:00:44.076 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:43 +0000 (0:00:00.510) 0:00:44.587 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:43 +0000 (0:00:00.051) 0:00:44.638 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:43 +0000 (0:00:00.025) 0:00:44.664 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:43 +0000 (0:00:00.033) 0:00:44.697 ********** 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, c8d5d3eb-a450-4d02-b650-190299528087 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:44 +0000 (0:00:00.435) 0:00:45.132 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:44 +0000 (0:00:00.025) 0:00:45.158 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8d5d3eb-a450-4d02-b650-190299528087 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:44 +0000 (0:00:00.024) 0:00:45.182 ********** 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, c8d5d3eb-a450-4d02-b650-190299528087 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8d5d3eb-a450-4d02-b650-190299528087 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:44 +0000 (0:00:00.025) 0:00:45.208 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:44 +0000 (0:00:00.026) 0:00:45.234 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:26:44 +0000 (0:00:00.260) 0:00:45.494 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:26:44 +0000 (0:00:00.039) 0:00:45.534 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:44 +0000 (0:00:00.087) 0:00:45.622 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:44 +0000 (0:00:00.041) 0:00:45.663 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:44 +0000 (0:00:00.036) 0:00:45.700 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:44 +0000 (0:00:00.026) 0:00:45.726 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:44 +0000 (0:00:00.025) 0:00:45.752 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:47 +0000 (0:00:02.644) 0:00:48.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:48 +0000 (0:00:00.849) 0:00:49.246 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:48 +0000 (0:00:00.029) 0:00:49.275 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:48 +0000 (0:00:00.026) 0:00:49.302 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:48 +0000 (0:00:00.029) 0:00:49.331 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:48 +0000 (0:00:00.038) 0:00:49.369 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:48 +0000 (0:00:00.071) 0:00:49.441 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:48 +0000 (0:00:00.041) 0:00:49.483 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:48 +0000 (0:00:00.058) 0:00:49.542 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:48 +0000 (0:00:00.034) 0:00:49.576 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:48 +0000 (0:00:00.030) 0:00:49.607 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:48 +0000 (0:00:00.038) 0:00:49.645 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:49 +0000 (0:00:00.487) 0:00:50.132 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:49 +0000 (0:00:00.088) 0:00:50.221 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:49 +0000 (0:00:00.025) 0:00:50.246 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:49 +0000 (0:00:00.022) 0:00:50.269 ********** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:49 +0000 (0:00:00.465) 0:00:50.735 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:49 +0000 (0:00:00.030) 0:00:50.765 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:49 +0000 (0:00:00.024) 0:00:50.790 ********** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:50 +0000 (0:00:00.025) 0:00:50.816 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:50 +0000 (0:00:00.026) 0:00:50.842 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:26:50 +0000 (0:00:00.340) 0:00:51.182 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:26:50 +0000 (0:00:00.073) 0:00:51.256 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:26:50 +0000 (0:00:00.041) 0:00:51.298 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516398.5392377, "block_size": 4096, "blocks": 0, "ctime": 1710516398.5392377, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37207, "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": 1710516398.5392377, "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_hotfix3__8457_/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:26:50 +0000 (0:00:00.256) 0:00:51.555 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:26:50 +0000 (0:00:00.039) 0:00:51.595 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:26:50 +0000 (0:00:00.036) 0:00:51.631 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:26:50 +0000 (0:00:00.025) 0:00:51.657 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:26:51 +0000 (0:00:00.236) 0:00:51.894 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:26:51 +0000 (0:00:00.020) 0:00:51.914 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024128", "end": "2024-03-15 15:26:51.350842", "rc": 1, "start": "2024-03-15 15:26:51.326714" } 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:26:51 +0000 (0:00:00.267) 0:00:52.182 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:26:51 +0000 (0:00:00.022) 0:00:52.204 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:26:51 +0000 (0:00:00.023) 0:00:52.227 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:26:51 +0000 (0:00:00.024) 0:00:52.252 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:26:51 +0000 (0:00:00.084) 0:00:52.337 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:26:51 +0000 (0:00:00.028) 0:00:52.366 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:26:51 +0000 (0:00:00.025) 0:00:52.391 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:26:51 +0000 (0:00:00.037) 0:00:52.428 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:26:51 +0000 (0:00:00.024) 0:00:52.453 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:26:51 +0000 (0:00:00.057) 0:00:52.511 ********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.073703", "end": "2024-03-15 15:26:52.013959", "rc": 0, "start": "2024-03-15 15:26:51.940256" } STDOUT: Connection 'statebr' (c8d5d3eb-a450-4d02-b650-190299528087) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:102 Friday 15 March 2024 15:26:52 +0000 (0:00:00.343) 0:00:52.855 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:26:52 +0000 (0:00:00.037) 0:00:52.892 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:26:52 +0000 (0:00:00.026) 0:00:52.919 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:26:52 +0000 (0:00:00.056) 0:00:52.975 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:26:52 +0000 (0:00:00.069) 0:00:53.045 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:26:52 +0000 (0:00:00.044) 0:00:53.090 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004223", "end": "2024-03-15 15:26:52.509773", "rc": 0, "start": "2024-03-15 15:26:52.505550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:26:52 +0000 (0:00:00.258) 0:00:53.349 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:26:52 +0000 (0:00:00.085) 0:00:53.434 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:26:52 +0000 (0:00:00.040) 0:00:53.474 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:26:52 +0000 (0:00:00.077) 0:00:53.551 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:52 +0000 (0:00:00.085) 0:00:53.637 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:52 +0000 (0:00:00.114) 0:00:53.751 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:53 +0000 (0:00:00.072) 0:00:53.824 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:53 +0000 (0:00:00.065) 0:00:53.890 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:53 +0000 (0:00:00.047) 0:00:53.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 [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:26:55 +0000 (0:00:02.623) 0:00:56.560 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:26:56 +0000 (0:00:00.894) 0:00:57.454 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:26:56 +0000 (0:00:00.058) 0:00:57.513 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:26:56 +0000 (0:00:00.025) 0:00:57.538 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:26:56 +0000 (0:00:00.023) 0:00:57.562 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:26:56 +0000 (0:00:00.040) 0:00:57.603 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:26:56 +0000 (0:00:00.035) 0:00:57.639 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:26:56 +0000 (0:00:00.043) 0:00:57.682 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:26:56 +0000 (0:00:00.064) 0:00:57.747 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:26:56 +0000 (0:00:00.028) 0:00:57.776 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:26:57 +0000 (0:00:00.025) 0:00:57.801 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:26:57 +0000 (0:00:00.038) 0:00:57.840 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:26:57 +0000 (0:00:00.463) 0:00:58.304 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:26:57 +0000 (0:00:00.036) 0:00:58.340 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:26:57 +0000 (0:00:00.024) 0:00:58.365 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:26:57 +0000 (0:00:00.022) 0:00:58.387 ********** 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, 567ab158-6583-4a14-a0fb-f6ec67c67a2d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:26:58 +0000 (0:00:00.541) 0:00:58.929 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:26:58 +0000 (0:00:00.026) 0:00:58.956 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 567ab158-6583-4a14-a0fb-f6ec67c67a2d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:26:58 +0000 (0:00:00.084) 0:00:59.041 ********** 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, 567ab158-6583-4a14-a0fb-f6ec67c67a2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 567ab158-6583-4a14-a0fb-f6ec67c67a2d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:26:58 +0000 (0:00:00.025) 0:00:59.066 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:26:58 +0000 (0:00:00.025) 0:00:59.091 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:26:58 +0000 (0:00:00.252) 0:00:59.343 ********** 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, 567ab158-6583-4a14-a0fb-f6ec67c67a2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 567ab158-6583-4a14-a0fb-f6ec67c67a2d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:26:58 +0000 (0:00:00.023) 0:00:59.367 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:26:58 +0000 (0:00:00.044) 0:00:59.412 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:26:58 +0000 (0:00:00.041) 0:00:59.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 [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:26:58 +0000 (0:00:00.037) 0:00:59.491 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:26:58 +0000 (0:00:00.025) 0:00:59.517 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:26:58 +0000 (0:00:00.024) 0:00:59.541 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:02 +0000 (0:00:03.600) 0:01:03.142 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:03 +0000 (0:00:00.990) 0:01:04.132 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:03 +0000 (0:00:00.025) 0:01:04.158 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:03 +0000 (0:00:00.026) 0:01:04.184 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:03 +0000 (0:00:00.025) 0:01:04.210 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:03 +0000 (0:00:00.045) 0:01:04.255 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:03 +0000 (0:00:00.031) 0:01:04.287 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:03 +0000 (0:00:00.040) 0:01:04.327 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:03 +0000 (0:00:00.072) 0:01:04.400 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:03 +0000 (0:00:00.033) 0:01:04.433 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:03 +0000 (0:00:00.024) 0:01:04.458 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:03 +0000 (0:00:00.038) 0:01:04.496 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:04 +0000 (0:00:00.466) 0:01:04.962 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:04 +0000 (0:00:00.062) 0:01:05.025 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:04 +0000 (0:00:00.052) 0:01:05.077 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:04 +0000 (0:00:00.069) 0:01:05.147 ********** 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, 567ab158-6583-4a14-a0fb-f6ec67c67a2d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:04 +0000 (0:00:00.539) 0:01:05.687 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:04 +0000 (0:00:00.079) 0:01:05.767 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 567ab158-6583-4a14-a0fb-f6ec67c67a2d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:04 +0000 (0:00:00.024) 0:01:05.791 ********** 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, 567ab158-6583-4a14-a0fb-f6ec67c67a2d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 567ab158-6583-4a14-a0fb-f6ec67c67a2d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:05 +0000 (0:00:00.023) 0:01:05.814 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:05 +0000 (0:00:00.024) 0:01:05.839 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:27:05 +0000 (0:00:00.280) 0:01:06.119 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:05 +0000 (0:00:00.063) 0:01:06.182 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:05 +0000 (0:00:00.042) 0:01:06.225 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:05 +0000 (0:00:00.050) 0:01:06.276 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:05 +0000 (0:00:00.045) 0:01:06.321 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:05 +0000 (0:00:00.042) 0:01:06.363 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:08 +0000 (0:00:02.623) 0:01:08.987 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:09 +0000 (0:00:01.010) 0:01:09.997 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:09 +0000 (0:00:00.032) 0:01:10.030 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:09 +0000 (0:00:00.026) 0:01:10.056 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:09 +0000 (0:00:00.032) 0:01:10.089 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:09 +0000 (0:00:00.055) 0:01:10.145 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:09 +0000 (0:00:00.040) 0:01:10.185 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:09 +0000 (0:00:00.040) 0:01:10.226 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:09 +0000 (0:00:00.070) 0:01:10.296 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:09 +0000 (0:00:00.028) 0:01:10.324 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:09 +0000 (0:00:00.027) 0:01:10.352 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:09 +0000 (0:00:00.041) 0:01:10.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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:10 +0000 (0:00:00.465) 0:01:10.860 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:10 +0000 (0:00:00.037) 0:01:10.897 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:10 +0000 (0:00:00.022) 0:01:10.919 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:10 +0000 (0:00:00.022) 0:01:10.942 ********** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:10 +0000 (0:00:00.564) 0:01:11.506 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:10 +0000 (0:00:00.028) 0:01:11.534 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:10 +0000 (0:00:00.029) 0:01:11.564 ********** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:10 +0000 (0:00:00.034) 0:01:11.599 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:10 +0000 (0:00:00.035) 0:01:11.634 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:27:11 +0000 (0:00:00.255) 0:01:11.890 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:27:11 +0000 (0:00:00.080) 0:01:11.971 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:11 +0000 (0:00:00.051) 0:01:12.023 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:11 +0000 (0:00:00.048) 0:01:12.071 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:11 +0000 (0:00:00.065) 0:01:12.137 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:11 +0000 (0:00:00.028) 0:01:12.165 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:11 +0000 (0:00:00.044) 0:01:12.209 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:14 +0000 (0:00:02.741) 0:01:14.951 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:15 +0000 (0:00:00.853) 0:01:15.804 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:15 +0000 (0:00:00.026) 0:01:15.830 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:15 +0000 (0:00:00.029) 0:01:15.860 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:15 +0000 (0:00:00.025) 0:01:15.885 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:15 +0000 (0:00:00.043) 0:01:15.928 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:15 +0000 (0:00:00.038) 0:01:15.967 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:15 +0000 (0:00:00.037) 0:01:16.004 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:15 +0000 (0:00:00.057) 0:01:16.062 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:15 +0000 (0:00:00.025) 0:01:16.087 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:15 +0000 (0:00:00.024) 0:01:16.112 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:15 +0000 (0:00:00.041) 0:01:16.153 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:15 +0000 (0:00:00.471) 0:01:16.625 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:15 +0000 (0:00:00.037) 0:01:16.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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:15 +0000 (0:00:00.063) 0:01:16.725 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:15 +0000 (0:00:00.021) 0:01:16.747 ********** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:16 +0000 (0:00:00.525) 0:01:17.272 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:16 +0000 (0:00:00.026) 0:01:17.298 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:16 +0000 (0:00:00.023) 0:01:17.322 ********** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:16 +0000 (0:00:00.026) 0:01:17.349 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:16 +0000 (0:00:00.026) 0:01:17.376 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:27:16 +0000 (0:00:00.255) 0:01:17.632 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:27:16 +0000 (0:00:00.039) 0:01:17.672 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:27:16 +0000 (0:00:00.042) 0:01:17.714 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:27:16 +0000 (0:00:00.023) 0:01:17.738 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:27:17 +0000 (0:00:00.240) 0:01:17.978 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:27:17 +0000 (0:00:00.019) 0:01:17.998 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022757", "end": "2024-03-15 15:27:17.433294", "rc": 1, "start": "2024-03-15 15:27:17.410537" } 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:27:17 +0000 (0:00:00.309) 0:01:18.307 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:27:17 +0000 (0:00:00.022) 0:01:18.330 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:27:17 +0000 (0:00:00.024) 0:01:18.354 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:27:17 +0000 (0:00:00.023) 0:01:18.378 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:27:17 +0000 (0:00:00.025) 0:01:18.403 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:27:17 +0000 (0:00:00.023) 0:01:18.427 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:27:17 +0000 (0:00:00.030) 0:01:18.457 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:27:17 +0000 (0:00:00.054) 0:01:18.511 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:27:17 +0000 (0:00:00.039) 0:01:18.550 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:27:17 +0000 (0:00:00.240) 0:01:18.791 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:27:18 +0000 (0:00:00.027) 0:01:18.818 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:27:18 +0000 (0:00:00.029) 0:01:18.848 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:27:18 +0000 (0:00:00.054) 0:01:18.903 ********** 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.046174", "end": "2024-03-15 15:27:18.367182", "rc": 1, "start": "2024-03-15 15:27:18.321008" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tests_states.yml:124 Friday 15 March 2024 15:27:18 +0000 (0:00:00.355) 0:01:19.259 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:27:18 +0000 (0:00:00.036) 0:01:19.296 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:27:18 +0000 (0:00:00.035) 0:01:19.331 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:27:18 +0000 (0:00:00.043) 0:01:19.374 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:27:18 +0000 (0:00:00.033) 0:01:19.408 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:27:18 +0000 (0:00:00.032) 0:01:19.440 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004204", "end": "2024-03-15 15:27:18.860354", "rc": 0, "start": "2024-03-15 15:27:18.856150" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:27:18 +0000 (0:00:00.255) 0:01:19.696 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:27:18 +0000 (0:00:00.030) 0:01:19.726 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:27:18 +0000 (0:00:00.026) 0:01:19.753 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:27:19 +0000 (0:00:00.045) 0:01:19.798 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:19 +0000 (0:00:00.049) 0:01:19.847 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:19 +0000 (0:00:00.099) 0:01:19.946 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:19 +0000 (0:00:00.037) 0:01:19.984 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:19 +0000 (0:00:00.025) 0:01:20.009 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:19 +0000 (0:00:00.025) 0:01:20.034 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:21 +0000 (0:00:02.614) 0:01:22.649 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:22 +0000 (0:00:00.887) 0:01:23.537 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:22 +0000 (0:00:00.025) 0:01:23.563 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:22 +0000 (0:00:00.055) 0:01:23.618 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:22 +0000 (0:00:00.032) 0:01:23.651 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:22 +0000 (0:00:00.040) 0:01:23.691 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:22 +0000 (0:00:00.040) 0:01:23.732 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:22 +0000 (0:00:00.047) 0:01:23.780 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:23 +0000 (0:00:00.059) 0:01:23.839 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:23 +0000 (0:00:00.086) 0:01:23.925 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:23 +0000 (0:00:00.036) 0:01:23.962 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:23 +0000 (0:00:00.063) 0:01:24.026 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:23 +0000 (0:00:00.472) 0:01:24.499 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:23 +0000 (0:00:00.040) 0:01:24.539 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:23 +0000 (0:00:00.039) 0:01:24.579 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:23 +0000 (0:00:00.022) 0:01:24.601 ********** 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, d0495697-51cb-42eb-ab5c-51624a3df649 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:24 +0000 (0:00:00.530) 0:01:25.132 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:24 +0000 (0:00:00.026) 0:01:25.159 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0495697-51cb-42eb-ab5c-51624a3df649" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:24 +0000 (0:00:00.025) 0:01:25.185 ********** 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, d0495697-51cb-42eb-ab5c-51624a3df649\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0495697-51cb-42eb-ab5c-51624a3df649" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:24 +0000 (0:00:00.025) 0:01:25.210 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:24 +0000 (0:00:00.025) 0:01:25.236 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:27:24 +0000 (0:00:00.258) 0:01:25.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, d0495697-51cb-42eb-ab5c-51624a3df649\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0495697-51cb-42eb-ab5c-51624a3df649" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:27:24 +0000 (0:00:00.040) 0:01:25.535 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:24 +0000 (0:00:00.098) 0:01:25.634 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:24 +0000 (0:00:00.047) 0:01:25.681 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:24 +0000 (0:00:00.037) 0:01:25.719 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:24 +0000 (0:00:00.033) 0:01:25.752 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:24 +0000 (0:00:00.026) 0:01:25.778 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:27 +0000 (0:00:02.621) 0:01:28.400 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:28 +0000 (0:00:00.841) 0:01:29.242 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:28 +0000 (0:00:00.025) 0:01:29.267 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:28 +0000 (0:00:00.024) 0:01:29.292 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:28 +0000 (0:00:00.025) 0:01:29.317 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:28 +0000 (0:00:00.039) 0:01:29.356 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:28 +0000 (0:00:00.030) 0:01:29.387 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:28 +0000 (0:00:00.098) 0:01:29.485 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:28 +0000 (0:00:00.054) 0:01:29.540 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:28 +0000 (0:00:00.027) 0:01:29.568 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:28 +0000 (0:00:00.026) 0:01:29.594 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:28 +0000 (0:00:00.037) 0:01:29.631 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:29 +0000 (0:00:00.465) 0:01:30.097 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:29 +0000 (0:00:00.037) 0:01:30.135 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:29 +0000 (0:00:00.021) 0:01:30.156 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:29 +0000 (0:00:00.020) 0:01:30.176 ********** 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, d0495697-51cb-42eb-ab5c-51624a3df649 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:29 +0000 (0:00:00.426) 0:01:30.602 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:29 +0000 (0:00:00.025) 0:01:30.627 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0495697-51cb-42eb-ab5c-51624a3df649 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:29 +0000 (0:00:00.023) 0:01:30.651 ********** 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, d0495697-51cb-42eb-ab5c-51624a3df649 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0495697-51cb-42eb-ab5c-51624a3df649 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:29 +0000 (0:00:00.026) 0:01:30.677 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:29 +0000 (0:00:00.026) 0:01:30.703 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:27:30 +0000 (0:00:00.248) 0:01:30.952 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:30 +0000 (0:00:00.098) 0:01:31.051 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:30 +0000 (0:00:00.058) 0:01:31.109 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:30 +0000 (0:00:00.037) 0:01:31.146 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:30 +0000 (0:00:00.026) 0:01:31.173 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:30 +0000 (0:00:00.025) 0:01:31.198 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:33 +0000 (0:00:02.624) 0:01:33.823 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:33 +0000 (0:00:00.874) 0:01:34.697 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:33 +0000 (0:00:00.025) 0:01:34.723 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:33 +0000 (0:00:00.032) 0:01:34.756 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:34 +0000 (0:00:00.042) 0:01:34.799 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:34 +0000 (0:00:00.069) 0:01:34.868 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:34 +0000 (0:00:00.050) 0:01:34.919 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:34 +0000 (0:00:00.175) 0:01:35.094 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:34 +0000 (0:00:00.056) 0:01:35.150 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:34 +0000 (0:00:00.025) 0:01:35.175 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:34 +0000 (0:00:00.030) 0:01:35.205 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:34 +0000 (0:00:00.037) 0:01:35.243 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:34 +0000 (0:00:00.478) 0:01:35.722 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:34 +0000 (0:00:00.037) 0:01:35.760 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:34 +0000 (0:00:00.028) 0:01:35.788 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:35 +0000 (0:00:00.032) 0:01:35.821 ********** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:35 +0000 (0:00:00.554) 0:01:36.375 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:35 +0000 (0:00:00.028) 0:01:36.404 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:35 +0000 (0:00:00.026) 0:01:36.430 ********** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:35 +0000 (0:00:00.025) 0:01:36.455 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:35 +0000 (0:00:00.026) 0:01:36.481 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:27:35 +0000 (0:00:00.257) 0:01:36.739 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:27:36 +0000 (0:00:00.091) 0:01:36.830 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:27:36 +0000 (0:00:00.051) 0:01:36.882 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:27:36 +0000 (0:00:00.054) 0:01:36.936 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:27:36 +0000 (0:00:00.037) 0:01:36.974 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:27:36 +0000 (0:00:00.033) 0:01:37.008 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:27:36 +0000 (0:00:00.025) 0:01:37.033 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:27:38 +0000 (0:00:02.599) 0:01:39.632 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:27:39 +0000 (0:00:00.836) 0:01:40.469 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:27:39 +0000 (0:00:00.024) 0:01:40.493 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:27:39 +0000 (0:00:00.023) 0:01:40.517 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:27:39 +0000 (0:00:00.072) 0:01:40.590 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:27:39 +0000 (0:00:00.042) 0:01:40.632 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:27:39 +0000 (0:00:00.030) 0:01:40.663 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:27:39 +0000 (0:00:00.037) 0:01:40.701 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:27:39 +0000 (0:00:00.055) 0:01:40.756 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:27:39 +0000 (0:00:00.024) 0:01:40.780 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:27:40 +0000 (0:00:00.025) 0:01:40.805 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:27:40 +0000 (0:00:00.036) 0:01:40.842 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:27:40 +0000 (0:00:00.464) 0:01:41.307 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:27:40 +0000 (0:00:00.046) 0:01:41.354 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:27:40 +0000 (0:00:00.026) 0:01:41.380 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:27:40 +0000 (0:00:00.021) 0:01:41.402 ********** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:27:41 +0000 (0:00:00.445) 0:01:41.847 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:27:41 +0000 (0:00:00.026) 0:01:41.874 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:27:41 +0000 (0:00:00.024) 0:01:41.898 ********** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:27:41 +0000 (0:00:00.024) 0:01:41.922 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:27:41 +0000 (0:00:00.068) 0:01:41.991 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:27:41 +0000 (0:00:00.251) 0:01:42.242 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:27:41 +0000 (0:00:00.042) 0:01:42.284 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:27:41 +0000 (0:00:00.036) 0:01:42.321 ********** 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:27:41 +0000 (0:00:00.022) 0:01:42.344 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:27:41 +0000 (0:00:00.241) 0:01:42.586 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:27:41 +0000 (0:00:00.035) 0:01:42.621 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022455", "end": "2024-03-15 15:27:42.055798", "rc": 1, "start": "2024-03-15 15:27:42.033343" } 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_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:27:42 +0000 (0:00:00.264) 0:01:42.886 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:27:42 +0000 (0:00:00.021) 0:01:42.908 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:27:42 +0000 (0:00:00.021) 0:01:42.929 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:27:42 +0000 (0:00:00.024) 0:01:42.953 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:27:42 +0000 (0:00:00.022) 0:01:42.975 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:27:42 +0000 (0:00:00.021) 0:01:42.997 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 15 March 2024 15:27:42 +0000 (0:00:00.022) 0:01:43.020 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.388994", "end": "2024-03-15 15:27:42.822145", "rc": 0, "start": "2024-03-15 15:27:42.433151" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 15 March 2024 15:27:42 +0000 (0:00:00.676) 0:01:43.697 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 15 March 2024 15:27:42 +0000 (0:00:00.024) 0:01:43.721 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:27:42 +0000 (0:00:00.023) 0:01:43.744 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:27:43 +0000 (0:00:00.054) 0:01:43.799 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:27:43 +0000 (0:00:00.036) 0:01:43.836 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:27:43 +0000 (0:00:00.247) 0:01:44.083 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:27:43 +0000 (0:00:00.024) 0:01:44.107 ********** 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_hotfix3__8457_/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:27:43 +0000 (0:00:00.025) 0:01:44.133 ********** included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:27:43 +0000 (0:00:00.044) 0:01:44.177 ********** 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.044929", "end": "2024-03-15 15:27:43.674451", "rc": 1, "start": "2024-03-15 15:27:43.629522" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 15:27:43 +0000 (0:00:00.327) 0:01:44.505 ********** 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.010731", "end": "2024-03-15 15:27:43.926527", "rc": 0, "start": "2024-03-15 15:27:43.915796" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0e:1b:36:60:fe:33 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.73/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2178sec preferred_lft 2178sec inet6 fe80::c1b:36ff:fe60:fe33/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.73 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.73 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 15:27:43 +0000 (0:00:00.254) 0:01:44.759 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=298 rescued=0 ignored=10 Friday 15 March 2024 15:27:44 +0000 (0:00:00.102) 0:01:44.862 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.60s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.74s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.65s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.64s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.64s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.63s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.61s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.61s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.60s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/git-nm_plugin_hotfix3__8457_/tests/tests_states_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3__8457_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---