# 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-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tests_states_nm.yml:6 Friday 02 February 2024 18:53:09 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tests_states_nm.yml:9 Friday 02 February 2024 18:53:10 +0000 (0:00:01.038) 0:00:01.053 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/tasks/el_repo_setup.yml:3 Friday 02 February 2024 18:53:10 +0000 (0:00:00.016) 0:00:01.070 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tasks/el_repo_setup.yml:17 Friday 02 February 2024 18:53:11 +0000 (0:00:00.424) 0:00:01.495 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tasks/el_repo_setup.yml:22 Friday 02 February 2024 18:53:11 +0000 (0:00:00.329) 0:00:01.824 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tasks/el_repo_setup.yml:26 Friday 02 February 2024 18:53:11 +0000 (0:00:00.018) 0:00:01.843 ******* 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-bond_options_rewritemihlj477/tests/tasks/el_repo_setup.yml:51 Friday 02 February 2024 18:53:11 +0000 (0:00:00.009) 0:00:01.853 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml:8 Friday 02 February 2024 18:53:11 +0000 (0:00:00.027) 0:00:01.881 ******* 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-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml:24 Friday 02 February 2024 18:53:11 +0000 (0:00:00.010) 0:00:01.892 ******* 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-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml:30 Friday 02 February 2024 18:53:11 +0000 (0:00:00.008) 0:00:01.900 ******* 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-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml:35 Friday 02 February 2024 18:53:11 +0000 (0:00:00.008) 0:00:01.908 ******* 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-bond_options_rewritemihlj477/tests/tasks/enable_epel.yml:40 Friday 02 February 2024 18:53:11 +0000 (0:00:00.010) 0:00:01.919 ******* 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-bond_options_rewritemihlj477/tests/tests_states_nm.yml:11 Friday 02 February 2024 18:53:11 +0000 (0:00:00.009) 0:00:01.928 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:3 Friday 02 February 2024 18:53:11 +0000 (0:00:00.019) 0:00:01.947 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:11 Friday 02 February 2024 18:53:12 +0000 (0:00:00.809) 0:00:02.757 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:22 Friday 02 February 2024 18:53:12 +0000 (0:00:00.025) 0:00:02.782 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:53:12 +0000 (0:00:00.025) 0:00:02.808 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:53:12 +0000 (0:00:00.021) 0:00:02.829 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:53:12 +0000 (0:00:00.042) 0:00:02.871 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:53:12 +0000 (0:00:00.015) 0:00:02.887 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:53:12 +0000 (0:00:00.014) 0:00:02.902 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004000", "end": "2024-02-02 18:53:12.873154", "rc": 0, "start": "2024-02-02 18:53:12.869154" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:53:12 +0000 (0:00:00.340) 0:00:03.242 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:53:12 +0000 (0:00:00.016) 0:00:03.259 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:53:12 +0000 (0:00:00.017) 0:00:03.277 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/delete_interface.yml:3 Friday 02 February 2024 18:53:12 +0000 (0:00:00.028) 0:00:03.305 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008354", "end": "2024-02-02 18:53:13.184654", "rc": 1, "start": "2024-02-02 18:53:13.176300" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 02 February 2024 18:53:13 +0000 (0:00:00.247) 0:00:03.553 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:13 +0000 (0:00:00.017) 0:00:03.570 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 02 February 2024 18:53:13 +0000 (0:00:00.241) 0:00:03.811 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:53:13 +0000 (0:00:00.022) 0:00:03.834 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 02 February 2024 18:53:13 +0000 (0:00:00.032) 0:00:03.866 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:13 +0000 (0:00:00.065) 0:00:03.931 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:13 +0000 (0:00:00.033) 0:00:03.964 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:13 +0000 (0:00:00.064) 0:00:04.029 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:13 +0000 (0:00:00.037) 0:00:04.066 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:13 +0000 (0:00:00.036) 0:00:04.102 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:16 +0000 (0:00:02.455) 0:00:06.558 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:17 +0000 (0:00:01.098) 0:00:07.656 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:17 +0000 (0:00:00.029) 0:00:07.685 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:17 +0000 (0:00:00.028) 0:00:07.714 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:17 +0000 (0:00:00.030) 0:00:07.745 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:17 +0000 (0:00:00.071) 0:00:07.816 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:17 +0000 (0:00:00.029) 0:00:07.846 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:17 +0000 (0:00:00.027) 0:00:07.874 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:17 +0000 (0:00:00.064) 0:00:07.938 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:18 +0000 (0:00:00.759) 0:00:08.698 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:18 +0000 (0:00:00.058) 0:00:08.756 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:18 +0000 (0:00:00.040) 0:00:08.797 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:18 +0000 (0:00:00.037) 0:00:08.834 ******* 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, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:19 +0000 (0:00:00.712) 0:00:09.546 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:19 +0000 (0:00:00.046) 0:00:09.593 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:19 +0000 (0:00:00.034) 0:00:09.627 ******* 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, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:19 +0000 (0:00:00.040) 0:00:09.668 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:19 +0000 (0:00:00.033) 0:00:09.701 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 02 February 2024 18:53:19 +0000 (0:00:00.430) 0:00:10.132 ******* 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, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1588c0-5c68-4b6a-8142-1e92adbf4eb6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:53:19 +0000 (0:00:00.036) 0:00:10.168 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:53:19 +0000 (0:00:00.057) 0:00:10.225 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:53:19 +0000 (0:00:00.083) 0:00:10.309 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:53:19 +0000 (0:00:00.028) 0:00:10.337 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:53:20 +0000 (0:00:00.255) 0:00:10.593 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:53:20 +0000 (0:00:00.025) 0:00:10.618 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024031", "end": "2024-02-02 18:53:20.509947", "rc": 0, "start": "2024-02-02 18:53:20.485916" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:53:20 +0000 (0:00:00.277) 0:00:10.896 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:53:20 +0000 (0:00:00.027) 0:00:10.923 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:53:20 +0000 (0:00:00.025) 0:00:10.949 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:53:20 +0000 (0:00:00.024) 0:00:10.974 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:53:20 +0000 (0:00:00.025) 0:00:10.999 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:53:20 +0000 (0:00:00.027) 0:00:11.027 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:53:20 +0000 (0:00:00.028) 0:00:11.055 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:53:20 +0000 (0:00:00.028) 0:00:11.083 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:53:20 +0000 (0:00:00.028) 0:00:11.112 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:53:20 +0000 (0:00:00.057) 0:00:11.170 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:20 +0000 (0:00:00.038) 0:00:11.209 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899999.1086767, "block_size": 4096, "blocks": 0, "ctime": 1706899999.1086767, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37586, "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": 1706899999.1086767, "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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:53:21 +0000 (0:00:00.272) 0:00:11.482 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:53:21 +0000 (0:00:00.027) 0:00:11.509 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:53:21 +0000 (0:00:00.027) 0:00:11.536 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:53:21 +0000 (0:00:00.061) 0:00:11.598 ******* 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.070584", "end": "2024-02-02 18:53:21.539243", "rc": 1, "start": "2024-02-02 18:53:21.468659" } STDOUT: Connection 'statebr' (6f1588c0-5c68-4b6a-8142-1e92adbf4eb6) 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-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:45 Friday 02 February 2024 18:53:21 +0000 (0:00:00.330) 0:00:11.929 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:53:21 +0000 (0:00:00.042) 0:00:11.972 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:53:21 +0000 (0:00:00.026) 0:00:11.998 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:53:21 +0000 (0:00:00.057) 0:00:12.056 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:53:21 +0000 (0:00:00.060) 0:00:12.116 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:53:21 +0000 (0:00:00.061) 0:00:12.178 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004058", "end": "2024-02-02 18:53:22.056830", "rc": 0, "start": "2024-02-02 18:53:22.052772" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:53:22 +0000 (0:00:00.264) 0:00:12.443 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:53:22 +0000 (0:00:00.032) 0:00:12.475 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:53:22 +0000 (0:00:00.070) 0:00:12.546 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/delete_interface.yml:3 Friday 02 February 2024 18:53:22 +0000 (0:00:00.061) 0:00:12.608 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007042", "end": "2024-02-02 18:53:22.486468", "rc": 1, "start": "2024-02-02 18:53:22.479426" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 02 February 2024 18:53:22 +0000 (0:00:00.269) 0:00:12.877 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:22 +0000 (0:00:00.045) 0:00:12.922 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 02 February 2024 18:53:22 +0000 (0:00:00.261) 0:00:13.183 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:53:22 +0000 (0:00:00.040) 0:00:13.224 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 02 February 2024 18:53:22 +0000 (0:00:00.058) 0:00:13.283 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:23 +0000 (0:00:00.077) 0:00:13.361 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:23 +0000 (0:00:00.058) 0:00:13.419 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:23 +0000 (0:00:00.046) 0:00:13.466 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:23 +0000 (0:00:00.031) 0:00:13.497 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:23 +0000 (0:00:00.077) 0:00:13.574 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:25 +0000 (0:00:02.305) 0:00:15.879 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:26 +0000 (0:00:00.843) 0:00:16.723 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:26 +0000 (0:00:00.027) 0:00:16.751 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:26 +0000 (0:00:00.030) 0:00:16.781 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:26 +0000 (0:00:00.028) 0:00:16.810 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:26 +0000 (0:00:00.079) 0:00:16.889 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:26 +0000 (0:00:00.044) 0:00:16.934 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:26 +0000 (0:00:00.040) 0:00:16.975 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:26 +0000 (0:00:00.046) 0:00:17.021 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:27 +0000 (0:00:00.482) 0:00:17.503 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:27 +0000 (0:00:00.046) 0:00:17.550 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:27 +0000 (0:00:00.024) 0:00:17.574 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:27 +0000 (0:00:00.055) 0:00:17.630 ******* 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, 7dd83caf-4c80-436b-9683-0736967c9d84 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:27 +0000 (0:00:00.460) 0:00:18.090 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:27 +0000 (0:00:00.043) 0:00:18.133 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7dd83caf-4c80-436b-9683-0736967c9d84" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:27 +0000 (0:00:00.034) 0:00:18.168 ******* 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, 7dd83caf-4c80-436b-9683-0736967c9d84\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7dd83caf-4c80-436b-9683-0736967c9d84" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:27 +0000 (0:00:00.031) 0:00:18.199 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:27 +0000 (0:00:00.032) 0:00:18.232 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 02 February 2024 18:53:28 +0000 (0:00:00.265) 0:00:18.497 ******* 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, 7dd83caf-4c80-436b-9683-0736967c9d84\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7dd83caf-4c80-436b-9683-0736967c9d84" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:53:28 +0000 (0:00:00.027) 0:00:18.525 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 02 February 2024 18:53:28 +0000 (0:00:00.056) 0:00:18.581 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:28 +0000 (0:00:00.049) 0:00:18.630 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 02 February 2024 18:53:28 +0000 (0:00:00.249) 0:00:18.879 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:53:28 +0000 (0:00:00.028) 0:00:18.908 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:53:28 +0000 (0:00:00.076) 0:00:18.984 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:53:28 +0000 (0:00:00.032) 0:00:19.016 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:53:28 +0000 (0:00:00.256) 0:00:19.273 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:53:28 +0000 (0:00:00.025) 0:00:19.298 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023266", "end": "2024-02-02 18:53:29.189080", "rc": 0, "start": "2024-02-02 18:53:29.165814" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:53:29 +0000 (0:00:00.276) 0:00:19.575 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:53:29 +0000 (0:00:00.041) 0:00:19.617 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:53:29 +0000 (0:00:00.040) 0:00:19.657 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:53:29 +0000 (0:00:00.038) 0:00:19.696 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:53:29 +0000 (0:00:00.047) 0:00:19.743 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:53:29 +0000 (0:00:00.032) 0:00:19.775 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:53:29 +0000 (0:00:00.034) 0:00:19.810 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:53:29 +0000 (0:00:00.036) 0:00:19.847 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:53:29 +0000 (0:00:00.046) 0:00:19.893 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:53:29 +0000 (0:00:00.047) 0:00:19.940 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:53:29 +0000 (0:00:00.043) 0:00:19.984 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:53:29 +0000 (0:00:00.070) 0:00:20.054 ******* 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.044994", "end": "2024-02-02 18:53:29.976755", "rc": 1, "start": "2024-02-02 18:53:29.931761" } STDOUT: Connection 'statebr' (7dd83caf-4c80-436b-9683-0736967c9d84) 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-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:65 Friday 02 February 2024 18:53:30 +0000 (0:00:00.396) 0:00:20.450 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:53:30 +0000 (0:00:00.071) 0:00:20.521 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:53:30 +0000 (0:00:00.056) 0:00:20.578 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:53:30 +0000 (0:00:00.115) 0:00:20.694 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:53:30 +0000 (0:00:00.069) 0:00:20.763 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:53:30 +0000 (0:00:00.074) 0:00:20.837 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003935", "end": "2024-02-02 18:53:30.718097", "rc": 0, "start": "2024-02-02 18:53:30.714162" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:53:30 +0000 (0:00:00.274) 0:00:21.112 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:53:30 +0000 (0:00:00.056) 0:00:21.168 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:53:30 +0000 (0:00:00.045) 0:00:21.213 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 02 February 2024 18:53:30 +0000 (0:00:00.075) 0:00:21.289 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:31 +0000 (0:00:00.102) 0:00:21.392 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:31 +0000 (0:00:00.126) 0:00:21.518 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:31 +0000 (0:00:00.058) 0:00:21.577 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:31 +0000 (0:00:00.044) 0:00:21.621 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:31 +0000 (0:00:00.032) 0:00:21.654 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:33 +0000 (0:00:02.308) 0:00:23.962 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:34 +0000 (0:00:00.858) 0:00:24.820 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:34 +0000 (0:00:00.031) 0:00:24.852 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:34 +0000 (0:00:00.030) 0:00:24.882 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:34 +0000 (0:00:00.043) 0:00:24.926 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:34 +0000 (0:00:00.094) 0:00:25.020 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:34 +0000 (0:00:00.045) 0:00:25.065 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:34 +0000 (0:00:00.045) 0:00:25.111 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:34 +0000 (0:00:00.083) 0:00:25.194 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:35 +0000 (0:00:00.478) 0:00:25.672 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:35 +0000 (0:00:00.055) 0:00:25.728 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:35 +0000 (0:00:00.033) 0:00:25.761 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:35 +0000 (0:00:00.032) 0:00:25.794 ******* 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, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:35 +0000 (0:00:00.519) 0:00:26.313 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:35 +0000 (0:00:00.029) 0:00:26.343 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:36 +0000 (0:00:00.026) 0:00:26.369 ******* 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, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:36 +0000 (0:00:00.028) 0:00:26.397 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:36 +0000 (0:00:00.028) 0:00:26.426 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 02 February 2024 18:53:36 +0000 (0:00:00.260) 0:00:26.687 ******* 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, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:53:36 +0000 (0:00:00.038) 0:00:26.726 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml:3 Friday 02 February 2024 18:53:36 +0000 (0:00:00.042) 0:00:26.768 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:36 +0000 (0:00:00.101) 0:00:26.870 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:36 +0000 (0:00:00.052) 0:00:26.923 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:36 +0000 (0:00:00.041) 0:00:26.965 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:36 +0000 (0:00:00.029) 0:00:26.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:36 +0000 (0:00:00.030) 0:00:27.025 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:38 +0000 (0:00:02.307) 0:00:29.333 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:39 +0000 (0:00:00.844) 0:00:30.177 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:39 +0000 (0:00:00.027) 0:00:30.205 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:39 +0000 (0:00:00.027) 0:00:30.232 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:39 +0000 (0:00:00.027) 0:00:30.260 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:39 +0000 (0:00:00.071) 0:00:30.331 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:40 +0000 (0:00:00.028) 0:00:30.359 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:40 +0000 (0:00:00.027) 0:00:30.387 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:40 +0000 (0:00:00.078) 0:00:30.466 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:40 +0000 (0:00:00.481) 0:00:30.947 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:40 +0000 (0:00:00.044) 0:00:30.991 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:40 +0000 (0:00:00.023) 0:00:31.015 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:40 +0000 (0:00:00.030) 0:00:31.046 ******* 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, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:41 +0000 (0:00:00.457) 0:00:31.504 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:41 +0000 (0:00:00.032) 0:00:31.536 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:41 +0000 (0:00:00.028) 0:00:31.564 ******* 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, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:41 +0000 (0:00:00.029) 0:00:31.594 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:41 +0000 (0:00:00.031) 0:00:31.625 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:53:41 +0000 (0:00:00.261) 0:00:31.887 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:53:41 +0000 (0:00:00.051) 0:00:31.939 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:41 +0000 (0:00:00.054) 0:00:31.994 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706900015.869332, "block_size": 4096, "blocks": 0, "ctime": 1706900015.869332, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37717, "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": 1706900015.869332, "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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:53:41 +0000 (0:00:00.290) 0:00:32.284 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:53:41 +0000 (0:00:00.029) 0:00:32.313 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:53:42 +0000 (0:00:00.052) 0:00:32.366 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:53:42 +0000 (0:00:00.030) 0:00:32.396 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:53:42 +0000 (0:00:00.259) 0:00:32.656 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:53:42 +0000 (0:00:00.029) 0:00:32.686 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023813", "end": "2024-02-02 18:53:42.579273", "rc": 0, "start": "2024-02-02 18:53:42.555460" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:53:42 +0000 (0:00:00.278) 0:00:32.964 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:53:42 +0000 (0:00:00.029) 0:00:32.993 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:53:42 +0000 (0:00:00.027) 0:00:33.020 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:53:42 +0000 (0:00:00.025) 0:00:33.046 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:53:42 +0000 (0:00:00.026) 0:00:33.073 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:53:42 +0000 (0:00:00.039) 0:00:33.113 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:53:42 +0000 (0:00:00.035) 0:00:33.148 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:53:42 +0000 (0:00:00.027) 0:00:33.176 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:53:42 +0000 (0:00:00.029) 0:00:33.205 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:53:42 +0000 (0:00:00.032) 0:00:33.237 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:53:42 +0000 (0:00:00.059) 0:00:33.297 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:53:43 +0000 (0:00:00.052) 0:00:33.349 ******* 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.079412", "end": "2024-02-02 18:53:43.296048", "rc": 1, "start": "2024-02-02 18:53:43.216636" } STDOUT: Connection 'statebr' (1e3aad7a-66ed-4bf9-9d04-e7bb1fd24bce) 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-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:83 Friday 02 February 2024 18:53:43 +0000 (0:00:00.329) 0:00:33.678 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:53:43 +0000 (0:00:00.046) 0:00:33.724 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:53:43 +0000 (0:00:00.027) 0:00:33.752 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:53:43 +0000 (0:00:00.053) 0:00:33.806 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:53:43 +0000 (0:00:00.042) 0:00:33.848 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:53:43 +0000 (0:00:00.051) 0:00:33.900 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004041", "end": "2024-02-02 18:53:43.771279", "rc": 0, "start": "2024-02-02 18:53:43.767238" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:53:43 +0000 (0:00:00.254) 0:00:34.154 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:53:43 +0000 (0:00:00.029) 0:00:34.184 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:53:43 +0000 (0:00:00.030) 0:00:34.214 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 02 February 2024 18:53:43 +0000 (0:00:00.107) 0:00:34.321 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:44 +0000 (0:00:00.070) 0:00:34.391 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:44 +0000 (0:00:00.054) 0:00:34.446 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:44 +0000 (0:00:00.052) 0:00:34.499 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:44 +0000 (0:00:00.028) 0:00:34.528 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:44 +0000 (0:00:00.030) 0:00:34.558 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:46 +0000 (0:00:02.310) 0:00:36.868 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:47 +0000 (0:00:00.846) 0:00:37.715 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:47 +0000 (0:00:00.030) 0:00:37.745 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:47 +0000 (0:00:00.030) 0:00:37.776 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:47 +0000 (0:00:00.037) 0:00:37.814 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:47 +0000 (0:00:00.161) 0:00:37.976 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:47 +0000 (0:00:00.031) 0:00:38.007 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:47 +0000 (0:00:00.040) 0:00:38.048 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:47 +0000 (0:00:00.045) 0:00:38.093 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:48 +0000 (0:00:00.475) 0:00:38.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:48 +0000 (0:00:00.052) 0:00:38.622 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:48 +0000 (0:00:00.029) 0:00:38.652 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:48 +0000 (0:00:00.038) 0:00:38.690 ******* 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, a9f12f90-82a7-4d64-8eea-f0f71c47e902 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:48 +0000 (0:00:00.500) 0:00:39.191 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:48 +0000 (0:00:00.042) 0:00:39.233 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9f12f90-82a7-4d64-8eea-f0f71c47e902" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:48 +0000 (0:00:00.041) 0:00:39.274 ******* 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, a9f12f90-82a7-4d64-8eea-f0f71c47e902\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9f12f90-82a7-4d64-8eea-f0f71c47e902" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:48 +0000 (0:00:00.032) 0:00:39.306 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:48 +0000 (0:00:00.034) 0:00:39.341 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 02 February 2024 18:53:49 +0000 (0:00:00.261) 0:00:39.602 ******* 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, a9f12f90-82a7-4d64-8eea-f0f71c47e902\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9f12f90-82a7-4d64-8eea-f0f71c47e902" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml:3 Friday 02 February 2024 18:53:49 +0000 (0:00:00.029) 0:00:39.632 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:49 +0000 (0:00:00.090) 0:00:39.722 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:49 +0000 (0:00:00.060) 0:00:39.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:49 +0000 (0:00:00.046) 0:00:39.829 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:49 +0000 (0:00:00.029) 0:00:39.859 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:49 +0000 (0:00:00.030) 0:00:39.889 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:51 +0000 (0:00:02.282) 0:00:42.172 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:52 +0000 (0:00:00.844) 0:00:43.017 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:52 +0000 (0:00:00.030) 0:00:43.047 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:52 +0000 (0:00:00.027) 0:00:43.075 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:52 +0000 (0:00:00.026) 0:00:43.101 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:52 +0000 (0:00:00.068) 0:00:43.170 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:52 +0000 (0:00:00.063) 0:00:43.233 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:52 +0000 (0:00:00.029) 0:00:43.263 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:52 +0000 (0:00:00.044) 0:00:43.307 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:53 +0000 (0:00:00.483) 0:00:43.790 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:53 +0000 (0:00:00.051) 0:00:43.842 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:53 +0000 (0:00:00.036) 0:00:43.878 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:53 +0000 (0:00:00.035) 0:00:43.914 ******* 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, a9f12f90-82a7-4d64-8eea-f0f71c47e902 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:54 +0000 (0:00:00.461) 0:00:44.376 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:54 +0000 (0:00:00.041) 0:00:44.417 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a9f12f90-82a7-4d64-8eea-f0f71c47e902 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:54 +0000 (0:00:00.033) 0:00:44.451 ******* 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, a9f12f90-82a7-4d64-8eea-f0f71c47e902 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a9f12f90-82a7-4d64-8eea-f0f71c47e902 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:54 +0000 (0:00:00.037) 0:00:44.488 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:54 +0000 (0:00:00.032) 0:00:44.521 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:53:54 +0000 (0:00:00.269) 0:00:44.790 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove_profile.yml:3 Friday 02 February 2024 18:53:54 +0000 (0:00:00.073) 0:00:44.863 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:53:54 +0000 (0:00:00.112) 0:00:44.976 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:53:54 +0000 (0:00:00.064) 0:00:45.041 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:53:54 +0000 (0:00:00.041) 0:00:45.082 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:53:54 +0000 (0:00:00.032) 0:00:45.115 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:53:54 +0000 (0:00:00.034) 0:00:45.149 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:53:57 +0000 (0:00:02.290) 0:00:47.440 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:53:57 +0000 (0:00:00.844) 0:00:48.285 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:53:57 +0000 (0:00:00.043) 0:00:48.328 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:53:58 +0000 (0:00:00.034) 0:00:48.363 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:53:58 +0000 (0:00:00.032) 0:00:48.395 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:53:58 +0000 (0:00:00.087) 0:00:48.482 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:53:58 +0000 (0:00:00.039) 0:00:48.522 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:53:58 +0000 (0:00:00.092) 0:00:48.615 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:53:58 +0000 (0:00:00.049) 0:00:48.664 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:53:58 +0000 (0:00:00.475) 0:00:49.140 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:53:58 +0000 (0:00:00.048) 0:00:49.188 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:53:58 +0000 (0:00:00.024) 0:00:49.213 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:53:58 +0000 (0:00:00.026) 0:00:49.240 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:53:59 +0000 (0:00:00.484) 0:00:49.724 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:53:59 +0000 (0:00:00.039) 0:00:49.764 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:53:59 +0000 (0:00:00.034) 0:00:49.798 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:53:59 +0000 (0:00:00.029) 0:00:49.828 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:53:59 +0000 (0:00:00.039) 0:00:49.867 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:53:59 +0000 (0:00:00.267) 0:00:50.135 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:53:59 +0000 (0:00:00.069) 0:00:50.204 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:53:59 +0000 (0:00:00.075) 0:00:50.280 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706900028.7489996, "block_size": 4096, "blocks": 0, "ctime": 1706900028.7489996, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37848, "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": 1706900028.7489996, "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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:54:00 +0000 (0:00:00.252) 0:00:50.533 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 02 February 2024 18:54:00 +0000 (0:00:00.032) 0:00:50.566 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:54:00 +0000 (0:00:00.045) 0:00:50.611 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:54:00 +0000 (0:00:00.029) 0:00:50.640 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:54:00 +0000 (0:00:00.251) 0:00:50.892 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:54:00 +0000 (0:00:00.025) 0:00:50.917 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024454", "end": "2024-02-02 18:54:00.816351", "rc": 1, "start": "2024-02-02 18:54:00.791897" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:54:00 +0000 (0:00:00.293) 0:00:51.210 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:54:00 +0000 (0:00:00.042) 0:00:51.253 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:54:00 +0000 (0:00:00.039) 0:00:51.292 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:54:00 +0000 (0:00:00.036) 0:00:51.328 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:54:01 +0000 (0:00:00.028) 0:00:51.357 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 02 February 2024 18:54:01 +0000 (0:00:00.029) 0:00:51.386 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:54:01 +0000 (0:00:00.032) 0:00:51.419 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:54:01 +0000 (0:00:00.035) 0:00:51.454 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:54:01 +0000 (0:00:00.032) 0:00:51.487 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:54:01 +0000 (0:00:00.102) 0:00:51.589 ******* 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.070611", "end": "2024-02-02 18:54:01.529481", "rc": 1, "start": "2024-02-02 18:54:01.458870" } STDOUT: Connection 'statebr' (a9f12f90-82a7-4d64-8eea-f0f71c47e902) 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-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:102 Friday 02 February 2024 18:54:01 +0000 (0:00:00.342) 0:00:51.931 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:54:01 +0000 (0:00:00.059) 0:00:51.991 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:54:01 +0000 (0:00:00.031) 0:00:52.022 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:54:01 +0000 (0:00:00.075) 0:00:52.098 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:54:01 +0000 (0:00:00.052) 0:00:52.150 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:54:01 +0000 (0:00:00.043) 0:00:52.193 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004235", "end": "2024-02-02 18:54:02.072169", "rc": 0, "start": "2024-02-02 18:54:02.067934" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:54:02 +0000 (0:00:00.264) 0:00:52.458 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:54:02 +0000 (0:00:00.027) 0:00:52.486 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:54:02 +0000 (0:00:00.037) 0:00:52.524 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 02 February 2024 18:54:02 +0000 (0:00:00.077) 0:00:52.602 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:02 +0000 (0:00:00.139) 0:00:52.741 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:02 +0000 (0:00:00.086) 0:00:52.828 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:02 +0000 (0:00:00.053) 0:00:52.882 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:02 +0000 (0:00:00.032) 0:00:52.914 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:02 +0000 (0:00:00.034) 0:00:52.949 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:04 +0000 (0:00:02.297) 0:00:55.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:05 +0000 (0:00:00.888) 0:00:56.135 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:05 +0000 (0:00:00.065) 0:00:56.200 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:05 +0000 (0:00:00.047) 0:00:56.248 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:05 +0000 (0:00:00.043) 0:00:56.291 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:06 +0000 (0:00:00.086) 0:00:56.378 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:06 +0000 (0:00:00.093) 0:00:56.471 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:06 +0000 (0:00:00.043) 0:00:56.515 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:06 +0000 (0:00:00.057) 0:00:56.572 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:06 +0000 (0:00:00.523) 0:00:57.095 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:06 +0000 (0:00:00.059) 0:00:57.155 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:06 +0000 (0:00:00.038) 0:00:57.193 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:06 +0000 (0:00:00.029) 0:00:57.223 ******* 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, 645a7ffb-7d07-46f1-980b-2f45c11e4a82 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:07 +0000 (0:00:00.516) 0:00:57.739 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:07 +0000 (0:00:00.030) 0:00:57.770 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 645a7ffb-7d07-46f1-980b-2f45c11e4a82" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:07 +0000 (0:00:00.034) 0:00:57.804 ******* 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, 645a7ffb-7d07-46f1-980b-2f45c11e4a82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 645a7ffb-7d07-46f1-980b-2f45c11e4a82" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:07 +0000 (0:00:00.030) 0:00:57.835 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:07 +0000 (0:00:00.032) 0:00:57.868 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 02 February 2024 18:54:07 +0000 (0:00:00.278) 0:00:58.147 ******* 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, 645a7ffb-7d07-46f1-980b-2f45c11e4a82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 645a7ffb-7d07-46f1-980b-2f45c11e4a82" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml:3 Friday 02 February 2024 18:54:07 +0000 (0:00:00.038) 0:00:58.186 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:07 +0000 (0:00:00.124) 0:00:58.310 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:08 +0000 (0:00:00.058) 0:00:58.369 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:08 +0000 (0:00:00.059) 0:00:58.428 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:08 +0000 (0:00:00.047) 0:00:58.475 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:08 +0000 (0:00:00.043) 0:00:58.519 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:10 +0000 (0:00:02.294) 0:01:00.813 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:11 +0000 (0:00:00.894) 0:01:01.708 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:11 +0000 (0:00:00.044) 0:01:01.753 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:11 +0000 (0:00:00.043) 0:01:01.796 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:11 +0000 (0:00:00.042) 0:01:01.838 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:11 +0000 (0:00:00.103) 0:01:01.942 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:11 +0000 (0:00:00.046) 0:01:01.989 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:11 +0000 (0:00:00.085) 0:01:02.075 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:11 +0000 (0:00:00.047) 0:01:02.123 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:12 +0000 (0:00:00.498) 0:01:02.621 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:12 +0000 (0:00:00.067) 0:01:02.689 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:12 +0000 (0:00:00.063) 0:01:02.753 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:12 +0000 (0:00:00.042) 0:01:02.796 ******* 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, 645a7ffb-7d07-46f1-980b-2f45c11e4a82 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:12 +0000 (0:00:00.459) 0:01:03.255 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:12 +0000 (0:00:00.032) 0:01:03.288 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 645a7ffb-7d07-46f1-980b-2f45c11e4a82 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:12 +0000 (0:00:00.038) 0:01:03.327 ******* 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, 645a7ffb-7d07-46f1-980b-2f45c11e4a82 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 645a7ffb-7d07-46f1-980b-2f45c11e4a82 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:13 +0000 (0:00:00.043) 0:01:03.370 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:13 +0000 (0:00:00.046) 0:01:03.417 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove_profile.yml:3 Friday 02 February 2024 18:54:13 +0000 (0:00:00.298) 0:01:03.715 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:13 +0000 (0:00:00.064) 0:01:03.780 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:13 +0000 (0:00:00.093) 0:01:03.873 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:13 +0000 (0:00:00.055) 0:01:03.929 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:13 +0000 (0:00:00.045) 0:01:03.974 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:13 +0000 (0:00:00.046) 0:01:04.021 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:16 +0000 (0:00:02.406) 0:01:06.428 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:16 +0000 (0:00:00.886) 0:01:07.315 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:17 +0000 (0:00:00.035) 0:01:07.350 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:17 +0000 (0:00:00.027) 0:01:07.378 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:17 +0000 (0:00:00.029) 0:01:07.408 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:17 +0000 (0:00:00.075) 0:01:07.484 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:17 +0000 (0:00:00.030) 0:01:07.515 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:17 +0000 (0:00:00.039) 0:01:07.554 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:17 +0000 (0:00:00.055) 0:01:07.609 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:17 +0000 (0:00:00.522) 0:01:08.132 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:17 +0000 (0:00:00.169) 0:01:08.301 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:17 +0000 (0:00:00.037) 0:01:08.338 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:18 +0000 (0:00:00.033) 0:01:08.372 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:18 +0000 (0:00:00.543) 0:01:08.915 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:18 +0000 (0:00:00.044) 0:01:08.960 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:18 +0000 (0:00:00.045) 0:01:09.006 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:18 +0000 (0:00:00.052) 0:01:09.058 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:18 +0000 (0:00:00.056) 0:01:09.115 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:54:19 +0000 (0:00:00.285) 0:01:09.401 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 02 February 2024 18:54:19 +0000 (0:00:00.083) 0:01:09.484 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:19 +0000 (0:00:00.076) 0:01:09.560 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:19 +0000 (0:00:00.074) 0:01:09.635 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:19 +0000 (0:00:00.198) 0:01:09.833 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:19 +0000 (0:00:00.045) 0:01:09.879 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:19 +0000 (0:00:00.058) 0:01:09.937 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:21 +0000 (0:00:02.385) 0:01:12.323 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:22 +0000 (0:00:00.887) 0:01:13.210 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:22 +0000 (0:00:00.032) 0:01:13.243 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:22 +0000 (0:00:00.043) 0:01:13.287 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:22 +0000 (0:00:00.033) 0:01:13.321 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:23 +0000 (0:00:00.090) 0:01:13.412 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:23 +0000 (0:00:00.041) 0:01:13.453 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:23 +0000 (0:00:00.036) 0:01:13.490 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:23 +0000 (0:00:00.045) 0:01:13.535 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:23 +0000 (0:00:00.495) 0:01:14.031 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:23 +0000 (0:00:00.096) 0:01:14.127 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:23 +0000 (0:00:00.026) 0:01:14.154 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:23 +0000 (0:00:00.036) 0:01:14.190 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:24 +0000 (0:00:00.556) 0:01:14.747 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:24 +0000 (0:00:00.030) 0:01:14.778 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:24 +0000 (0:00:00.030) 0:01:14.808 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:24 +0000 (0:00:00.032) 0:01:14.841 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:24 +0000 (0:00:00.040) 0:01:14.882 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:54:24 +0000 (0:00:00.265) 0:01:15.147 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 02 February 2024 18:54:24 +0000 (0:00:00.049) 0:01:15.196 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:54:24 +0000 (0:00:00.047) 0:01:15.244 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:54:24 +0000 (0:00:00.025) 0:01:15.270 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:54:25 +0000 (0:00:00.263) 0:01:15.533 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:54:25 +0000 (0:00:00.027) 0:01:15.560 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022723", "end": "2024-02-02 18:54:25.456271", "rc": 1, "start": "2024-02-02 18:54:25.433548" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:54:25 +0000 (0:00:00.329) 0:01:15.890 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:54:25 +0000 (0:00:00.028) 0:01:15.918 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:54:25 +0000 (0:00:00.024) 0:01:15.942 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:54:25 +0000 (0:00:00.035) 0:01:15.978 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:54:25 +0000 (0:00:00.036) 0:01:16.015 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 02 February 2024 18:54:25 +0000 (0:00:00.028) 0:01:16.043 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:54:25 +0000 (0:00:00.030) 0:01:16.074 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 02 February 2024 18:54:25 +0000 (0:00:00.085) 0:01:16.159 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:54:25 +0000 (0:00:00.050) 0:01:16.209 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 02 February 2024 18:54:26 +0000 (0:00:00.253) 0:01:16.462 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:54:26 +0000 (0:00:00.028) 0:01:16.490 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:54:26 +0000 (0:00:00.028) 0:01:16.519 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:54:26 +0000 (0:00:00.054) 0:01:16.573 ******* 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.043432", "end": "2024-02-02 18:54:26.488949", "rc": 1, "start": "2024-02-02 18:54:26.445517" } 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-bond_options_rewritemihlj477/tests/playbooks/tests_states.yml:124 Friday 02 February 2024 18:54:26 +0000 (0:00:00.337) 0:01:16.911 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:5 Friday 02 February 2024 18:54:26 +0000 (0:00:00.045) 0:01:16.957 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:9 Friday 02 February 2024 18:54:26 +0000 (0:00:00.030) 0:01:16.987 ******* 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:21 Friday 02 February 2024 18:54:26 +0000 (0:00:00.058) 0:01:17.045 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:54:26 +0000 (0:00:00.040) 0:01:17.086 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:54:26 +0000 (0:00:00.037) 0:01:17.124 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004040", "end": "2024-02-02 18:54:26.998499", "rc": 0, "start": "2024-02-02 18:54:26.994459" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:54:27 +0000 (0:00:00.264) 0:01:17.388 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:54:27 +0000 (0:00:00.036) 0:01:17.424 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:24 Friday 02 February 2024 18:54:27 +0000 (0:00:00.032) 0:01:17.457 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 02 February 2024 18:54:27 +0000 (0:00:00.076) 0:01:17.533 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:27 +0000 (0:00:00.095) 0:01:17.628 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:27 +0000 (0:00:00.129) 0:01:17.758 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:27 +0000 (0:00:00.047) 0:01:17.805 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:27 +0000 (0:00:00.033) 0:01:17.838 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:27 +0000 (0:00:00.031) 0:01:17.870 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:29 +0000 (0:00:02.297) 0:01:20.168 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:30 +0000 (0:00:00.851) 0:01:21.019 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:30 +0000 (0:00:00.040) 0:01:21.060 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:30 +0000 (0:00:00.043) 0:01:21.104 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:30 +0000 (0:00:00.041) 0:01:21.145 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:30 +0000 (0:00:00.081) 0:01:21.227 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:30 +0000 (0:00:00.036) 0:01:21.263 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:30 +0000 (0:00:00.040) 0:01:21.303 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:31 +0000 (0:00:00.092) 0:01:21.395 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:31 +0000 (0:00:00.489) 0:01:21.885 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:31 +0000 (0:00:00.047) 0:01:21.933 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:31 +0000 (0:00:00.034) 0:01:21.967 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:31 +0000 (0:00:00.026) 0:01:21.993 ******* 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, 04bedc5b-4f4d-4783-9228-2f5024f357c2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:32 +0000 (0:00:00.523) 0:01:22.517 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:32 +0000 (0:00:00.045) 0:01:22.562 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04bedc5b-4f4d-4783-9228-2f5024f357c2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:32 +0000 (0:00:00.035) 0:01:22.598 ******* 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, 04bedc5b-4f4d-4783-9228-2f5024f357c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04bedc5b-4f4d-4783-9228-2f5024f357c2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:32 +0000 (0:00:00.033) 0:01:22.631 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:32 +0000 (0:00:00.045) 0:01:22.677 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 02 February 2024 18:54:32 +0000 (0:00:00.275) 0:01:22.952 ******* 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, 04bedc5b-4f4d-4783-9228-2f5024f357c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04bedc5b-4f4d-4783-9228-2f5024f357c2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/activate_profile.yml:3 Friday 02 February 2024 18:54:32 +0000 (0:00:00.032) 0:01:22.985 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:32 +0000 (0:00:00.058) 0:01:23.043 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:32 +0000 (0:00:00.087) 0:01:23.131 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:32 +0000 (0:00:00.041) 0:01:23.172 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:32 +0000 (0:00:00.029) 0:01:23.201 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:32 +0000 (0:00:00.032) 0:01:23.233 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:35 +0000 (0:00:02.360) 0:01:25.593 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:36 +0000 (0:00:00.859) 0:01:26.453 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:36 +0000 (0:00:00.035) 0:01:26.489 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:36 +0000 (0:00:00.043) 0:01:26.533 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:36 +0000 (0:00:00.037) 0:01:26.571 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:36 +0000 (0:00:00.105) 0:01:26.676 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:36 +0000 (0:00:00.038) 0:01:26.715 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:36 +0000 (0:00:00.030) 0:01:26.746 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:36 +0000 (0:00:00.051) 0:01:26.797 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:36 +0000 (0:00:00.493) 0:01:27.291 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:37 +0000 (0:00:00.163) 0:01:27.455 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:37 +0000 (0:00:00.027) 0:01:27.482 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:37 +0000 (0:00:00.027) 0:01:27.510 ******* 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, 04bedc5b-4f4d-4783-9228-2f5024f357c2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:37 +0000 (0:00:00.462) 0:01:27.973 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:37 +0000 (0:00:00.030) 0:01:28.004 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04bedc5b-4f4d-4783-9228-2f5024f357c2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:37 +0000 (0:00:00.028) 0:01:28.032 ******* 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, 04bedc5b-4f4d-4783-9228-2f5024f357c2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04bedc5b-4f4d-4783-9228-2f5024f357c2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:37 +0000 (0:00:00.029) 0:01:28.062 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:37 +0000 (0:00:00.043) 0:01:28.105 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 02 February 2024 18:54:38 +0000 (0:00:00.278) 0:01:28.384 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:38 +0000 (0:00:00.057) 0:01:28.442 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:38 +0000 (0:00:00.065) 0:01:28.507 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:38 +0000 (0:00:00.053) 0:01:28.561 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:38 +0000 (0:00:00.041) 0:01:28.603 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:38 +0000 (0:00:00.083) 0:01:28.686 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:40 +0000 (0:00:02.361) 0:01:31.047 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:41 +0000 (0:00:00.904) 0:01:31.952 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:41 +0000 (0:00:00.031) 0:01:31.983 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:41 +0000 (0:00:00.043) 0:01:32.027 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:41 +0000 (0:00:00.037) 0:01:32.065 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:41 +0000 (0:00:00.113) 0:01:32.178 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:41 +0000 (0:00:00.036) 0:01:32.215 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:41 +0000 (0:00:00.042) 0:01:32.257 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:41 +0000 (0:00:00.062) 0:01:32.320 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:42 +0000 (0:00:00.521) 0:01:32.842 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:42 +0000 (0:00:00.062) 0:01:32.905 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:42 +0000 (0:00:00.032) 0:01:32.937 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:42 +0000 (0:00:00.105) 0:01:33.043 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:43 +0000 (0:00:00.592) 0:01:33.635 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:43 +0000 (0:00:00.042) 0:01:33.678 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:43 +0000 (0:00:00.037) 0:01:33.715 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:43 +0000 (0:00:00.040) 0:01:33.755 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:43 +0000 (0:00:00.046) 0:01:33.802 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:30 Friday 02 February 2024 18:54:43 +0000 (0:00:00.281) 0:01:34.083 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 02 February 2024 18:54:43 +0000 (0:00:00.078) 0:01:34.161 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 18:54:43 +0000 (0:00:00.067) 0:01:34.228 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 18:54:43 +0000 (0:00:00.058) 0:01:34.287 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 18:54:43 +0000 (0:00:00.046) 0:01:34.334 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 18:54:44 +0000 (0:00:00.031) 0:01:34.366 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 18:54:44 +0000 (0:00:00.072) 0:01:34.438 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 18:54:46 +0000 (0:00:02.346) 0:01:36.785 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 18:54:47 +0000 (0:00:00.841) 0:01:37.626 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 18:54:47 +0000 (0:00:00.034) 0:01:37.661 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 18:54:47 +0000 (0:00:00.026) 0:01:37.688 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 18:54:47 +0000 (0:00:00.027) 0:01:37.716 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 18:54:47 +0000 (0:00:00.065) 0:01:37.781 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 18:54:47 +0000 (0:00:00.029) 0:01:37.811 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 18:54:47 +0000 (0:00:00.032) 0:01:37.843 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 18:54:47 +0000 (0:00:00.051) 0:01:37.895 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 18:54:48 +0000 (0:00:00.486) 0:01:38.381 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 18:54:48 +0000 (0:00:00.047) 0:01:38.428 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 18:54:48 +0000 (0:00:00.024) 0:01:38.453 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 18:54:48 +0000 (0:00:00.022) 0:01:38.476 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 18:54:48 +0000 (0:00:00.542) 0:01:39.018 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 18:54:48 +0000 (0:00:00.030) 0:01:39.049 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 18:54:48 +0000 (0:00:00.029) 0:01:39.078 ******* 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-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 18:54:48 +0000 (0:00:00.034) 0:01:39.112 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 18:54:48 +0000 (0:00:00.031) 0:01:39.144 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:36 Friday 02 February 2024 18:54:49 +0000 (0:00:00.271) 0:01:39.416 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 02 February 2024 18:54:49 +0000 (0:00:00.067) 0:01:39.483 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:54:49 +0000 (0:00:00.050) 0:01:39.534 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:54:49 +0000 (0:00:00.035) 0:01:39.570 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:54:49 +0000 (0:00:00.253) 0:01:39.823 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:54:49 +0000 (0:00:00.025) 0:01:39.848 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022489", "end": "2024-02-02 18:54:49.741310", "rc": 1, "start": "2024-02-02 18:54:49.718821" } 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:54:49 +0000 (0:00:00.272) 0:01:40.121 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:54:49 +0000 (0:00:00.024) 0:01:40.145 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:54:49 +0000 (0:00:00.058) 0:01:40.203 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:54:49 +0000 (0:00:00.025) 0:01:40.229 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:54:49 +0000 (0:00:00.025) 0:01:40.255 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 02 February 2024 18:54:49 +0000 (0:00:00.026) 0:01:40.281 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 02 February 2024 18:54:49 +0000 (0:00:00.028) 0:01:40.309 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.366818", "end": "2024-02-02 18:54:50.549030", "rc": 0, "start": "2024-02-02 18:54:50.182212" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 02 February 2024 18:54:50 +0000 (0:00:00.621) 0:01:40.931 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 02 February 2024 18:54:50 +0000 (0:00:00.029) 0:01:40.960 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:42 Friday 02 February 2024 18:54:50 +0000 (0:00:00.029) 0:01:40.989 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/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-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 02 February 2024 18:54:50 +0000 (0:00:00.067) 0:01:41.057 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:54:50 +0000 (0:00:00.041) 0:01:41.098 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 02 February 2024 18:54:51 +0000 (0:00:00.250) 0:01:41.348 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:47 Friday 02 February 2024 18:54:51 +0000 (0:00:00.026) 0:01:41.375 ******* 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-bond_options_rewritemihlj477/tests/playbooks/tasks/run_test.yml:66 Friday 02 February 2024 18:54:51 +0000 (0:00:00.025) 0:01:41.401 ******* included: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritemihlj477/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 02 February 2024 18:54:51 +0000 (0:00:00.045) 0:01:41.446 ******* 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.043918", "end": "2024-02-02 18:54:51.358604", "rc": 1, "start": "2024-02-02 18:54:51.314686" } 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 PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Friday 02 February 2024 18:54:51 +0000 (0:00:00.373) 0:01:41.820 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.46s /WORKDIR/git-bond_options_rewritemihlj477/.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.41s /WORKDIR/git-bond_options_rewritemihlj477/.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.39s /WORKDIR/git-bond_options_rewritemihlj477/.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.36s /WORKDIR/git-bond_options_rewritemihlj477/.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.36s /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.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.31s /WORKDIR/git-bond_options_rewritemihlj477/.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.31s /WORKDIR/git-bond_options_rewritemihlj477/.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.31s /WORKDIR/git-bond_options_rewritemihlj477/.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.31s /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.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.29s /WORKDIR/git-bond_options_rewritemihlj477/.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.29s /WORKDIR/git-bond_options_rewritemihlj477/.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-bond_options_rewritemihlj477/.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.10s /WORKDIR/git-bond_options_rewritemihlj477/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-bond_options_rewritemihlj477/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-bond_options_rewritemihlj477/.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.89s /WORKDIR/git-bond_options_rewritemihlj477/.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.89s /WORKDIR/git-bond_options_rewritemihlj477/.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. ---^---^---^---^---^---