# 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-ostree-skip-test-better-textrmy8vce0/.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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_states_initscripts.yml:5 Monday 25 March 2024 20:30:17 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_states_initscripts.yml:8 Monday 25 March 2024 20:30:17 +0000 (0:00:00.937) 0:00:00.948 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 Monday 25 March 2024 20:30:17 +0000 (0:00:00.011) 0:00:00.960 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 Monday 25 March 2024 20:30:18 +0000 (0:00:00.391) 0:00:01.351 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:22 Monday 25 March 2024 20:30:18 +0000 (0:00:00.264) 0:00:01.616 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:26 Monday 25 March 2024 20:30:18 +0000 (0:00:00.013) 0:00:01.629 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:51 Monday 25 March 2024 20:30:18 +0000 (0:00:00.007) 0:00:01.637 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:8 Monday 25 March 2024 20:30:18 +0000 (0:00:00.021) 0:00:01.658 ********** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:24 Monday 25 March 2024 20:30:18 +0000 (0:00:00.265) 0:00:01.923 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:30 Monday 25 March 2024 20:30:18 +0000 (0:00:00.008) 0:00:01.932 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Monday 25 March 2024 20:30:18 +0000 (0:00:00.008) 0:00:01.941 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.265041", "end": "2024-03-25 20:30:19.382697", "rc": 0, "start": "2024-03-25 20:30:19.117656" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:40 Monday 25 March 2024 20:30:19 +0000 (0:00:00.471) 0:00:02.412 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_states_initscripts.yml:10 Monday 25 March 2024 20:30:19 +0000 (0:00:00.007) 0:00:02.420 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:3 Monday 25 March 2024 20:30:19 +0000 (0:00:00.014) 0:00:02.435 ********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:11 Monday 25 March 2024 20:30:20 +0000 (0:00:00.682) 0:00:03.117 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:22 Monday 25 March 2024 20:30:20 +0000 (0:00:00.018) 0:00:03.136 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:30:20 +0000 (0:00:00.021) 0:00:03.158 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:30:20 +0000 (0:00:00.017) 0:00:03.176 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:30:20 +0000 (0:00:00.041) 0:00:03.217 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:30:20 +0000 (0:00:00.020) 0:00:03.238 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:30:20 +0000 (0:00:00.018) 0:00:03.256 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003870", "end": "2024-03-25 20:30:20.448328", "rc": 0, "start": "2024-03-25 20:30:20.444458" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:30:20 +0000 (0:00:00.220) 0:00:03.477 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:30:20 +0000 (0:00:00.018) 0:00:03.495 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:30:20 +0000 (0:00:00.018) 0:00:03.513 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 March 2024 20:30:20 +0000 (0:00:00.025) 0:00:03.538 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009456", "end": "2024-03-25 20:30:20.737690", "rc": 1, "start": "2024-03-25 20:30:20.728234" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:30:20 +0000 (0:00:00.227) 0:00:03.766 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:30:20 +0000 (0:00:00.020) 0:00:03.786 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:30:20 +0000 (0:00:00.219) 0:00:04.005 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:30:21 +0000 (0:00:00.018) 0:00:04.024 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 March 2024 20:30:21 +0000 (0:00:00.022) 0:00:04.046 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:21 +0000 (0:00:00.031) 0:00:04.078 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:21 +0000 (0:00:00.026) 0:00:04.105 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:21 +0000 (0:00:00.018) 0:00:04.123 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:21 +0000 (0:00:00.019) 0:00:04.143 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:21 +0000 (0:00:00.019) 0:00:04.162 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:22 +0000 (0:00:01.839) 0:00:06.001 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:24 +0000 (0:00:01.632) 0:00:07.633 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:24 +0000 (0:00:00.029) 0:00:07.663 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:24 +0000 (0:00:00.027) 0:00:07.690 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:24 +0000 (0:00:00.028) 0:00:07.719 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:24 +0000 (0:00:00.033) 0:00:07.752 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:24 +0000 (0:00:00.027) 0:00:07.780 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:30:24 +0000 (0:00:00.034) 0:00:07.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:30:24 +0000 (0:00:00.050) 0:00:07.865 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:30:24 +0000 (0:00:00.047) 0:00:07.912 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:30:24 +0000 (0:00:00.030) 0:00:07.943 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:30:24 +0000 (0:00:00.035) 0:00:07.979 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:30:25 +0000 (0:00:00.032) 0:00:08.011 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:30:25 +0000 (0:00:00.028) 0:00:08.039 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:30:25 +0000 (0:00:00.568) 0:00:08.608 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpfmuggr18" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:30:25 +0000 (0:00:00.328) 0:00:08.937 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:30:26 +0000 (0:00:00.435) 0:00:09.373 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:30:26 +0000 (0:00:00.028) 0:00:09.402 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:30:26 +0000 (0:00:00.028) 0:00:09.430 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:30:26 +0000 (0:00:00.029) 0:00:09.460 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:30:26 +0000 (0:00:00.028) 0:00:09.488 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 March 2024 20:30:26 +0000 (0:00:00.315) 0:00:09.803 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:30:26 +0000 (0:00:00.029) 0:00:09.832 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:30:26 +0000 (0:00:00.041) 0:00:09.874 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:30:26 +0000 (0:00:00.060) 0:00:09.935 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:30:26 +0000 (0:00:00.027) 0:00:09.963 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398626.3332365, "block_size": 4096, "blocks": 8, "ctime": 1711398626.3332365, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5972151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398626.3332365, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:30:27 +0000 (0:00:00.225) 0:00:10.188 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:30:27 +0000 (0:00:00.028) 0:00:10.216 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021656", "end": "2024-03-25 20:30:27.426429", "rc": 1, "start": "2024-03-25 20:30:27.404773" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:30:27 +0000 (0:00:00.247) 0:00:10.464 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:30:27 +0000 (0:00:00.028) 0:00:10.492 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003784", "end": "2024-03-25 20:30:27.682602", "rc": 0, "start": "2024-03-25 20:30:27.678818" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:30:27 +0000 (0:00:00.228) 0:00:10.721 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:30:27 +0000 (0:00:00.032) 0:00:10.754 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003711", "end": "2024-03-25 20:30:27.945613", "rc": 0, "start": "2024-03-25 20:30:27.941902" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:30:27 +0000 (0:00:00.230) 0:00:10.985 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:30:28 +0000 (0:00:00.031) 0:00:11.016 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:30:28 +0000 (0:00:00.029) 0:00:11.045 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:30:28 +0000 (0:00:00.030) 0:00:11.076 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:30:28 +0000 (0:00:00.027) 0:00:11.104 ********** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:30:28 +0000 (0:00:00.029) 0:00:11.133 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:30:28 +0000 (0:00:00.027) 0:00:11.161 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:30:28 +0000 (0:00:00.064) 0:00:11.225 ********** 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.042780", "end": "2024-03-25 20:30:28.453249", "rc": 1, "start": "2024-03-25 20:30:28.410469" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:45 Monday 25 March 2024 20:30:28 +0000 (0:00:00.265) 0:00:11.491 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:30:28 +0000 (0:00:00.041) 0:00:11.533 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:30:28 +0000 (0:00:00.028) 0:00:11.561 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:30:28 +0000 (0:00:00.052) 0:00:11.614 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:30:28 +0000 (0:00:00.038) 0:00:11.653 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:30:28 +0000 (0:00:00.038) 0:00:11.692 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003782", "end": "2024-03-25 20:30:28.883500", "rc": 0, "start": "2024-03-25 20:30:28.879718" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:30:28 +0000 (0:00:00.229) 0:00:11.921 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:30:28 +0000 (0:00:00.028) 0:00:11.950 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:30:28 +0000 (0:00:00.028) 0:00:11.978 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 March 2024 20:30:29 +0000 (0:00:00.043) 0:00:12.022 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007161", "end": "2024-03-25 20:30:29.216003", "rc": 1, "start": "2024-03-25 20:30:29.208842" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:30:29 +0000 (0:00:00.232) 0:00:12.254 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:30:29 +0000 (0:00:00.061) 0:00:12.315 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:30:29 +0000 (0:00:00.225) 0:00:12.541 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:30:29 +0000 (0:00:00.030) 0:00:12.572 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 March 2024 20:30:29 +0000 (0:00:00.041) 0:00:12.614 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:29 +0000 (0:00:00.048) 0:00:12.662 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:29 +0000 (0:00:00.045) 0:00:12.707 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:29 +0000 (0:00:00.032) 0:00:12.740 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:29 +0000 (0:00:00.028) 0:00:12.769 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:29 +0000 (0:00:00.028) 0:00:12.797 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:31 +0000 (0:00:01.763) 0:00:14.561 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:33 +0000 (0:00:01.512) 0:00:16.074 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:33 +0000 (0:00:00.056) 0:00:16.131 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:33 +0000 (0:00:00.030) 0:00:16.161 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:33 +0000 (0:00:00.028) 0:00:16.189 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:33 +0000 (0:00:00.033) 0:00:16.223 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:33 +0000 (0:00:00.026) 0:00:16.250 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:30:33 +0000 (0:00:00.032) 0:00:16.282 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:30:33 +0000 (0:00:00.052) 0:00:16.335 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:30:33 +0000 (0:00:00.030) 0:00:16.366 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:30:33 +0000 (0:00:00.031) 0:00:16.397 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:30:33 +0000 (0:00:00.035) 0:00:16.432 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:30:33 +0000 (0:00:00.029) 0:00:16.461 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:30:33 +0000 (0:00:00.027) 0:00:16.489 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:30:33 +0000 (0:00:00.417) 0:00:16.906 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmp8eiwitn_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:30:34 +0000 (0:00:00.324) 0:00:17.231 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:30:34 +0000 (0:00:00.320) 0:00:17.551 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:30:34 +0000 (0:00:00.029) 0:00:17.581 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:30:34 +0000 (0:00:00.028) 0:00:17.610 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:30:34 +0000 (0:00:00.052) 0:00:17.662 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:30:34 +0000 (0:00:00.030) 0:00:17.693 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 March 2024 20:30:34 +0000 (0:00:00.233) 0:00:17.926 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:30:34 +0000 (0:00:00.029) 0:00:17.956 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:30:34 +0000 (0:00:00.046) 0:00:18.002 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:30:35 +0000 (0:00:00.038) 0:00:18.041 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:30:35 +0000 (0:00:00.225) 0:00:18.266 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:30:35 +0000 (0:00:00.029) 0:00:18.295 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:30:35 +0000 (0:00:00.039) 0:00:18.335 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:30:35 +0000 (0:00:00.027) 0:00:18.363 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398634.5122488, "block_size": 4096, "blocks": 8, "ctime": 1711398634.5122488, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5972151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398634.5122488, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:30:35 +0000 (0:00:00.226) 0:00:18.589 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:30:35 +0000 (0:00:00.028) 0:00:18.618 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021416", "end": "2024-03-25 20:30:35.828416", "rc": 1, "start": "2024-03-25 20:30:35.807000" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:30:35 +0000 (0:00:00.248) 0:00:18.866 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:30:35 +0000 (0:00:00.055) 0:00:18.921 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003602", "end": "2024-03-25 20:30:36.116470", "rc": 0, "start": "2024-03-25 20:30:36.112868" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:30:36 +0000 (0:00:00.234) 0:00:19.156 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:30:36 +0000 (0:00:00.032) 0:00:19.189 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003609", "end": "2024-03-25 20:30:36.383542", "rc": 0, "start": "2024-03-25 20:30:36.379933" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:30:36 +0000 (0:00:00.234) 0:00:19.423 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:30:36 +0000 (0:00:00.031) 0:00:19.455 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:30:36 +0000 (0:00:00.029) 0:00:19.484 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:30:36 +0000 (0:00:00.029) 0:00:19.514 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:30:36 +0000 (0:00:00.029) 0:00:19.544 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:30:36 +0000 (0:00:00.025) 0:00:19.569 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:30:36 +0000 (0:00:00.027) 0:00:19.597 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:30:36 +0000 (0:00:00.043) 0:00:19.641 ********** 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.041374", "end": "2024-03-25 20:30:36.869997", "rc": 1, "start": "2024-03-25 20:30:36.828623" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:65 Monday 25 March 2024 20:30:36 +0000 (0:00:00.267) 0:00:19.909 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:30:36 +0000 (0:00:00.041) 0:00:19.950 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:30:36 +0000 (0:00:00.029) 0:00:19.979 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:30:37 +0000 (0:00:00.074) 0:00:20.054 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:30:37 +0000 (0:00:00.039) 0:00:20.094 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:30:37 +0000 (0:00:00.037) 0:00:20.131 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003872", "end": "2024-03-25 20:30:37.323958", "rc": 0, "start": "2024-03-25 20:30:37.320086" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:30:37 +0000 (0:00:00.231) 0:00:20.363 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:30:37 +0000 (0:00:00.028) 0:00:20.392 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:30:37 +0000 (0:00:00.027) 0:00:20.420 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 March 2024 20:30:37 +0000 (0:00:00.040) 0:00:20.461 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:37 +0000 (0:00:00.049) 0:00:20.511 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:37 +0000 (0:00:00.048) 0:00:20.559 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:37 +0000 (0:00:00.032) 0:00:20.591 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:37 +0000 (0:00:00.029) 0:00:20.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:37 +0000 (0:00:00.028) 0:00:20.649 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:39 +0000 (0:00:01.790) 0:00:22.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:40 +0000 (0:00:01.477) 0:00:23.917 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:40 +0000 (0:00:00.031) 0:00:23.949 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:40 +0000 (0:00:00.029) 0:00:23.979 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:40 +0000 (0:00:00.029) 0:00:24.009 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:41 +0000 (0:00:00.037) 0:00:24.046 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:41 +0000 (0:00:00.027) 0:00:24.074 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:30:41 +0000 (0:00:00.033) 0:00:24.107 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:30:41 +0000 (0:00:00.052) 0:00:24.160 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:30:41 +0000 (0:00:00.029) 0:00:24.190 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:30:41 +0000 (0:00:00.028) 0:00:24.218 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:30:41 +0000 (0:00:00.035) 0:00:24.254 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:30:41 +0000 (0:00:00.030) 0:00:24.284 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:30:41 +0000 (0:00:00.027) 0:00:24.311 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:30:41 +0000 (0:00:00.478) 0:00:24.790 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmp0_iq1piu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:30:42 +0000 (0:00:00.326) 0:00:25.116 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:30:42 +0000 (0:00:00.323) 0:00:25.439 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:30:42 +0000 (0:00:00.029) 0:00:25.469 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:30:42 +0000 (0:00:00.030) 0:00:25.500 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:30:42 +0000 (0:00:00.029) 0:00:25.529 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:30:42 +0000 (0:00:00.029) 0:00:25.559 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 March 2024 20:30:42 +0000 (0:00:00.230) 0:00:25.789 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:30:42 +0000 (0:00:00.029) 0:00:25.819 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 March 2024 20:30:42 +0000 (0:00:00.041) 0:00:25.861 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:42 +0000 (0:00:00.048) 0:00:25.909 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:42 +0000 (0:00:00.045) 0:00:25.954 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:43 +0000 (0:00:00.057) 0:00:26.012 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:43 +0000 (0:00:00.030) 0:00:26.043 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:43 +0000 (0:00:00.030) 0:00:26.073 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:44 +0000 (0:00:01.718) 0:00:27.791 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:46 +0000 (0:00:01.483) 0:00:29.275 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:46 +0000 (0:00:00.030) 0:00:29.306 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:46 +0000 (0:00:00.030) 0:00:29.336 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:46 +0000 (0:00:00.031) 0:00:29.368 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:46 +0000 (0:00:00.036) 0:00:29.404 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:46 +0000 (0:00:00.032) 0:00:29.436 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:30:46 +0000 (0:00:00.036) 0:00:29.472 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:30:46 +0000 (0:00:00.052) 0:00:29.524 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:30:46 +0000 (0:00:00.031) 0:00:29.556 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:30:46 +0000 (0:00:00.030) 0:00:29.586 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:30:46 +0000 (0:00:00.035) 0:00:29.621 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:30:46 +0000 (0:00:00.096) 0:00:29.718 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:30:46 +0000 (0:00:00.028) 0:00:29.747 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:30:47 +0000 (0:00:00.416) 0:00:30.163 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpendbefm2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:30:47 +0000 (0:00:00.335) 0:00:30.499 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:30:48 +0000 (0:00:00.612) 0:00:31.111 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:30:48 +0000 (0:00:00.030) 0:00:31.142 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:30:48 +0000 (0:00:00.030) 0:00:31.172 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:30:48 +0000 (0:00:00.030) 0:00:31.203 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:30:48 +0000 (0:00:00.029) 0:00:31.232 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:30:48 +0000 (0:00:00.235) 0:00:31.467 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:30:48 +0000 (0:00:00.047) 0:00:31.514 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:30:48 +0000 (0:00:00.039) 0:00:31.554 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398647.9708362, "block_size": 4096, "blocks": 0, "ctime": 1711398647.9708362, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32598, "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": 1711398647.9708362, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:30:48 +0000 (0:00:00.228) 0:00:31.782 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:30:48 +0000 (0:00:00.029) 0:00:31.812 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:30:48 +0000 (0:00:00.067) 0:00:31.880 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:30:48 +0000 (0:00:00.029) 0:00:31.910 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398647.781269, "block_size": 4096, "blocks": 8, "ctime": 1711398642.400261, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5972151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398642.400261, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:30:49 +0000 (0:00:00.224) 0:00:32.134 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:30:49 +0000 (0:00:00.029) 0:00:32.163 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022629", "end": "2024-03-25 20:30:49.374255", "rc": 1, "start": "2024-03-25 20:30:49.351626" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:30:49 +0000 (0:00:00.250) 0:00:32.414 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:30:49 +0000 (0:00:00.028) 0:00:32.442 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003814", "end": "2024-03-25 20:30:49.637533", "rc": 0, "start": "2024-03-25 20:30:49.633719" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:30:49 +0000 (0:00:00.235) 0:00:32.678 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:30:49 +0000 (0:00:00.032) 0:00:32.711 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003651", "end": "2024-03-25 20:30:49.904315", "rc": 0, "start": "2024-03-25 20:30:49.900664" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:30:49 +0000 (0:00:00.233) 0:00:32.945 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:30:49 +0000 (0:00:00.032) 0:00:32.977 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:30:49 +0000 (0:00:00.030) 0:00:33.007 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:30:50 +0000 (0:00:00.030) 0:00:33.037 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:30:50 +0000 (0:00:00.029) 0:00:33.066 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:30:50 +0000 (0:00:00.026) 0:00:33.092 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:30:50 +0000 (0:00:00.027) 0:00:33.120 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:30:50 +0000 (0:00:00.070) 0:00:33.190 ********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046979", "end": "2024-03-25 20:30:50.429570", "rc": 0, "start": "2024-03-25 20:30:50.382591" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:83 Monday 25 March 2024 20:30:50 +0000 (0:00:00.279) 0:00:33.470 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:30:50 +0000 (0:00:00.042) 0:00:33.513 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:30:50 +0000 (0:00:00.028) 0:00:33.542 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:30:50 +0000 (0:00:00.051) 0:00:33.593 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:30:50 +0000 (0:00:00.039) 0:00:33.632 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:30:50 +0000 (0:00:00.037) 0:00:33.670 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003728", "end": "2024-03-25 20:30:50.863394", "rc": 0, "start": "2024-03-25 20:30:50.859666" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:30:50 +0000 (0:00:00.232) 0:00:33.902 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:30:50 +0000 (0:00:00.029) 0:00:33.932 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:30:50 +0000 (0:00:00.029) 0:00:33.961 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 March 2024 20:30:50 +0000 (0:00:00.043) 0:00:34.005 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:51 +0000 (0:00:00.048) 0:00:34.054 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:51 +0000 (0:00:00.070) 0:00:34.124 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:51 +0000 (0:00:00.033) 0:00:34.158 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:51 +0000 (0:00:00.032) 0:00:34.191 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:51 +0000 (0:00:00.030) 0:00:34.221 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:52 +0000 (0:00:01.751) 0:00:35.973 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:54 +0000 (0:00:01.479) 0:00:37.452 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:54 +0000 (0:00:00.030) 0:00:37.482 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:54 +0000 (0:00:00.028) 0:00:37.511 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:54 +0000 (0:00:00.029) 0:00:37.541 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:54 +0000 (0:00:00.034) 0:00:37.575 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:54 +0000 (0:00:00.029) 0:00:37.604 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:30:54 +0000 (0:00:00.034) 0:00:37.639 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:30:54 +0000 (0:00:00.053) 0:00:37.692 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:30:54 +0000 (0:00:00.062) 0:00:37.755 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:30:54 +0000 (0:00:00.031) 0:00:37.786 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:30:54 +0000 (0:00:00.034) 0:00:37.820 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:30:54 +0000 (0:00:00.032) 0:00:37.853 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:30:54 +0000 (0:00:00.028) 0:00:37.882 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:30:55 +0000 (0:00:00.420) 0:00:38.302 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmphco1w_ty" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:30:55 +0000 (0:00:00.330) 0:00:38.633 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:30:55 +0000 (0:00:00.329) 0:00:38.962 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:30:55 +0000 (0:00:00.029) 0:00:38.992 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:30:56 +0000 (0:00:00.030) 0:00:39.022 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:30:56 +0000 (0:00:00.030) 0:00:39.052 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:30:56 +0000 (0:00:00.028) 0:00:39.081 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 March 2024 20:30:56 +0000 (0:00:00.232) 0:00:39.314 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 March 2024 20:30:56 +0000 (0:00:00.030) 0:00:39.344 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:30:56 +0000 (0:00:00.048) 0:00:39.393 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:30:56 +0000 (0:00:00.078) 0:00:39.471 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:30:56 +0000 (0:00:00.039) 0:00:39.511 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:30:56 +0000 (0:00:00.034) 0:00:39.545 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:30:56 +0000 (0:00:00.032) 0:00:39.577 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:30:58 +0000 (0:00:01.756) 0:00:41.334 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:30:59 +0000 (0:00:01.491) 0:00:42.825 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:30:59 +0000 (0:00:00.032) 0:00:42.858 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:30:59 +0000 (0:00:00.030) 0:00:42.889 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:30:59 +0000 (0:00:00.031) 0:00:42.920 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:30:59 +0000 (0:00:00.035) 0:00:42.956 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:30:59 +0000 (0:00:00.030) 0:00:42.986 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:00 +0000 (0:00:00.035) 0:00:43.021 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:00 +0000 (0:00:00.053) 0:00:43.074 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:00 +0000 (0:00:00.065) 0:00:43.140 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:00 +0000 (0:00:00.032) 0:00:43.172 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:00 +0000 (0:00:00.035) 0:00:43.208 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:00 +0000 (0:00:00.033) 0:00:43.241 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:00 +0000 (0:00:00.028) 0:00:43.269 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:00 +0000 (0:00:00.422) 0:00:43.692 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpdrl0ad9k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:01 +0000 (0:00:00.334) 0:00:44.026 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:01 +0000 (0:00:00.614) 0:00:44.641 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:01 +0000 (0:00:00.029) 0:00:44.671 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:01 +0000 (0:00:00.030) 0:00:44.701 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:01 +0000 (0:00:00.030) 0:00:44.731 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:01 +0000 (0:00:00.028) 0:00:44.760 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:31:01 +0000 (0:00:00.241) 0:00:45.002 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 March 2024 20:31:02 +0000 (0:00:00.044) 0:00:45.047 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:02 +0000 (0:00:00.077) 0:00:45.124 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:02 +0000 (0:00:00.047) 0:00:45.172 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:02 +0000 (0:00:00.033) 0:00:45.205 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:02 +0000 (0:00:00.031) 0:00:45.237 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:02 +0000 (0:00:00.030) 0:00:45.267 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:04 +0000 (0:00:01.755) 0:00:47.023 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:05 +0000 (0:00:01.486) 0:00:48.509 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:05 +0000 (0:00:00.032) 0:00:48.541 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:05 +0000 (0:00:00.031) 0:00:48.573 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:05 +0000 (0:00:00.031) 0:00:48.605 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:05 +0000 (0:00:00.038) 0:00:48.644 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:05 +0000 (0:00:00.029) 0:00:48.673 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:05 +0000 (0:00:00.034) 0:00:48.708 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:05 +0000 (0:00:00.116) 0:00:48.825 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:05 +0000 (0:00:00.031) 0:00:48.856 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:05 +0000 (0:00:00.029) 0:00:48.886 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:05 +0000 (0:00:00.035) 0:00:48.921 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:05 +0000 (0:00:00.030) 0:00:48.952 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:05 +0000 (0:00:00.027) 0:00:48.980 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:06 +0000 (0:00:00.425) 0:00:49.405 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpzov_0ub0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:06 +0000 (0:00:00.329) 0:00:49.735 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:07 +0000 (0:00:00.338) 0:00:50.073 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:07 +0000 (0:00:00.032) 0:00:50.106 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:07 +0000 (0:00:00.031) 0:00:50.138 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:07 +0000 (0:00:00.032) 0:00:50.171 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:07 +0000 (0:00:00.031) 0:00:50.202 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:31:07 +0000 (0:00:00.234) 0:00:50.436 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:31:07 +0000 (0:00:00.047) 0:00:50.484 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:31:07 +0000 (0:00:00.068) 0:00:50.552 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398661.5051522, "block_size": 4096, "blocks": 0, "ctime": 1711398661.5051522, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32729, "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": 1711398661.5051522, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:31:07 +0000 (0:00:00.231) 0:00:50.784 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 March 2024 20:31:07 +0000 (0:00:00.030) 0:00:50.814 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:31:07 +0000 (0:00:00.041) 0:00:50.855 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:31:07 +0000 (0:00:00.028) 0:00:50.884 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:31:08 +0000 (0:00:00.225) 0:00:51.109 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:31:08 +0000 (0:00:00.027) 0:00:51.136 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021944", "end": "2024-03-25 20:31:08.345011", "rc": 1, "start": "2024-03-25 20:31:08.323067" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:31:08 +0000 (0:00:00.247) 0:00:51.384 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:31:08 +0000 (0:00:00.029) 0:00:51.413 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:31:08 +0000 (0:00:00.027) 0:00:51.440 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:31:08 +0000 (0:00:00.027) 0:00:51.468 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:31:08 +0000 (0:00:00.027) 0:00:51.496 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 March 2024 20:31:08 +0000 (0:00:00.030) 0:00:51.526 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:31:08 +0000 (0:00:00.030) 0:00:51.556 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:31:08 +0000 (0:00:00.025) 0:00:51.581 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:31:08 +0000 (0:00:00.057) 0:00:51.638 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:31:08 +0000 (0:00:00.044) 0:00:51.683 ********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050248", "end": "2024-03-25 20:31:08.923499", "rc": 0, "start": "2024-03-25 20:31:08.873251" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:102 Monday 25 March 2024 20:31:08 +0000 (0:00:00.282) 0:00:51.966 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:31:08 +0000 (0:00:00.042) 0:00:52.008 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:31:09 +0000 (0:00:00.031) 0:00:52.040 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:31:09 +0000 (0:00:00.054) 0:00:52.094 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:31:09 +0000 (0:00:00.040) 0:00:52.135 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:31:09 +0000 (0:00:00.039) 0:00:52.174 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003771", "end": "2024-03-25 20:31:09.368916", "rc": 0, "start": "2024-03-25 20:31:09.365145" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:31:09 +0000 (0:00:00.234) 0:00:52.409 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:31:09 +0000 (0:00:00.029) 0:00:52.439 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:31:09 +0000 (0:00:00.027) 0:00:52.466 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 March 2024 20:31:09 +0000 (0:00:00.075) 0:00:52.542 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:09 +0000 (0:00:00.050) 0:00:52.592 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:09 +0000 (0:00:00.046) 0:00:52.639 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:09 +0000 (0:00:00.033) 0:00:52.673 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:09 +0000 (0:00:00.031) 0:00:52.705 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:09 +0000 (0:00:00.031) 0:00:52.736 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:11 +0000 (0:00:01.734) 0:00:54.470 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:12 +0000 (0:00:01.480) 0:00:55.951 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:12 +0000 (0:00:00.031) 0:00:55.982 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:13 +0000 (0:00:00.032) 0:00:56.014 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:13 +0000 (0:00:00.031) 0:00:56.046 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:13 +0000 (0:00:00.037) 0:00:56.083 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:13 +0000 (0:00:00.058) 0:00:56.141 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:13 +0000 (0:00:00.034) 0:00:56.176 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:13 +0000 (0:00:00.053) 0:00:56.229 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:13 +0000 (0:00:00.030) 0:00:56.260 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:13 +0000 (0:00:00.031) 0:00:56.291 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:13 +0000 (0:00:00.036) 0:00:56.328 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:13 +0000 (0:00:00.030) 0:00:56.358 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:13 +0000 (0:00:00.027) 0:00:56.386 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:13 +0000 (0:00:00.418) 0:00:56.804 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpceaiwvu_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:14 +0000 (0:00:00.329) 0:00:57.134 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:14 +0000 (0:00:00.323) 0:00:57.458 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:14 +0000 (0:00:00.032) 0:00:57.490 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:14 +0000 (0:00:00.030) 0:00:57.521 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:14 +0000 (0:00:00.029) 0:00:57.550 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:14 +0000 (0:00:00.029) 0:00:57.580 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 March 2024 20:31:14 +0000 (0:00:00.229) 0:00:57.809 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 March 2024 20:31:14 +0000 (0:00:00.060) 0:00:57.870 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:14 +0000 (0:00:00.049) 0:00:57.919 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:14 +0000 (0:00:00.047) 0:00:57.966 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:14 +0000 (0:00:00.032) 0:00:57.999 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:15 +0000 (0:00:00.030) 0:00:58.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 : Check which services are running] **** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:15 +0000 (0:00:00.030) 0:00:58.059 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:16 +0000 (0:00:01.714) 0:00:59.774 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:18 +0000 (0:00:01.482) 0:01:01.256 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:18 +0000 (0:00:00.031) 0:01:01.287 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:18 +0000 (0:00:00.030) 0:01:01.318 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:18 +0000 (0:00:00.030) 0:01:01.349 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:18 +0000 (0:00:00.035) 0:01:01.385 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:18 +0000 (0:00:00.063) 0:01:01.448 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:18 +0000 (0:00:00.035) 0:01:01.483 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:18 +0000 (0:00:00.053) 0:01:01.537 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:18 +0000 (0:00:00.030) 0:01:01.567 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:18 +0000 (0:00:00.029) 0:01:01.597 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:18 +0000 (0:00:00.035) 0:01:01.632 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:18 +0000 (0:00:00.030) 0:01:01.662 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:18 +0000 (0:00:00.028) 0:01:01.690 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:19 +0000 (0:00:00.422) 0:01:02.113 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmphfum_eus" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:19 +0000 (0:00:00.331) 0:01:02.444 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:20 +0000 (0:00:00.606) 0:01:03.050 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:20 +0000 (0:00:00.032) 0:01:03.083 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:20 +0000 (0:00:00.032) 0:01:03.115 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:20 +0000 (0:00:00.031) 0:01:03.146 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:20 +0000 (0:00:00.029) 0:01:03.176 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 March 2024 20:31:20 +0000 (0:00:00.238) 0:01:03.415 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:20 +0000 (0:00:00.084) 0:01:03.499 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:20 +0000 (0:00:00.048) 0:01:03.547 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:20 +0000 (0:00:00.035) 0:01:03.583 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:20 +0000 (0:00:00.029) 0:01:03.612 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:20 +0000 (0:00:00.029) 0:01:03.642 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:22 +0000 (0:00:01.746) 0:01:05.388 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:23 +0000 (0:00:01.489) 0:01:06.878 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:23 +0000 (0:00:00.030) 0:01:06.909 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:23 +0000 (0:00:00.029) 0:01:06.938 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:23 +0000 (0:00:00.029) 0:01:06.968 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:23 +0000 (0:00:00.034) 0:01:07.003 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:24 +0000 (0:00:00.026) 0:01:07.030 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:24 +0000 (0:00:00.064) 0:01:07.094 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:24 +0000 (0:00:00.052) 0:01:07.147 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:24 +0000 (0:00:00.031) 0:01:07.179 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:24 +0000 (0:00:00.030) 0:01:07.209 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:24 +0000 (0:00:00.033) 0:01:07.243 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:24 +0000 (0:00:00.031) 0:01:07.275 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:24 +0000 (0:00:00.028) 0:01:07.303 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:24 +0000 (0:00:00.424) 0:01:07.728 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpdgdp7fj5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:25 +0000 (0:00:00.332) 0:01:08.060 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:25 +0000 (0:00:00.333) 0:01:08.394 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:25 +0000 (0:00:00.029) 0:01:08.424 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:25 +0000 (0:00:00.030) 0:01:08.454 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:25 +0000 (0:00:00.030) 0:01:08.484 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:25 +0000 (0:00:00.029) 0:01:08.514 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:31:25 +0000 (0:00:00.234) 0:01:08.748 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 March 2024 20:31:25 +0000 (0:00:00.043) 0:01:08.792 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:25 +0000 (0:00:00.112) 0:01:08.904 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:25 +0000 (0:00:00.047) 0:01:08.952 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:25 +0000 (0:00:00.033) 0:01:08.986 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:26 +0000 (0:00:00.030) 0:01:09.016 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:26 +0000 (0:00:00.029) 0:01:09.046 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:27 +0000 (0:00:01.741) 0:01:10.787 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:29 +0000 (0:00:01.476) 0:01:12.263 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:29 +0000 (0:00:00.031) 0:01:12.294 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:29 +0000 (0:00:00.030) 0:01:12.325 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:29 +0000 (0:00:00.028) 0:01:12.353 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:29 +0000 (0:00:00.035) 0:01:12.389 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:29 +0000 (0:00:00.059) 0:01:12.449 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:29 +0000 (0:00:00.034) 0:01:12.484 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:29 +0000 (0:00:00.053) 0:01:12.537 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:29 +0000 (0:00:00.030) 0:01:12.567 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:29 +0000 (0:00:00.029) 0:01:12.597 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:29 +0000 (0:00:00.035) 0:01:12.633 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:29 +0000 (0:00:00.030) 0:01:12.663 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:29 +0000 (0:00:00.026) 0:01:12.690 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:30 +0000 (0:00:00.421) 0:01:13.111 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpm2ub27mz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:30 +0000 (0:00:00.328) 0:01:13.440 ********** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:30 +0000 (0:00:00.325) 0:01:13.765 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:30 +0000 (0:00:00.032) 0:01:13.798 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:30 +0000 (0:00:00.030) 0:01:13.829 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:30 +0000 (0:00:00.029) 0:01:13.858 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:30 +0000 (0:00:00.029) 0:01:13.888 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:31:31 +0000 (0:00:00.237) 0:01:14.125 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 March 2024 20:31:31 +0000 (0:00:00.075) 0:01:14.201 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:31:31 +0000 (0:00:00.041) 0:01:14.243 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:31:31 +0000 (0:00:00.028) 0:01:14.271 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:31:31 +0000 (0:00:00.226) 0:01:14.498 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:31:31 +0000 (0:00:00.028) 0:01:14.526 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022622", "end": "2024-03-25 20:31:31.741956", "rc": 1, "start": "2024-03-25 20:31:31.719334" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:31:31 +0000 (0:00:00.255) 0:01:14.781 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:31:31 +0000 (0:00:00.028) 0:01:14.810 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:31:31 +0000 (0:00:00.027) 0:01:14.838 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:31:31 +0000 (0:00:00.029) 0:01:14.868 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:31:31 +0000 (0:00:00.027) 0:01:14.895 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 March 2024 20:31:31 +0000 (0:00:00.027) 0:01:14.923 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:31:31 +0000 (0:00:00.031) 0:01:14.954 ********** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:31:31 +0000 (0:00:00.030) 0:01:14.984 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:31:32 +0000 (0:00:00.028) 0:01:15.012 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:31:32 +0000 (0:00:00.078) 0:01:15.090 ********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049239", "end": "2024-03-25 20:31:32.330710", "rc": 0, "start": "2024-03-25 20:31:32.281471" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_states.yml:124 Monday 25 March 2024 20:31:32 +0000 (0:00:00.280) 0:01:15.371 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:5 Monday 25 March 2024 20:31:32 +0000 (0:00:00.043) 0:01:15.415 ********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:9 Monday 25 March 2024 20:31:32 +0000 (0:00:00.029) 0:01:15.445 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:21 Monday 25 March 2024 20:31:32 +0000 (0:00:00.053) 0:01:15.498 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:31:32 +0000 (0:00:00.040) 0:01:15.539 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:31:32 +0000 (0:00:00.043) 0:01:15.583 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-03-25 20:31:32.776027", "rc": 0, "start": "2024-03-25 20:31:32.772321" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:31:32 +0000 (0:00:00.231) 0:01:15.815 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:31:32 +0000 (0:00:00.029) 0:01:15.844 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:24 Monday 25 March 2024 20:31:32 +0000 (0:00:00.028) 0:01:15.873 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 March 2024 20:31:32 +0000 (0:00:00.047) 0:01:15.921 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:32 +0000 (0:00:00.050) 0:01:15.971 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:33 +0000 (0:00:00.080) 0:01:16.052 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:33 +0000 (0:00:00.033) 0:01:16.085 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:33 +0000 (0:00:00.032) 0:01:16.118 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:33 +0000 (0:00:00.031) 0:01:16.150 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:34 +0000 (0:00:01.720) 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 : Print network provider] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:36 +0000 (0:00:01.479) 0:01:19.349 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:36 +0000 (0:00:00.031) 0:01:19.381 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:36 +0000 (0:00:00.031) 0:01:19.413 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:36 +0000 (0:00:00.032) 0:01:19.445 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:36 +0000 (0:00:00.035) 0:01:19.481 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:36 +0000 (0:00:00.029) 0:01:19.510 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:36 +0000 (0:00:00.034) 0:01:19.544 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:36 +0000 (0:00:00.051) 0:01:19.595 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:36 +0000 (0:00:00.062) 0:01:19.658 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:36 +0000 (0:00:00.032) 0:01:19.690 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:36 +0000 (0:00:00.035) 0:01:19.726 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:36 +0000 (0:00:00.031) 0:01:19.758 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:36 +0000 (0:00:00.028) 0:01:19.786 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:37 +0000 (0:00:00.418) 0:01:20.205 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmp87le6ns9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:37 +0000 (0:00:00.327) 0:01:20.532 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:37 +0000 (0:00:00.327) 0:01:20.860 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:37 +0000 (0:00:00.030) 0:01:20.890 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:37 +0000 (0:00:00.031) 0:01:20.922 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:37 +0000 (0:00:00.031) 0:01:20.954 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:37 +0000 (0:00:00.030) 0:01:20.984 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 March 2024 20:31:38 +0000 (0:00:00.235) 0:01:21.219 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 March 2024 20:31:38 +0000 (0:00:00.037) 0:01:21.257 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:38 +0000 (0:00:00.051) 0:01:21.309 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:38 +0000 (0:00:00.089) 0:01:21.398 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:38 +0000 (0:00:00.042) 0:01:21.441 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:38 +0000 (0:00:00.035) 0:01:21.477 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:38 +0000 (0:00:00.032) 0:01:21.510 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:40 +0000 (0:00:01.707) 0:01:23.217 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:41 +0000 (0:00:01.481) 0:01:24.699 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:41 +0000 (0:00:00.032) 0:01:24.731 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:41 +0000 (0:00:00.029) 0:01:24.760 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:41 +0000 (0:00:00.030) 0:01:24.791 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:41 +0000 (0:00:00.035) 0:01:24.826 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:41 +0000 (0:00:00.029) 0:01:24.856 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:41 +0000 (0:00:00.034) 0:01:24.891 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:41 +0000 (0:00:00.051) 0:01:24.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:41 +0000 (0:00:00.063) 0:01:25.005 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:42 +0000 (0:00:00.031) 0:01:25.036 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:42 +0000 (0:00:00.033) 0:01:25.070 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:42 +0000 (0:00:00.031) 0:01:25.102 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:42 +0000 (0:00:00.028) 0:01:25.130 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:42 +0000 (0:00:00.419) 0:01:25.549 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmp0ddx0k1z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:42 +0000 (0:00:00.327) 0:01:25.877 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:43 +0000 (0:00:00.609) 0:01:26.486 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:43 +0000 (0:00:00.030) 0:01:26.517 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:43 +0000 (0:00:00.031) 0:01:26.549 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:43 +0000 (0:00:00.031) 0:01:26.581 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:43 +0000 (0:00:00.030) 0:01:26.611 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 March 2024 20:31:43 +0000 (0:00:00.232) 0:01:26.843 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:43 +0000 (0:00:00.049) 0:01:26.893 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:43 +0000 (0:00:00.083) 0:01:26.976 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:44 +0000 (0:00:00.035) 0:01:27.012 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:44 +0000 (0:00:00.031) 0:01:27.043 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:44 +0000 (0:00:00.034) 0:01:27.078 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:45 +0000 (0:00:01.735) 0:01:28.814 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:47 +0000 (0:00:01.482) 0:01:30.296 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:47 +0000 (0:00:00.030) 0:01:30.327 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:47 +0000 (0:00:00.030) 0:01:30.358 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:47 +0000 (0:00:00.029) 0:01: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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:47 +0000 (0:00:00.035) 0:01:30.423 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:47 +0000 (0:00:00.027) 0:01:30.451 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:47 +0000 (0:00:00.035) 0:01:30.486 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:47 +0000 (0:00:00.052) 0:01:30.539 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:47 +0000 (0:00:00.029) 0:01:30.568 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:47 +0000 (0:00:00.100) 0:01:30.669 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:47 +0000 (0:00:00.036) 0:01:30.705 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:47 +0000 (0:00:00.029) 0:01:30.735 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:47 +0000 (0:00:00.028) 0:01:30.763 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:48 +0000 (0:00:00.421) 0:01:31.185 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmpxoa01_37" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:48 +0000 (0:00:00.326) 0:01:31.512 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:48 +0000 (0:00:00.342) 0:01:31.854 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:48 +0000 (0:00:00.032) 0:01:31.886 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:48 +0000 (0:00:00.031) 0:01:31.918 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:48 +0000 (0:00:00.032) 0:01:31.950 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:48 +0000 (0:00:00.031) 0:01:31.982 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:30 Monday 25 March 2024 20:31:49 +0000 (0:00:00.238) 0:01:32.220 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 March 2024 20:31:49 +0000 (0:00:00.043) 0:01:32.263 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:31:49 +0000 (0:00:00.048) 0:01:32.312 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:31:49 +0000 (0:00:00.129) 0:01:32.442 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:31:49 +0000 (0:00:00.035) 0:01:32.477 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:31:49 +0000 (0:00:00.031) 0:01:32.509 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:31:49 +0000 (0:00:00.030) 0:01:32.539 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:31:51 +0000 (0:00:01.721) 0:01:34.261 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:31:52 +0000 (0:00:01.477) 0:01:35.738 ********** ok: [sut] => {} MSG: Using network provider: initscripts 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:31:52 +0000 (0:00:00.030) 0:01:35.769 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:31:52 +0000 (0:00:00.029) 0:01:35.798 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:31:52 +0000 (0:00:00.030) 0:01:35.829 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:31:52 +0000 (0:00:00.035) 0:01:35.864 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:31:52 +0000 (0:00:00.029) 0:01:35.893 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:31:52 +0000 (0:00:00.034) 0:01:35.927 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:31:52 +0000 (0:00:00.051) 0:01:35.979 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:31:53 +0000 (0:00:00.067) 0:01:36.047 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:31:53 +0000 (0:00:00.032) 0:01:36.080 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:31:53 +0000 (0:00:00.035) 0:01:36.116 ********** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:31:53 +0000 (0:00:00.034) 0:01:36.151 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:31:53 +0000 (0:00:00.029) 0:01:36.180 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:31:53 +0000 (0:00:00.418) 0:01:36.599 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12333v4m6ttiw/tmp5mxj6_ov" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:31:53 +0000 (0:00:00.329) 0:01:36.928 ********** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:31:54 +0000 (0:00:00.327) 0:01:37.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:31:54 +0000 (0:00:00.030) 0:01:37.285 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:31:54 +0000 (0:00:00.030) 0:01:37.316 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:31:54 +0000 (0:00:00.030) 0:01:37.347 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:31:54 +0000 (0:00:00.029) 0:01:37.376 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:36 Monday 25 March 2024 20:31:54 +0000 (0:00:00.233) 0:01:37.609 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 March 2024 20:31:54 +0000 (0:00:00.049) 0:01:37.659 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:31:54 +0000 (0:00:00.073) 0:01:37.733 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:31:54 +0000 (0:00:00.030) 0:01:37.764 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:31:54 +0000 (0:00:00.224) 0:01:37.989 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:31:55 +0000 (0:00:00.028) 0:01:38.017 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022208", "end": "2024-03-25 20:31:55.227046", "rc": 1, "start": "2024-03-25 20:31:55.204838" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:31:55 +0000 (0:00:00.249) 0:01:38.266 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:31:55 +0000 (0:00:00.030) 0:01:38.297 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:31:55 +0000 (0:00:00.030) 0:01:38.327 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:31:55 +0000 (0:00:00.029) 0:01:38.357 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:31:55 +0000 (0:00:00.029) 0:01:38.386 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 March 2024 20:31:55 +0000 (0:00:00.030) 0:01:38.416 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 March 2024 20:31:55 +0000 (0:00:00.032) 0:01:38.449 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.044375", "end": "2024-03-25 20:31:56.681791", "rc": 0, "start": "2024-03-25 20:31:55.637416" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 March 2024 20:31:56 +0000 (0:00:01.272) 0:01:39.722 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 March 2024 20:31:56 +0000 (0:00:00.030) 0:01:39.753 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:42 Monday 25 March 2024 20:31:56 +0000 (0:00:00.029) 0:01:39.782 ********** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:47 Monday 25 March 2024 20:31:56 +0000 (0:00:00.030) 0:01:39.813 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/run_test.yml:66 Monday 25 March 2024 20:31:56 +0000 (0:00:00.029) 0:01:39.842 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 March 2024 20:31:56 +0000 (0:00:00.080) 0:01:39.923 ********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050766", "end": "2024-03-25 20:31:57.164492", "rc": 0, "start": "2024-03-25 20:31:57.113726" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:6 Monday 25 March 2024 20:31:57 +0000 (0:00:00.283) 0:01:40.207 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.010436", "end": "2024-03-25 20:31:57.404640", "rc": 0, "start": "2024-03-25 20:31:57.394204" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:86:78:52:89:57 brd ff:ff:ff:ff:ff:ff inet 10.31.43.227/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2076sec preferred_lft 2076sec inet6 fe80::c86:78ff:fe52:8957/64 scope link valid_lft forever preferred_lft forever 42: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 82:44:36:bb:d2:c0 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.227 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.227 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:24 Monday 25 March 2024 20:31:57 +0000 (0:00:00.236) 0:01:40.444 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.239669", "end": "2024-03-25 20:31:57.875431", "rc": 0, "start": "2024-03-25 20:31:57.635762" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2420 0 --:--:-- --:--:-- --:--:-- 2420 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3423 0 --:--:-- --:--:-- --:--:-- 3383 PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=271 rescued=0 ignored=10 Monday 25 March 2024 20:31:57 +0000 (0:00:00.503) 0:01:40.947 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.63s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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. ---^---^---^---^---^---