# 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-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tests_states_nm.yml:6 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.034) 0:00:00.034 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tests_states_nm.yml:9 Saturday 24 February 2024 19:07:28 +0000 (0:00:01.052) 0:00:01.087 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/tasks/el_repo_setup.yml:3 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.018) 0:00:01.105 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tasks/el_repo_setup.yml:17 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.424) 0:00:01.530 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tasks/el_repo_setup.yml:22 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.421) 0:00:01.951 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tasks/el_repo_setup.yml:26 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.016) 0:00:01.968 ***** 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-more-test-debug84ynh6oh/tests/tasks/el_repo_setup.yml:51 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.008) 0:00:01.976 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml:8 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.023) 0:00:02.000 ***** 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-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml:24 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.008) 0:00:02.008 ***** 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-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml:30 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.007) 0:00:02.016 ***** 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-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml:35 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.007) 0:00:02.024 ***** 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-more-test-debug84ynh6oh/tests/tasks/enable_epel.yml:40 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.008) 0:00:02.033 ***** 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-more-test-debug84ynh6oh/tests/tests_states_nm.yml:11 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.007) 0:00:02.040 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:3 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.014) 0:00:02.055 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:11 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.784) 0:00:02.840 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:22 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.011) 0:00:02.851 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.024) 0:00:02.876 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.012) 0:00:02.888 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.048) 0:00:02.936 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.013) 0:00:02.950 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:29 +0000 (0:00:00.020) 0:00:02.971 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004239", "end": "2024-02-24 19:07:30.193828", "rc": 0, "start": "2024-02-24 19:07:30.189589" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.315) 0:00:03.287 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.015) 0:00:03.302 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.010) 0:00:03.312 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.015) 0:00:03.328 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008450", "end": "2024-02-24 19:07:30.481875", "rc": 1, "start": "2024-02-24 19:07:30.473425" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.250) 0:00:03.578 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.013) 0:00:03.592 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.234) 0:00:03.827 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.013) 0:00:03.840 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.016) 0:00:03.856 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.038) 0:00:03.895 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.020) 0:00:03.916 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.050) 0:00:03.966 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.027) 0:00:03.994 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:07:30 +0000 (0:00:00.023) 0:00:04.017 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:07:33 +0000 (0:00:02.366) 0:00:06.384 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:07:34 +0000 (0:00:01.079) 0:00:07.463 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.022) 0:00:07.485 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.022) 0:00:07.508 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.021) 0:00:07.530 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.069) 0:00:07.600 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.039) 0:00:07.639 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.032) 0:00:07.672 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.074) 0:00:07.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.705) 0:00:08.451 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.079) 0:00:08.531 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.048) 0:00:08.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.030) 0:00:08.609 ***** 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, 2b7919d0-9103-4104-a87b-4c849d44520d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.640) 0:00:09.250 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.025) 0:00:09.276 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b7919d0-9103-4104-a87b-4c849d44520d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.024) 0:00:09.300 ***** 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, 2b7919d0-9103-4104-a87b-4c849d44520d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b7919d0-9103-4104-a87b-4c849d44520d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.026) 0:00:09.326 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.037) 0:00:09.364 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.349) 0:00:09.714 ***** 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, 2b7919d0-9103-4104-a87b-4c849d44520d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b7919d0-9103-4104-a87b-4c849d44520d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.021) 0:00:09.736 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.042) 0:00:09.778 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.063) 0:00:09.842 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.037) 0:00:09.879 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.245) 0:00:10.124 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.021) 0:00:10.146 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023318", "end": "2024-02-24 19:07:37.309995", "rc": 0, "start": "2024-02-24 19:07:37.286677" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.271) 0:00:10.418 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.041) 0:00:10.460 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.023) 0:00:10.483 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.021) 0:00:10.505 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.025) 0:00:10.531 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.020) 0:00:10.551 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.022) 0:00:10.573 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.022) 0:00:10.596 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.023) 0:00:10.619 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.064) 0:00:10.683 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.033) 0:00:10.717 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801656.0865257, "block_size": 4096, "blocks": 0, "ctime": 1708801656.0865257, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35345, "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": 1708801656.0865257, "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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.277) 0:00:10.994 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.024) 0:00:11.018 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.022) 0:00:11.041 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.037) 0:00:11.078 ***** 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.065810", "end": "2024-02-24 19:07:38.284411", "rc": 1, "start": "2024-02-24 19:07:38.218601" } STDOUT: Connection 'statebr' (2b7919d0-9103-4104-a87b-4c849d44520d) 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-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:45 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.309) 0:00:11.387 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.035) 0:00:11.423 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.022) 0:00:11.445 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.042) 0:00:11.487 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.039) 0:00:11.527 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.038) 0:00:11.566 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004142", "end": "2024-02-24 19:07:38.733925", "rc": 0, "start": "2024-02-24 19:07:38.729783" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.269) 0:00:11.836 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.019) 0:00:11.856 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.045) 0:00:11.901 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:07:38 +0000 (0:00:00.036) 0:00:11.938 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007233", "end": "2024-02-24 19:07:39.085738", "rc": 1, "start": "2024-02-24 19:07:39.078505" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.249) 0:00:12.187 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.030) 0:00:12.218 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.242) 0:00:12.461 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.023) 0:00:12.484 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.035) 0:00:12.520 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.042) 0:00:12.562 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.059) 0:00:12.621 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.036) 0:00:12.657 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.024) 0:00:12.682 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:07:39 +0000 (0:00:00.053) 0:00:12.735 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:07:41 +0000 (0:00:02.277) 0:00:15.012 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.819) 0:00:15.832 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.024) 0:00:15.856 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.028) 0:00:15.885 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.024) 0:00:15.909 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.064) 0:00:15.974 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.028) 0:00:16.002 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.028) 0:00:16.031 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.038) 0:00:16.069 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:07:43 +0000 (0:00:00.500) 0:00:16.569 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:07:43 +0000 (0:00:00.037) 0:00:16.607 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:07:43 +0000 (0:00:00.019) 0:00:16.627 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:07:43 +0000 (0:00:00.051) 0:00:16.678 ***** 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, 299daadf-0de2-4bf4-885f-3f207e6d2d96 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.432) 0:00:17.111 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.025) 0:00:17.137 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 299daadf-0de2-4bf4-885f-3f207e6d2d96" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.023) 0:00:17.161 ***** 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, 299daadf-0de2-4bf4-885f-3f207e6d2d96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 299daadf-0de2-4bf4-885f-3f207e6d2d96" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.027) 0:00:17.188 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.045) 0:00:17.234 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.254) 0:00:17.488 ***** 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, 299daadf-0de2-4bf4-885f-3f207e6d2d96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 299daadf-0de2-4bf4-885f-3f207e6d2d96" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.024) 0:00:17.513 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.044) 0:00:17.557 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.031) 0:00:17.589 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.244) 0:00:17.834 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.021) 0:00:17.856 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.063) 0:00:17.919 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:44 +0000 (0:00:00.033) 0:00:17.953 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.260) 0:00:18.213 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.032) 0:00:18.245 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023620", "end": "2024-02-24 19:07:45.434029", "rc": 0, "start": "2024-02-24 19:07:45.410409" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.292) 0:00:18.537 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.022) 0:00:18.560 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.021) 0:00:18.582 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.019) 0:00:18.601 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.021) 0:00:18.623 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.026) 0:00:18.649 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.023) 0:00:18.673 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.024) 0:00:18.697 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.025) 0:00:18.723 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.029) 0:00:18.753 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.023) 0:00:18.776 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.045) 0:00:18.821 ***** 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.044400", "end": "2024-02-24 19:07:46.012880", "rc": 1, "start": "2024-02-24 19:07:45.968480" } STDOUT: Connection 'statebr' (299daadf-0de2-4bf4-885f-3f207e6d2d96) 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-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:65 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.338) 0:00:19.160 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.037) 0:00:19.198 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.029) 0:00:19.227 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.062) 0:00:19.289 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.036) 0:00:19.325 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.043) 0:00:19.368 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004323", "end": "2024-02-24 19:07:46.526996", "rc": 0, "start": "2024-02-24 19:07:46.522673" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.300) 0:00:19.669 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.083) 0:00:19.752 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.046) 0:00:19.798 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.040) 0:00:19.839 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.043) 0:00:19.882 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.069) 0:00:19.952 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.034) 0:00:19.986 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.023) 0:00: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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.023) 0:00:20.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:07:49 +0000 (0:00:02.245) 0:00:22.278 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.830) 0:00:23.108 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.023) 0:00:23.132 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.022) 0:00:23.155 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.022) 0:00:23.177 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.052) 0:00:23.230 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.022) 0:00:23.253 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.024) 0:00:23.278 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.074) 0:00:23.352 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.469) 0:00:23.821 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.040) 0:00:23.862 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.023) 0:00:23.885 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.019) 0:00:23.905 ***** 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, 126dc659-a4de-4e46-af35-b0c04a3cb267 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.501) 0:00:24.406 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.032) 0:00:24.439 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 126dc659-a4de-4e46-af35-b0c04a3cb267" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.058) 0:00:24.497 ***** 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, 126dc659-a4de-4e46-af35-b0c04a3cb267\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 126dc659-a4de-4e46-af35-b0c04a3cb267" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.027) 0:00:24.525 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.024) 0:00:24.550 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.266) 0:00:24.816 ***** 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, 126dc659-a4de-4e46-af35-b0c04a3cb267\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 126dc659-a4de-4e46-af35-b0c04a3cb267" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.032) 0:00:24.849 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.059) 0:00:24.908 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.086) 0:00:24.995 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.039) 0:00:25.035 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.035) 0:00:25.071 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.024) 0:00:25.096 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.023) 0:00:25.119 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:07:54 +0000 (0:00:02.327) 0:00:27.446 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.843) 0:00:28.290 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.024) 0:00:28.315 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.032) 0:00:28.347 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.026) 0:00:28.374 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.063) 0:00:28.438 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.024) 0:00:28.462 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.024) 0:00:28.486 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.113) 0:00:28.599 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.501) 0:00:29.101 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.039) 0:00:29.141 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.024) 0:00:29.166 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.022) 0:00:29.188 ***** 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, 126dc659-a4de-4e46-af35-b0c04a3cb267 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.440) 0:00:29.628 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.031) 0:00:29.659 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 126dc659-a4de-4e46-af35-b0c04a3cb267 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.025) 0:00:29.685 ***** 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, 126dc659-a4de-4e46-af35-b0c04a3cb267 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 126dc659-a4de-4e46-af35-b0c04a3cb267 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.027) 0:00:29.713 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.027) 0:00:29.740 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:56 +0000 (0:00:00.272) 0:00:30.013 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.067) 0:00:30.080 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.061) 0:00:30.141 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801671.2294526, "block_size": 4096, "blocks": 0, "ctime": 1708801671.2294526, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35476, "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": 1708801671.2294526, "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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.281) 0:00:30.423 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.028) 0:00:30.451 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.056) 0:00:30.508 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.024) 0:00:30.533 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.264) 0:00:30.797 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:57 +0000 (0:00:00.019) 0:00:30.817 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023495", "end": "2024-02-24 19:07:57.985340", "rc": 0, "start": "2024-02-24 19:07:57.961845" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.273) 0:00:31.091 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.022) 0:00:31.113 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.024) 0:00:31.138 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.022) 0:00:31.160 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.020) 0:00:31.181 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.026) 0:00:31.207 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.038) 0:00:31.246 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.024) 0:00:31.270 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.030) 0:00:31.301 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.029) 0:00:31.331 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.063) 0:00:31.394 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.047) 0:00:31.442 ***** 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.072121", "end": "2024-02-24 19:07:58.659360", "rc": 1, "start": "2024-02-24 19:07:58.587239" } STDOUT: Connection 'statebr' (126dc659-a4de-4e46-af35-b0c04a3cb267) 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-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:83 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.324) 0:00:31.766 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.041) 0:00:31.808 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.022) 0:00:31.830 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.039) 0:00:31.870 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.033) 0:00:31.903 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.036) 0:00:31.940 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004197", "end": "2024-02-24 19:07:59.086759", "rc": 0, "start": "2024-02-24 19:07:59.082562" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.253) 0:00:32.193 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.024) 0:00:32.217 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.023) 0:00:32.241 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.076) 0:00:32.317 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.045) 0:00:32.363 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.039) 0:00:32.402 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.033) 0:00:32.435 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.021) 0:00:32.457 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.022) 0:00:32.479 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:01 +0000 (0:00:02.353) 0:00:34.833 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.842) 0:00:35.675 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.035) 0:00:35.711 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.051) 0:00:35.762 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.036) 0:00:35.799 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.148) 0:00:35.948 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.029) 0:00:35.977 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.038) 0:00:36.016 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:02 +0000 (0:00:00.052) 0:00:36.069 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.525) 0:00:36.594 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.064) 0:00:36.659 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.027) 0:00:36.686 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.021) 0:00:36.708 ***** 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, 27143f58-48df-4215-9eaa-8bb05267c298 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.494) 0:00:37.202 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.025) 0:00:37.228 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27143f58-48df-4215-9eaa-8bb05267c298" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.036) 0:00:37.264 ***** 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, 27143f58-48df-4215-9eaa-8bb05267c298\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27143f58-48df-4215-9eaa-8bb05267c298" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.027) 0:00:37.291 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.029) 0:00:37.321 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.295) 0:00:37.616 ***** 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, 27143f58-48df-4215-9eaa-8bb05267c298\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27143f58-48df-4215-9eaa-8bb05267c298" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.025) 0:00:37.641 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.085) 0:00:37.727 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.056) 0:00:37.783 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.035) 0:00:37.818 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.022) 0:00:37.841 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.025) 0:00:37.867 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:07 +0000 (0:00:02.239) 0:00:40.106 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:07 +0000 (0:00:00.821) 0:00:40.928 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:07 +0000 (0:00:00.023) 0:00:40.951 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:07 +0000 (0:00:00.023) 0:00:40.974 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:07 +0000 (0:00:00.022) 0:00:40.997 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:07 +0000 (0:00:00.057) 0:00:41.054 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.057) 0:00:41.112 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.024) 0:00:41.136 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.034) 0:00:41.171 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.474) 0:00:41.645 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.038) 0:00:41.684 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.031) 0:00:41.716 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.025) 0:00:41.742 ***** 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, 27143f58-48df-4215-9eaa-8bb05267c298 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.421) 0:00:42.164 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.025) 0:00:42.189 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27143f58-48df-4215-9eaa-8bb05267c298 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.028) 0:00:42.218 ***** 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, 27143f58-48df-4215-9eaa-8bb05267c298 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27143f58-48df-4215-9eaa-8bb05267c298 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.024) 0:00:42.243 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.024) 0:00:42.267 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.297) 0:00:42.564 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.063) 0:00:42.628 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.100) 0:00:42.728 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.045) 0:00:42.774 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.079) 0:00:42.853 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.040) 0:00:42.894 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.042) 0:00:42.936 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:12 +0000 (0:00:02.206) 0:00:45.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:12 +0000 (0:00:00.827) 0:00:45.970 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:12 +0000 (0:00:00.024) 0:00:45.995 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:12 +0000 (0:00:00.023) 0:00:46.019 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:12 +0000 (0:00:00.034) 0:00:46.053 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.058) 0:00:46.112 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.025) 0:00:46.137 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.070) 0:00:46.207 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.038) 0:00:46.246 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.454) 0:00:46.700 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.039) 0:00:46.740 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.024) 0:00:46.764 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.026) 0:00:46.791 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.467) 0:00:47.258 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.024) 0:00:47.283 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.023) 0:00:47.307 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.024) 0:00:47.332 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.023) 0:00:47.355 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.254) 0:00:47.610 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.050) 0:00:47.660 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.086) 0:00:47.746 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801684.0430179, "block_size": 4096, "blocks": 0, "ctime": 1708801684.0430179, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35607, "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": 1708801684.0430179, "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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.238) 0:00:47.985 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.023) 0:00:48.008 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.035) 0:00:48.044 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.021) 0:00:48.065 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.249) 0:00:48.314 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.025) 0:00:48.340 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022870", "end": "2024-02-24 19:08:15.501509", "rc": 1, "start": "2024-02-24 19:08:15.478639" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.271) 0:00:48.611 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.037) 0:00:48.649 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.039) 0:00:48.688 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.043) 0:00:48.732 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.039) 0:00:48.772 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.030) 0:00:48.802 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.027) 0:00:48.830 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.027) 0:00:48.857 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.020) 0:00:48.878 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.069) 0:00:48.947 ***** 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.064669", "end": "2024-02-24 19:08:16.150189", "rc": 1, "start": "2024-02-24 19:08:16.085520" } STDOUT: Connection 'statebr' (27143f58-48df-4215-9eaa-8bb05267c298) 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-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:102 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.318) 0:00:49.266 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.048) 0:00:49.314 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.042) 0:00:49.356 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.072) 0:00:49.429 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.043) 0:00:49.472 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.062) 0:00:49.535 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004132", "end": "2024-02-24 19:08:16.712993", "rc": 0, "start": "2024-02-24 19:08:16.708861" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.283) 0:00:49.819 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.026) 0:00:49.845 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.027) 0:00:49.873 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.055) 0:00:49.929 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.079) 0:00:50.008 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.054) 0:00:50.063 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.043) 0:00:50.106 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.040) 0:00:50.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 : Check which services are running] **** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.024) 0:00:50.171 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:19 +0000 (0:00:02.254) 0:00:52.425 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.858) 0:00:53.284 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.028) 0:00:53.313 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.024) 0:00:53.338 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.024) 0:00:53.362 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.055) 0:00:53.418 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.057) 0:00:53.475 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.027) 0:00:53.503 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.035) 0:00:53.539 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.474) 0:00:54.014 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:20 +0000 (0:00:00.037) 0:00:54.052 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.021) 0:00:54.073 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.023) 0:00:54.097 ***** 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, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.475) 0:00:54.573 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.023) 0:00:54.597 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.023) 0:00:54.621 ***** 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, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.024) 0:00:54.645 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.023) 0:00:54.669 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.255) 0:00:54.924 ***** 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, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.026) 0:00:54.951 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:21 +0000 (0:00:00.081) 0:00:55.032 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.043) 0:00:55.075 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.042) 0:00:55.118 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.027) 0:00:55.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 : Check which services are running] **** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.041) 0:00:55.187 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:24 +0000 (0:00:02.231) 0:00:57.419 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.869) 0:00:58.288 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.076) 0:00:58.365 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.036) 0:00:58.401 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.025) 0:00:58.427 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.052) 0:00:58.479 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.024) 0:00:58.504 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.056) 0:00:58.560 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.035) 0:00:58.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:25 +0000 (0:00:00.469) 0:00:59.065 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.055) 0:00:59.120 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.025) 0:00:59.145 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.055) 0:00:59.201 ***** 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, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.434) 0:00:59.636 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.025) 0:00:59.661 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.025) 0:00:59.686 ***** 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, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4ec93c7c-745a-4822-8ea7-990a0d8d1e84 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.031) 0:00:59.718 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.024) 0:00:59.743 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.257) 0:01:00.000 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:26 +0000 (0:00:00.043) 0:01:00.043 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.088) 0:01:00.132 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.037) 0:01:00.169 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.025) 0:01:00.195 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.025) 0:01:00.220 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:29 +0000 (0:00:02.239) 0:01:02.460 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.830) 0:01:03.290 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.028) 0:01:03.319 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.031) 0:01:03.350 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.025) 0:01:03.376 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.056) 0:01:03.432 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.025) 0:01:03.457 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.025) 0:01:03.483 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.037) 0:01:03.521 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:30 +0000 (0:00:00.489) 0:01:04.010 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.136) 0:01:04.146 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.024) 0:01:04.170 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.022) 0:01:04.193 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.490) 0:01:04.683 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.025) 0:01:04.709 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.023) 0:01:04.733 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.024) 0:01:04.757 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.029) 0:01:04.787 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:08:31 +0000 (0:00:00.250) 0:01:05.038 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.039) 0:01:05.078 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.044) 0:01:05.122 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.039) 0:01:05.161 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.156) 0:01:05.317 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.039) 0:01:05.357 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.034) 0:01:05.391 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:34 +0000 (0:00:02.300) 0:01:07.691 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.823) 0:01:08.514 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.025) 0:01:08.539 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.037) 0:01:08.577 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.030) 0:01:08.607 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.054) 0:01:08.662 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.025) 0:01:08.687 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.027) 0:01:08.715 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:35 +0000 (0:00:00.036) 0:01:08.751 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.454) 0:01:09.205 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.068) 0:01:09.274 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.020) 0:01:09.294 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.021) 0:01:09.315 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.505) 0:01:09.821 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.024) 0:01:09.845 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.023) 0:01:09.869 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.023) 0:01:09.893 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:36 +0000 (0:00:00.022) 0:01:09.915 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.253) 0:01:10.168 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.036) 0:01:10.205 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.035) 0:01:10.241 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.020) 0:01:10.262 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.254) 0:01:10.516 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.029) 0:01:10.546 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021585", "end": "2024-02-24 19:08:37.708103", "rc": 1, "start": "2024-02-24 19:08:37.686518" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.302) 0:01:10.849 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.028) 0:01:10.877 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.021) 0:01:10.899 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.022) 0:01:10.921 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.025) 0:01:10.947 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.022) 0:01:10.970 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.023) 0:01:10.993 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.048) 0:01:11.042 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.031) 0:01:11.074 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.238) 0:01:11.313 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.023) 0:01:11.336 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.022) 0:01:11.358 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.036) 0:01:11.395 ***** 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.042049", "end": "2024-02-24 19:08:38.573978", "rc": 1, "start": "2024-02-24 19:08:38.531929" } 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-more-test-debug84ynh6oh/tests/playbooks/tests_states.yml:124 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.336) 0:01:11.731 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.037) 0:01:11.769 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.024) 0:01:11.793 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.042) 0:01:11.835 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.032) 0:01:11.868 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.036) 0:01:11.904 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004227", "end": "2024-02-24 19:08:39.071671", "rc": 0, "start": "2024-02-24 19:08:39.067444" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.272) 0:01:12.177 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.029) 0:01:12.206 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.024) 0:01:12.231 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.041) 0:01:12.272 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.042) 0:01:12.315 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.076) 0:01:12.391 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.037) 0:01:12.429 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.024) 0:01:12.453 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.026) 0:01:12.480 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:41 +0000 (0:00:02.208) 0:01:14.688 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.812) 0:01:15.500 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.023) 0:01:15.524 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.024) 0:01:15.548 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.024) 0:01:15.573 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.054) 0:01:15.627 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.022) 0:01:15.650 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.023) 0:01:15.674 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:42 +0000 (0:00:00.089) 0:01:15.764 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.470) 0:01:16.234 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.042) 0:01:16.277 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.030) 0:01:16.308 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.019) 0:01:16.327 ***** 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, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.465) 0:01:16.793 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.026) 0:01:16.820 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.040) 0:01:16.860 ***** 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, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.044) 0:01:16.905 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:43 +0000 (0:00:00.025) 0:01:16.930 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.251) 0:01:17.181 ***** 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, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.023) 0:01:17.204 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.039) 0:01:17.244 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.074) 0:01:17.319 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.036) 0:01:17.355 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.027) 0:01:17.383 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:44 +0000 (0:00:00.026) 0:01:17.409 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:46 +0000 (0:00:02.278) 0:01:19.688 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.820) 0:01:20.508 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.024) 0:01:20.532 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.024) 0:01:20.557 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.029) 0:01:20.587 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.062) 0:01:20.650 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.027) 0:01:20.678 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.024) 0:01:20.702 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:47 +0000 (0:00:00.042) 0:01:20.744 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.480) 0:01:21.225 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.152) 0:01:21.377 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.033) 0:01:21.411 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.023) 0:01:21.435 ***** 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, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.461) 0:01:21.896 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.037) 0:01:21.933 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.026) 0:01:21.960 ***** 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, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12fd78d0-a11e-4af9-8a02-c3ce60c15f8c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.031) 0:01:21.992 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:48 +0000 (0:00:00.025) 0:01:22.017 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.250) 0:01:22.268 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.041) 0:01:22.310 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.038) 0:01:22.349 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.035) 0:01:22.384 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.031) 0:01:22.416 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:49 +0000 (0:00:00.070) 0:01:22.486 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:51 +0000 (0:00:02.210) 0:01:24.697 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.813) 0:01:25.510 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.023) 0:01:25.534 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.023) 0:01:25.558 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.022) 0:01:25.581 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.053) 0:01:25.635 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.023) 0:01:25.658 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.022) 0:01:25.681 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:52 +0000 (0:00:00.034) 0:01:25.716 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.454) 0:01:26.170 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.036) 0:01:26.206 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.020) 0:01:26.227 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.065) 0:01:26.293 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.502) 0:01:26.795 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.025) 0:01:26.821 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.024) 0:01:26.845 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.023) 0:01:26.868 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:53 +0000 (0:00:00.023) 0:01:26.892 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.247) 0:01:27.139 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.039) 0:01:27.179 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.044) 0:01:27.223 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/.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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.045) 0:01:27.269 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.041) 0:01:27.311 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.025) 0:01:27.336 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 February 2024 19:08:54 +0000 (0:00:00.074) 0:01:27.411 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 February 2024 19:08:56 +0000 (0:00:02.224) 0:01:29.635 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.826) 0:01:30.462 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.024) 0:01:30.486 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.024) 0:01:30.511 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.024) 0:01:30.535 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.054) 0:01:30.590 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.023) 0:01:30.614 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.025) 0:01:30.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 24 February 2024 19:08:57 +0000 (0:00:00.037) 0:01:30.676 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.462) 0:01:31.139 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.047) 0:01:31.187 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.023) 0:01:31.210 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.024) 0:01:31.234 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.544) 0:01:31.779 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.025) 0:01:31.804 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.023) 0:01:31.827 ***** 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-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.024) 0:01:31.852 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 24 February 2024 19:08:58 +0000 (0:00:00.024) 0:01:31.876 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.258) 0:01:32.135 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.041) 0:01:32.176 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.035) 0:01:32.212 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.022) 0:01:32.235 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.248) 0:01:32.483 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.020) 0:01:32.504 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022384", "end": "2024-02-24 19:08:59.670451", "rc": 1, "start": "2024-02-24 19:08:59.648067" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.269) 0:01:32.773 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.020) 0:01:32.794 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.054) 0:01:32.848 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.020) 0:01:32.869 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.020) 0:01:32.889 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.020) 0:01:32.910 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 February 2024 19:08:59 +0000 (0:00:00.022) 0:01:32.932 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.367398", "end": "2024-02-24 19:09:00.442454", "rc": 0, "start": "2024-02-24 19:09:00.075056" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.616) 0:01:33.548 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.023) 0:01:33.572 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.021) 0:01:33.593 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/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-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.047) 0:01:33.641 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.032) 0:01:33.673 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.247) 0:01:33.921 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.022) 0:01:33.944 ***** 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-more-test-debug84ynh6oh/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.021) 0:01:33.966 ***** included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debug84ynh6oh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:09:00 +0000 (0:00:00.040) 0:01:34.006 ***** 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.043045", "end": "2024-02-24 19:09:01.192779", "rc": 1, "start": "2024-02-24 19:09:01.149734" } 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-more-test-debug84ynh6oh/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 24 February 2024 19:09:01 +0000 (0:00:00.330) 0:01:34.336 ***** 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.009922", "end": "2024-02-24 19:09:01.490342", "rc": 0, "start": "2024-02-24 19:09:01.480420" } 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 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:eb:9f:16:59:c7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.114/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3003sec preferred_lft 3003sec inet6 fe80::4119:6043:1717:ba82/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.42.114 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.114 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-more-test-debug84ynh6oh/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 24 February 2024 19:09:01 +0000 (0:00:00.260) 0:01:34.597 ***** 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=253 rescued=0 ignored=11 Saturday 24 February 2024 19:09:01 +0000 (0:00:00.058) 0:01:34.655 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-more-test-debug84ynh6oh/.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.35s /WORKDIR/git-more-test-debug84ynh6oh/.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.33s /WORKDIR/git-more-test-debug84ynh6oh/.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.30s /WORKDIR/git-more-test-debug84ynh6oh/.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.28s /WORKDIR/git-more-test-debug84ynh6oh/.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.28s /WORKDIR/git-more-test-debug84ynh6oh/.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.25s /WORKDIR/git-more-test-debug84ynh6oh/.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.25s /WORKDIR/git-more-test-debug84ynh6oh/.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.24s /WORKDIR/git-more-test-debug84ynh6oh/.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.24s /WORKDIR/git-more-test-debug84ynh6oh/.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.23s /WORKDIR/git-more-test-debug84ynh6oh/.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.22s /WORKDIR/git-more-test-debug84ynh6oh/.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.21s /WORKDIR/git-more-test-debug84ynh6oh/.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.21s /WORKDIR/git-more-test-debug84ynh6oh/.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.21s /WORKDIR/git-more-test-debug84ynh6oh/.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.08s /WORKDIR/git-more-test-debug84ynh6oh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/git-more-test-debug84ynh6oh/tests/tests_states_nm.yml:6 -------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /WORKDIR/git-more-test-debug84ynh6oh/.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.86s /WORKDIR/git-more-test-debug84ynh6oh/.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.84s /WORKDIR/git-more-test-debug84ynh6oh/.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. ---^---^---^---^---^---