# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tests_states_initscripts.yml:5 Friday 15 March 2024 15:47:28 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tests_states_initscripts.yml:8 Friday 15 March 2024 15:47:29 +0000 (0:00:00.998) 0:00:01.010 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 15:47:29 +0000 (0:00:00.012) 0:00:01.023 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:17 Friday 15 March 2024 15:47:30 +0000 (0:00:00.400) 0:00:01.423 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:22 Friday 15 March 2024 15:47:30 +0000 (0:00:00.282) 0:00:01.706 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:26 Friday 15 March 2024 15:47:30 +0000 (0:00:00.024) 0:00:01.730 ********** 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-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:51 Friday 15 March 2024 15:47:30 +0000 (0:00:00.020) 0:00:01.750 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 15:47:30 +0000 (0:00:00.025) 0:00:01.776 ********** 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-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 15:47:30 +0000 (0:00:00.303) 0:00:02.079 ********** 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-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 15:47:30 +0000 (0:00:00.023) 0:00:02.103 ********** 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-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 15:47:30 +0000 (0:00:00.011) 0:00:02.115 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.281047", "end": "2024-03-15 15:47:31.224247", "rc": 0, "start": "2024-03-15 15:47:30.943200" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 15:47:31 +0000 (0:00:00.503) 0:00:02.618 ********** 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-nm_plugin_hotfixdqm37epu/tests/tests_states_initscripts.yml:10 Friday 15 March 2024 15:47:31 +0000 (0:00:00.008) 0:00:02.627 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:3 Friday 15 March 2024 15:47:31 +0000 (0:00:00.017) 0:00:02.644 ********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:11 Friday 15 March 2024 15:47:31 +0000 (0:00:00.718) 0:00:03.362 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:22 Friday 15 March 2024 15:47:32 +0000 (0:00:00.019) 0:00:03.381 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:47:32 +0000 (0:00:00.022) 0:00:03.404 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:47:32 +0000 (0:00:00.019) 0:00:03.424 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:47:32 +0000 (0:00:00.042) 0:00:03.466 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:47:32 +0000 (0:00:00.021) 0:00:03.488 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:47:32 +0000 (0:00:00.020) 0:00:03.508 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003834", "end": "2024-03-15 15:47:32.339342", "rc": 0, "start": "2024-03-15 15:47:32.335508" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:47:32 +0000 (0:00:00.225) 0:00:03.733 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:47:32 +0000 (0:00:00.021) 0:00:03.755 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:47:32 +0000 (0:00:00.021) 0:00:03.776 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:47:32 +0000 (0:00:00.035) 0:00:03.812 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009373", "end": "2024-03-15 15:47:32.673854", "rc": 1, "start": "2024-03-15 15:47:32.664481" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:47:32 +0000 (0:00:00.262) 0:00:04.074 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:47:32 +0000 (0:00:00.026) 0:00:04.101 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:47:32 +0000 (0:00:00.244) 0:00:04.345 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:47:33 +0000 (0:00:00.038) 0:00:04.383 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:47:33 +0000 (0:00:00.029) 0:00:04.413 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:47:33 +0000 (0:00:00.037) 0:00:04.450 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:47:33 +0000 (0:00:00.029) 0:00:04.480 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:47:33 +0000 (0:00:00.021) 0:00:04.502 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:47:33 +0000 (0:00:00.037) 0:00:04.539 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:47:33 +0000 (0:00:00.025) 0:00:04.565 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:47:35 +0000 (0:00:01.998) 0:00:06.564 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:47:36 +0000 (0:00:01.724) 0:00:08.288 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:47:36 +0000 (0:00:00.032) 0:00:08.320 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:47:36 +0000 (0:00:00.031) 0:00:08.351 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:47:37 +0000 (0:00:00.032) 0:00:08.384 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:47:37 +0000 (0:00:00.056) 0:00:08.441 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:47:37 +0000 (0:00:00.047) 0:00:08.488 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:47:37 +0000 (0:00:00.056) 0:00:08.545 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:47:37 +0000 (0:00:00.065) 0:00:08.610 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:47:37 +0000 (0:00:00.082) 0:00:08.692 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:47:37 +0000 (0:00:00.040) 0:00:08.733 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:47:37 +0000 (0:00:00.037) 0:00:08.771 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:47:37 +0000 (0:00:00.035) 0:00:08.806 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:47:37 +0000 (0:00:00.033) 0:00:08.839 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:47:38 +0000 (0:00:00.678) 0:00:09.517 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpi36p545u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:47:38 +0000 (0:00:00.356) 0:00:09.873 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:47:38 +0000 (0:00:00.484) 0:00:10.358 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:47:39 +0000 (0:00:00.033) 0:00:10.392 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:47:39 +0000 (0:00:00.058) 0:00:10.451 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:47:39 +0000 (0:00:00.034) 0:00:10.485 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:47:39 +0000 (0:00:00.031) 0:00:10.517 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:47:39 +0000 (0:00:00.380) 0:00:10.897 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:47:39 +0000 (0:00:00.082) 0:00:10.980 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:47:39 +0000 (0:00:00.059) 0:00:11.040 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:47:39 +0000 (0:00:00.095) 0:00:11.135 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:47:39 +0000 (0:00:00.031) 0:00:11.167 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517658.949882, "block_size": 4096, "blocks": 8, "ctime": 1710517658.949882, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6225136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710517658.949882, "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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:47:40 +0000 (0:00:00.245) 0:00:11.412 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:47:40 +0000 (0:00:00.032) 0:00:11.445 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021800", "end": "2024-03-15 15:47:40.295698", "rc": 1, "start": "2024-03-15 15:47:40.273898" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:47:40 +0000 (0:00:00.252) 0:00:11.698 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:47:40 +0000 (0:00:00.032) 0:00:11.730 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003998", "end": "2024-03-15 15:47:40.565498", "rc": 0, "start": "2024-03-15 15:47:40.561500" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:47:40 +0000 (0:00:00.243) 0:00:11.973 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:47:40 +0000 (0:00:00.034) 0:00:12.008 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003755", "end": "2024-03-15 15:47:40.841836", "rc": 0, "start": "2024-03-15 15:47:40.838081" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:47:40 +0000 (0:00:00.239) 0:00:12.247 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:47:40 +0000 (0:00:00.039) 0:00:12.286 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:47:40 +0000 (0:00:00.037) 0:00:12.324 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:47:40 +0000 (0:00:00.045) 0:00:12.370 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:47:41 +0000 (0:00:00.049) 0:00:12.420 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:47:41 +0000 (0:00:00.051) 0:00:12.471 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:47:41 +0000 (0:00:00.102) 0:00:12.573 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:47:41 +0000 (0:00:00.147) 0:00:12.721 ********** 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.044156", "end": "2024-03-15 15:47:41.637905", "rc": 1, "start": "2024-03-15 15:47:41.593749" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:45 Friday 15 March 2024 15:47:41 +0000 (0:00:00.322) 0:00:13.043 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:47:41 +0000 (0:00:00.047) 0:00:13.091 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:47:41 +0000 (0:00:00.036) 0:00:13.128 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:47:41 +0000 (0:00:00.136) 0:00:13.265 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:47:41 +0000 (0:00:00.084) 0:00:13.349 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:47:42 +0000 (0:00:00.080) 0:00:13.429 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003841", "end": "2024-03-15 15:47:42.330064", "rc": 0, "start": "2024-03-15 15:47:42.326223" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:47:42 +0000 (0:00:00.305) 0:00:13.735 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:47:42 +0000 (0:00:00.032) 0:00:13.767 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:47:42 +0000 (0:00:00.031) 0:00:13.799 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:47:42 +0000 (0:00:00.051) 0:00:13.851 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006919", "end": "2024-03-15 15:47:42.685268", "rc": 1, "start": "2024-03-15 15:47:42.678349" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:47:42 +0000 (0:00:00.261) 0:00:14.112 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:47:42 +0000 (0:00:00.097) 0:00:14.210 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:47:43 +0000 (0:00:00.237) 0:00:14.447 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:47:43 +0000 (0:00:00.036) 0:00:14.483 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 15 March 2024 15:47:43 +0000 (0:00:00.050) 0:00:14.534 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:47:43 +0000 (0:00:00.060) 0:00:14.594 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:47:43 +0000 (0:00:00.064) 0:00:14.658 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:47:43 +0000 (0:00:00.037) 0:00:14.696 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:47:43 +0000 (0:00:00.033) 0:00:14.730 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:47:43 +0000 (0:00:00.033) 0:00:14.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 : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:47:45 +0000 (0:00:01.763) 0:00:16.527 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:47:46 +0000 (0:00:01.593) 0:00:18.121 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:47:46 +0000 (0:00:00.053) 0:00:18.174 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:47:46 +0000 (0:00:00.050) 0:00:18.225 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:47:46 +0000 (0:00:00.032) 0:00:18.258 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:47:46 +0000 (0:00:00.061) 0:00:18.319 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:47:46 +0000 (0:00:00.040) 0:00:18.360 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:47:47 +0000 (0:00:00.041) 0:00:18.401 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:47:47 +0000 (0:00:00.062) 0:00:18.463 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:47:47 +0000 (0:00:00.036) 0:00:18.500 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:47:47 +0000 (0:00:00.036) 0:00:18.536 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:47:47 +0000 (0:00:00.052) 0:00:18.589 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:47:47 +0000 (0:00:00.039) 0:00:18.629 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:47:47 +0000 (0:00:00.033) 0:00:18.662 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:47:47 +0000 (0:00:00.435) 0:00:19.098 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmp4qsfhjrl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:47:48 +0000 (0:00:00.331) 0:00:19.429 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:47:48 +0000 (0:00:00.376) 0:00:19.806 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:47:48 +0000 (0:00:00.078) 0:00:19.884 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:47:48 +0000 (0:00:00.033) 0:00:19.918 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:47:48 +0000 (0:00:00.034) 0:00:19.953 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:47:48 +0000 (0:00:00.036) 0:00:19.989 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 15 March 2024 15:47:48 +0000 (0:00:00.241) 0:00:20.231 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:47:48 +0000 (0:00:00.033) 0:00:20.264 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:47:48 +0000 (0:00:00.051) 0:00:20.315 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:47:48 +0000 (0:00:00.042) 0:00:20.358 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:47:49 +0000 (0:00:00.233) 0:00:20.591 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:47:49 +0000 (0:00:00.032) 0:00:20.624 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:47:49 +0000 (0:00:00.044) 0:00:20.669 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:47:49 +0000 (0:00:00.031) 0:00:20.700 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517668.4018874, "block_size": 4096, "blocks": 8, "ctime": 1710517668.4018874, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6225136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710517668.4018874, "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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:47:49 +0000 (0:00:00.232) 0:00:20.932 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:47:49 +0000 (0:00:00.031) 0:00:20.964 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022178", "end": "2024-03-15 15:47:49.818093", "rc": 1, "start": "2024-03-15 15:47:49.795915" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:47:49 +0000 (0:00:00.287) 0:00:21.251 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:47:49 +0000 (0:00:00.031) 0:00:21.283 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003815", "end": "2024-03-15 15:47:50.115083", "rc": 0, "start": "2024-03-15 15:47:50.111268" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:47:50 +0000 (0:00:00.236) 0:00:21.520 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:47:50 +0000 (0:00:00.035) 0:00:21.556 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004019", "end": "2024-03-15 15:47:50.390622", "rc": 0, "start": "2024-03-15 15:47:50.386603" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:47:50 +0000 (0:00:00.239) 0:00:21.795 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:47:50 +0000 (0:00:00.036) 0:00:21.831 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:47:50 +0000 (0:00:00.034) 0:00:21.866 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:47:50 +0000 (0:00:00.034) 0:00:21.900 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:47:50 +0000 (0:00:00.032) 0:00:21.933 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:47:50 +0000 (0:00:00.029) 0:00:21.963 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:47:50 +0000 (0:00:00.035) 0:00:21.999 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:47:50 +0000 (0:00:00.052) 0:00:22.051 ********** 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.043304", "end": "2024-03-15 15:47:50.925570", "rc": 1, "start": "2024-03-15 15:47:50.882266" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:65 Friday 15 March 2024 15:47:50 +0000 (0:00:00.277) 0:00:22.329 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:47:50 +0000 (0:00:00.043) 0:00:22.372 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:47:51 +0000 (0:00:00.065) 0:00:22.437 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:47:51 +0000 (0:00:00.055) 0:00:22.493 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:47:51 +0000 (0:00:00.054) 0:00:22.548 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:47:51 +0000 (0:00:00.058) 0:00:22.606 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004079", "end": "2024-03-15 15:47:51.439960", "rc": 0, "start": "2024-03-15 15:47:51.435881" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:47:51 +0000 (0:00:00.237) 0:00:22.844 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:47:51 +0000 (0:00:00.031) 0:00:22.875 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:47:51 +0000 (0:00:00.032) 0:00:22.908 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:47:51 +0000 (0:00:00.048) 0:00:22.956 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:47:51 +0000 (0:00:00.068) 0:00:23.025 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:47:51 +0000 (0:00:00.061) 0:00:23.086 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:47:51 +0000 (0:00:00.037) 0:00:23.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:47:51 +0000 (0:00:00.067) 0:00:23.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:47:51 +0000 (0:00:00.032) 0:00:23.223 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:47:53 +0000 (0:00:01.770) 0:00:24.994 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:47:55 +0000 (0:00:01.506) 0:00:26.500 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:47:55 +0000 (0:00:00.048) 0:00:26.548 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:47:55 +0000 (0:00:00.036) 0:00:26.585 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:47:55 +0000 (0:00:00.036) 0:00:26.622 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:47:55 +0000 (0:00:00.061) 0:00:26.683 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:47:55 +0000 (0:00:00.046) 0:00:26.730 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:47:55 +0000 (0:00:00.083) 0:00:26.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:47:55 +0000 (0:00:00.077) 0:00:26.891 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:47:55 +0000 (0:00:00.053) 0:00:26.945 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:47:55 +0000 (0:00:00.054) 0:00:26.999 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:47:55 +0000 (0:00:00.062) 0:00:27.061 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:47:55 +0000 (0:00:00.089) 0:00:27.150 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:47:55 +0000 (0:00:00.030) 0:00:27.181 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:47:56 +0000 (0:00:00.427) 0:00:27.608 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpz0_3ba9v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:47:56 +0000 (0:00:00.337) 0:00:27.946 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:47:56 +0000 (0:00:00.353) 0:00:28.300 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:47:56 +0000 (0:00:00.034) 0:00:28.335 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:47:56 +0000 (0:00:00.034) 0:00:28.369 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:47:57 +0000 (0:00:00.041) 0:00:28.411 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:47:57 +0000 (0:00:00.036) 0:00:28.447 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:47:57 +0000 (0:00:00.243) 0:00:28.691 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:47:57 +0000 (0:00:00.033) 0:00:28.724 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:47:57 +0000 (0:00:00.047) 0:00:28.771 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:47:57 +0000 (0:00:00.056) 0:00:28.828 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:47:57 +0000 (0:00:00.116) 0:00:28.945 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:47:57 +0000 (0:00:00.039) 0:00:28.984 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:47:57 +0000 (0:00:00.035) 0:00:29.020 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:47:57 +0000 (0:00:00.039) 0:00:29.060 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:47:59 +0000 (0:00:01.756) 0:00:30.816 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:00 +0000 (0:00:01.533) 0:00:32.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:01 +0000 (0:00:00.045) 0:00:32.395 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:01 +0000 (0:00:00.041) 0:00:32.437 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:01 +0000 (0:00:00.046) 0:00:32.484 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:01 +0000 (0:00:00.055) 0:00:32.539 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:01 +0000 (0:00:00.038) 0:00:32.578 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:01 +0000 (0:00:00.055) 0:00:32.634 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:01 +0000 (0:00:00.087) 0:00:32.721 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:01 +0000 (0:00:00.047) 0:00:32.768 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:01 +0000 (0:00:00.099) 0:00:32.868 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:01 +0000 (0:00:00.042) 0:00:32.911 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:01 +0000 (0:00:00.049) 0:00:32.960 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:01 +0000 (0:00:00.035) 0:00:32.996 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:02 +0000 (0:00:00.440) 0:00:33.436 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmp4gf9q6a8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:02 +0000 (0:00:00.364) 0:00:33.801 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:03 +0000 (0:00:00.644) 0:00:34.446 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:03 +0000 (0:00:00.040) 0:00:34.487 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:03 +0000 (0:00:00.034) 0:00:34.521 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:03 +0000 (0:00:00.034) 0:00:34.556 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:03 +0000 (0:00:00.033) 0:00:34.590 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:48:03 +0000 (0:00:00.239) 0:00:34.830 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:48:03 +0000 (0:00:00.051) 0:00:34.881 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:48:03 +0000 (0:00:00.043) 0:00:34.925 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517682.9325182, "block_size": 4096, "blocks": 0, "ctime": 1710517682.9325182, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28007, "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": 1710517682.9325182, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:48:03 +0000 (0:00:00.311) 0:00:35.237 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:48:03 +0000 (0:00:00.051) 0:00:35.289 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:48:03 +0000 (0:00:00.062) 0:00:35.352 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:48:04 +0000 (0:00:00.033) 0:00:35.386 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517682.7388954, "block_size": 4096, "blocks": 8, "ctime": 1710517676.8948922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6225136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710517676.8948922, "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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:48:04 +0000 (0:00:00.250) 0:00:35.636 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:48:04 +0000 (0:00:00.059) 0:00:35.696 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024051", "end": "2024-03-15 15:48:04.571304", "rc": 1, "start": "2024-03-15 15:48:04.547253" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:48:04 +0000 (0:00:00.279) 0:00:35.976 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:48:04 +0000 (0:00:00.039) 0:00:36.015 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003761", "end": "2024-03-15 15:48:04.848464", "rc": 0, "start": "2024-03-15 15:48:04.844703" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:48:04 +0000 (0:00:00.237) 0:00:36.253 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:48:04 +0000 (0:00:00.041) 0:00:36.295 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003738", "end": "2024-03-15 15:48:05.164247", "rc": 0, "start": "2024-03-15 15:48:05.160509" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:48:05 +0000 (0:00:00.274) 0:00:36.569 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:48:05 +0000 (0:00:00.042) 0:00:36.612 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:48:05 +0000 (0:00:00.034) 0:00:36.646 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:48:05 +0000 (0:00:00.036) 0:00:36.683 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:48:05 +0000 (0:00:00.032) 0:00:36.715 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:48:05 +0000 (0:00:00.028) 0:00:36.744 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:48:05 +0000 (0:00:00.082) 0:00:36.826 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:48:05 +0000 (0:00:00.053) 0:00:36.879 ********** 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.048002", "end": "2024-03-15 15:48:05.756095", "rc": 0, "start": "2024-03-15 15:48:05.708093" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:83 Friday 15 March 2024 15:48:05 +0000 (0:00:00.283) 0:00:37.163 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:48:05 +0000 (0:00:00.046) 0:00:37.209 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:48:05 +0000 (0:00:00.037) 0:00:37.246 ********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:48:05 +0000 (0:00:00.056) 0:00:37.303 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:48:05 +0000 (0:00:00.043) 0:00:37.346 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:48:06 +0000 (0:00:00.042) 0:00:37.389 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003933", "end": "2024-03-15 15:48:06.219702", "rc": 0, "start": "2024-03-15 15:48:06.215769" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:48:06 +0000 (0:00:00.235) 0:00:37.624 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:48:06 +0000 (0:00:00.032) 0:00:37.656 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:48:06 +0000 (0:00:00.031) 0:00:37.688 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:48:06 +0000 (0:00:00.102) 0:00:37.791 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:06 +0000 (0:00:00.054) 0:00:37.845 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:06 +0000 (0:00:00.051) 0:00:37.897 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:06 +0000 (0:00:00.037) 0:00:37.935 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:06 +0000 (0:00:00.039) 0:00:37.975 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:06 +0000 (0:00:00.042) 0:00:38.017 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:08 +0000 (0:00:01.863) 0:00:39.881 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:10 +0000 (0:00:01.524) 0:00:41.405 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:10 +0000 (0:00:00.033) 0:00:41.439 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:10 +0000 (0:00:00.040) 0:00:41.479 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:10 +0000 (0:00:00.034) 0:00:41.514 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:10 +0000 (0:00:00.038) 0:00:41.552 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:10 +0000 (0:00:00.068) 0:00:41.621 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:10 +0000 (0:00:00.037) 0:00:41.658 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:10 +0000 (0:00:00.057) 0:00:41.716 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:10 +0000 (0:00:00.044) 0:00:41.760 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:10 +0000 (0:00:00.082) 0:00:41.843 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:10 +0000 (0:00:00.042) 0:00:41.886 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:10 +0000 (0:00:00.038) 0:00:41.924 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:10 +0000 (0:00:00.031) 0:00:41.956 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:11 +0000 (0:00:00.440) 0:00:42.396 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpjgby5b7o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:11 +0000 (0:00:00.381) 0:00:42.777 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:11 +0000 (0:00:00.363) 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 : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:11 +0000 (0:00:00.040) 0:00:43.180 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:11 +0000 (0:00:00.034) 0:00:43.215 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:11 +0000 (0:00:00.036) 0:00:43.252 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:11 +0000 (0:00:00.038) 0:00:43.291 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:48:12 +0000 (0:00:00.237) 0:00:43.529 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:48:12 +0000 (0:00:00.072) 0:00:43.601 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:12 +0000 (0:00:00.053) 0:00:43.654 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:12 +0000 (0:00:00.050) 0:00:43.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 : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:12 +0000 (0:00:00.035) 0:00:43.741 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:12 +0000 (0:00:00.036) 0:00:43.778 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:12 +0000 (0:00:00.039) 0:00:43.818 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:14 +0000 (0:00:01.797) 0:00:45.615 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:15 +0000 (0:00:01.495) 0:00:47.111 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:15 +0000 (0:00:00.033) 0:00:47.145 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:15 +0000 (0:00:00.032) 0:00:47.177 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:15 +0000 (0:00:00.033) 0:00:47.210 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:15 +0000 (0:00:00.038) 0:00:47.249 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:15 +0000 (0:00:00.073) 0:00:47.323 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:15 +0000 (0:00:00.038) 0:00:47.361 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:16 +0000 (0:00:00.098) 0:00:47.460 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:16 +0000 (0:00:00.068) 0:00:47.528 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:16 +0000 (0:00:00.062) 0:00:47.591 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:16 +0000 (0:00:00.040) 0:00:47.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:16 +0000 (0:00:00.081) 0:00:47.713 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:16 +0000 (0:00:00.046) 0:00:47.759 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:16 +0000 (0:00:00.475) 0:00:48.235 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpy9u092nx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:17 +0000 (0:00:00.332) 0:00:48.568 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:17 +0000 (0:00:00.625) 0:00:49.194 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:17 +0000 (0:00:00.033) 0:00:49.227 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:17 +0000 (0:00:00.036) 0:00:49.263 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:17 +0000 (0:00:00.033) 0:00:49.297 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:17 +0000 (0:00:00.043) 0:00:49.341 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:48:18 +0000 (0:00:00.288) 0:00:49.629 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:48:18 +0000 (0:00:00.059) 0:00:49.688 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:18 +0000 (0:00:00.083) 0:00:49.772 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:18 +0000 (0:00:00.061) 0:00:49.833 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:18 +0000 (0:00:00.036) 0:00:49.869 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:18 +0000 (0:00:00.035) 0:00:49.905 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:18 +0000 (0:00:00.033) 0:00:49.938 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:20 +0000 (0:00:01.787) 0:00:51.726 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:21 +0000 (0:00:01.498) 0:00:53.224 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:21 +0000 (0:00:00.034) 0:00:53.259 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:21 +0000 (0:00:00.035) 0:00:53.294 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:22 +0000 (0:00:00.092) 0:00:53.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:22 +0000 (0:00:00.039) 0:00:53.426 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:22 +0000 (0:00:00.032) 0:00:53.459 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:22 +0000 (0:00:00.039) 0:00:53.498 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:22 +0000 (0:00:00.074) 0:00:53.572 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:22 +0000 (0:00:00.036) 0:00:53.609 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:22 +0000 (0:00:00.035) 0:00:53.644 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:22 +0000 (0:00:00.040) 0:00:53.685 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:22 +0000 (0:00:00.048) 0:00:53.734 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:22 +0000 (0:00:00.038) 0:00:53.773 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:22 +0000 (0:00:00.463) 0:00:54.236 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmp0mbm4twz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:23 +0000 (0:00:00.354) 0:00:54.590 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:23 +0000 (0:00:00.350) 0:00:54.941 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:23 +0000 (0:00:00.040) 0:00:54.981 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:23 +0000 (0:00:00.038) 0:00:55.019 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:23 +0000 (0:00:00.048) 0:00:55.068 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:23 +0000 (0:00:00.044) 0:00:55.113 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:48:24 +0000 (0:00:00.297) 0:00:55.411 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:48:24 +0000 (0:00:00.056) 0:00:55.467 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:48:24 +0000 (0:00:00.044) 0:00:55.512 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517697.6875982, "block_size": 4096, "blocks": 0, "ctime": 1710517697.6875982, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28138, "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": 1710517697.6875982, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:48:24 +0000 (0:00:00.261) 0:00:55.773 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:48:24 +0000 (0:00:00.042) 0:00:55.815 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:48:24 +0000 (0:00:00.048) 0:00:55.864 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:48:24 +0000 (0:00:00.033) 0:00:55.897 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:48:24 +0000 (0:00:00.242) 0:00:56.140 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:48:24 +0000 (0:00:00.048) 0:00:56.189 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022427", "end": "2024-03-15 15:48:25.042941", "rc": 1, "start": "2024-03-15 15:48:25.020514" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:48:25 +0000 (0:00:00.258) 0:00:56.447 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:48:25 +0000 (0:00:00.031) 0:00:56.479 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:48:25 +0000 (0:00:00.033) 0:00:56.512 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:48:25 +0000 (0:00:00.031) 0:00:56.544 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:48:25 +0000 (0:00:00.079) 0:00:56.624 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:48:25 +0000 (0:00:00.033) 0:00:56.657 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:48:25 +0000 (0:00:00.034) 0:00:56.692 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:48:25 +0000 (0:00:00.030) 0:00:56.722 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:48:25 +0000 (0:00:00.032) 0:00:56.755 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:48:25 +0000 (0:00:00.048) 0:00:56.803 ********** 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.050900", "end": "2024-03-15 15:48:25.682051", "rc": 0, "start": "2024-03-15 15:48:25.631151" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:102 Friday 15 March 2024 15:48:25 +0000 (0:00:00.284) 0:00:57.087 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:48:25 +0000 (0:00:00.043) 0:00:57.130 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:48:25 +0000 (0:00:00.031) 0:00:57.162 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:48:25 +0000 (0:00:00.055) 0:00:57.217 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:48:25 +0000 (0:00:00.044) 0:00:57.262 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:48:25 +0000 (0:00:00.040) 0:00:57.303 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004977", "end": "2024-03-15 15:48:27.134647", "rc": 0, "start": "2024-03-15 15:48:26.129670" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:48:27 +0000 (0:00:01.270) 0:00:58.573 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:48:27 +0000 (0:00:00.031) 0:00:58.605 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:48:27 +0000 (0:00:00.032) 0:00:58.637 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:48:27 +0000 (0:00:00.051) 0:00:58.688 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:27 +0000 (0:00:00.053) 0:00:58.742 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:27 +0000 (0:00:00.050) 0:00:58.792 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:27 +0000 (0:00:00.037) 0:00:58.830 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:27 +0000 (0:00:00.033) 0:00:58.863 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:27 +0000 (0:00:00.031) 0:00:58.895 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:29 +0000 (0:00:01.778) 0:01:00.674 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:30 +0000 (0:00:01.560) 0:01:02.235 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:30 +0000 (0:00:00.090) 0:01:02.325 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:30 +0000 (0:00:00.036) 0:01:02.362 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:31 +0000 (0:00:00.033) 0:01:02.396 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:31 +0000 (0:00:00.039) 0:01:02.435 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:31 +0000 (0:00:00.033) 0:01:02.469 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:31 +0000 (0:00:00.047) 0:01:02.517 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:31 +0000 (0:00:00.058) 0:01:02.576 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:31 +0000 (0:00:00.039) 0:01:02.616 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:31 +0000 (0:00:00.039) 0:01:02.655 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:31 +0000 (0:00:00.037) 0:01:02.692 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:31 +0000 (0:00:00.032) 0:01:02.725 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:31 +0000 (0:00:00.032) 0:01:02.758 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:31 +0000 (0:00:00.427) 0:01:03.185 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpzj2irv1c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:32 +0000 (0:00:00.355) 0:01:03.541 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:32 +0000 (0:00:00.351) 0:01:03.893 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:32 +0000 (0:00:00.033) 0:01:03.927 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:32 +0000 (0:00:00.046) 0:01:03.973 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:32 +0000 (0:00:00.088) 0:01:04.061 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:32 +0000 (0:00:00.035) 0:01:04.097 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:48:32 +0000 (0:00:00.245) 0:01:04.343 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:48:33 +0000 (0:00:00.036) 0:01:04.379 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:33 +0000 (0:00:00.053) 0:01:04.433 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:33 +0000 (0:00:00.051) 0:01:04.485 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:33 +0000 (0:00:00.036) 0:01:04.522 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:33 +0000 (0:00:00.033) 0:01:04.555 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:33 +0000 (0:00:00.036) 0:01:04.592 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:35 +0000 (0:00:01.822) 0:01:06.415 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:36 +0000 (0:00:01.562) 0:01:07.977 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:36 +0000 (0:00:00.090) 0:01:08.067 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:36 +0000 (0:00:00.035) 0:01:08.103 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:36 +0000 (0:00:00.032) 0:01:08.136 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:36 +0000 (0:00:00.040) 0:01:08.176 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:36 +0000 (0:00:00.032) 0:01:08.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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:36 +0000 (0:00:00.038) 0:01:08.247 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:36 +0000 (0:00:00.061) 0:01:08.308 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:36 +0000 (0:00:00.033) 0:01:08.342 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:37 +0000 (0:00:00.032) 0:01:08.374 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:37 +0000 (0:00:00.044) 0:01:08.419 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:37 +0000 (0:00:00.035) 0:01:08.454 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:37 +0000 (0:00:00.034) 0:01:08.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:37 +0000 (0:00:00.432) 0:01:08.922 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmppjaqac9p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:37 +0000 (0:00:00.345) 0:01:09.267 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:38 +0000 (0:00:00.686) 0:01:09.954 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:38 +0000 (0:00:00.034) 0:01:09.988 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:38 +0000 (0:00:00.080) 0:01:10.069 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:38 +0000 (0:00:00.033) 0:01:10.103 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:38 +0000 (0:00:00.032) 0:01:10.135 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:48:39 +0000 (0:00:00.239) 0:01:10.375 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:39 +0000 (0:00:00.055) 0:01:10.430 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:39 +0000 (0:00:00.050) 0:01:10.480 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:39 +0000 (0:00:00.038) 0:01:10.518 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:39 +0000 (0:00:00.037) 0:01:10.556 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:39 +0000 (0:00:00.036) 0:01:10.592 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:40 +0000 (0:00:01.774) 0:01:12.366 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:42 +0000 (0:00:01.592) 0:01:13.959 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:42 +0000 (0:00:00.132) 0:01:14.091 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:42 +0000 (0:00:00.065) 0:01:14.157 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:42 +0000 (0:00:00.044) 0:01:14.201 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:42 +0000 (0:00:00.039) 0:01:14.240 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:42 +0000 (0:00:00.033) 0:01:14.274 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:42 +0000 (0:00:00.041) 0:01:14.316 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:43 +0000 (0:00:00.060) 0:01:14.376 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:43 +0000 (0:00:00.044) 0:01:14.421 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:43 +0000 (0:00:00.042) 0:01:14.463 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:43 +0000 (0:00:00.044) 0:01:14.508 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:43 +0000 (0:00:00.047) 0:01:14.555 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:43 +0000 (0:00:00.071) 0:01:14.627 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:43 +0000 (0:00:00.494) 0:01:15.121 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpiwt99e1l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:44 +0000 (0:00:00.386) 0:01:15.508 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:44 +0000 (0:00:00.396) 0:01:15.904 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:44 +0000 (0:00:00.050) 0:01:15.954 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:44 +0000 (0:00:00.076) 0:01:16.031 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:44 +0000 (0:00:00.109) 0:01:16.141 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:44 +0000 (0:00:00.054) 0:01:16.195 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:48:45 +0000 (0:00:00.265) 0:01:16.461 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:48:45 +0000 (0:00:00.054) 0:01:16.516 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:45 +0000 (0:00:00.054) 0:01:16.570 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:45 +0000 (0:00:00.052) 0:01:16.623 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:45 +0000 (0:00:00.043) 0:01:16.666 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:45 +0000 (0:00:00.039) 0:01:16.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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:45 +0000 (0:00:00.037) 0:01:16.742 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:47 +0000 (0:00:01.787) 0:01:18.530 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:48 +0000 (0:00:01.585) 0:01:20.116 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:48 +0000 (0:00:00.033) 0:01:20.149 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:48 +0000 (0:00:00.035) 0:01:20.184 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:48 +0000 (0:00:00.033) 0:01:20.217 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:48 +0000 (0:00:00.037) 0:01:20.255 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:48 +0000 (0:00:00.031) 0:01:20.287 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:48 +0000 (0:00:00.038) 0:01:20.325 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:49 +0000 (0:00:00.055) 0:01:20.381 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:49 +0000 (0:00:00.036) 0:01:20.417 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:49 +0000 (0:00:00.034) 0:01:20.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:49 +0000 (0:00:00.037) 0:01:20.489 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:49 +0000 (0:00:00.041) 0:01:20.530 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:49 +0000 (0:00:00.036) 0:01:20.567 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:49 +0000 (0:00:00.434) 0:01:21.001 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpmyrtckhr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:49 +0000 (0:00:00.339) 0:01:21.341 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:50 +0000 (0:00:00.403) 0:01:21.744 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:50 +0000 (0:00:00.033) 0:01:21.777 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:50 +0000 (0:00:00.112) 0:01:21.889 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:50 +0000 (0:00:00.041) 0:01:21.931 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:50 +0000 (0:00:00.037) 0:01:21.969 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:48:50 +0000 (0:00:00.241) 0:01:22.211 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:48:50 +0000 (0:00:00.065) 0:01:22.276 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:48:50 +0000 (0:00:00.050) 0:01:22.326 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:48:50 +0000 (0:00:00.042) 0:01:22.369 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:48:51 +0000 (0:00:00.230) 0:01:22.599 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:48:51 +0000 (0:00:00.030) 0:01:22.630 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022443", "end": "2024-03-15 15:48:51.478795", "rc": 1, "start": "2024-03-15 15:48:51.456352" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:48:51 +0000 (0:00:00.252) 0:01:22.882 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:48:51 +0000 (0:00:00.034) 0:01:22.917 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:48:51 +0000 (0:00:00.031) 0:01:22.949 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:48:51 +0000 (0:00:00.030) 0:01:22.980 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:48:51 +0000 (0:00:00.033) 0:01:23.013 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:48:51 +0000 (0:00:00.074) 0:01:23.088 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:48:51 +0000 (0:00:00.033) 0:01:23.121 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:48:51 +0000 (0:00:00.036) 0:01:23.158 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:48:51 +0000 (0:00:00.032) 0:01:23.190 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:48:51 +0000 (0:00:00.047) 0:01:23.238 ********** 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.053796", "end": "2024-03-15 15:48:52.119205", "rc": 0, "start": "2024-03-15 15:48:52.065409" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_states.yml:124 Friday 15 March 2024 15:48:52 +0000 (0:00:00.287) 0:01:23.525 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:48:52 +0000 (0:00:00.044) 0:01:23.569 ********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:48:52 +0000 (0:00:00.031) 0:01:23.601 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:48:52 +0000 (0:00:00.054) 0:01:23.656 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:48:52 +0000 (0:00:00.046) 0:01:23.702 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:48:52 +0000 (0:00:00.042) 0:01:23.744 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003848", "end": "2024-03-15 15:48:52.577463", "rc": 0, "start": "2024-03-15 15:48:52.573615" } STDOUT: eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:48:52 +0000 (0:00:00.236) 0:01:23.981 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:48:52 +0000 (0:00:00.031) 0:01:24.013 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:48:52 +0000 (0:00:00.079) 0:01:24.093 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:48:52 +0000 (0:00:00.055) 0:01:24.149 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:52 +0000 (0:00:00.055) 0:01:24.204 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:52 +0000 (0:00:00.050) 0:01:24.255 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:52 +0000 (0:00:00.037) 0:01:24.292 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:52 +0000 (0:00:00.033) 0:01:24.325 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:52 +0000 (0:00:00.032) 0:01:24.358 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:48:54 +0000 (0:00:01.755) 0:01:26.113 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:48:56 +0000 (0:00:01.501) 0:01:27.615 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:48:56 +0000 (0:00:00.034) 0:01:27.649 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:48:56 +0000 (0:00:00.092) 0:01:27.742 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:48:56 +0000 (0:00:00.034) 0:01:27.777 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:48:56 +0000 (0:00:00.042) 0:01:27.819 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:48:56 +0000 (0:00:00.032) 0:01:27.852 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:48:56 +0000 (0:00:00.037) 0:01:27.889 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:48:56 +0000 (0:00:00.058) 0:01:27.948 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:48:56 +0000 (0:00:00.037) 0:01:27.985 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:48:56 +0000 (0:00:00.040) 0:01:28.025 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:48:56 +0000 (0:00:00.039) 0:01:28.065 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:48:56 +0000 (0:00:00.035) 0:01:28.100 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:48:56 +0000 (0:00:00.033) 0:01:28.133 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:48:57 +0000 (0:00:00.436) 0:01:28.570 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpoh_b_1_w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:48:57 +0000 (0:00:00.341) 0:01:28.911 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:48:57 +0000 (0:00:00.342) 0:01:29.254 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:48:57 +0000 (0:00:00.032) 0:01:29.286 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:48:57 +0000 (0:00:00.032) 0:01:29.319 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:48:57 +0000 (0:00:00.032) 0:01:29.351 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:48:58 +0000 (0:00:00.093) 0:01:29.445 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:48:58 +0000 (0:00:00.240) 0:01:29.686 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:48:58 +0000 (0:00:00.032) 0:01:29.719 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:48:58 +0000 (0:00:00.054) 0:01:29.773 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:48:58 +0000 (0:00:00.050) 0:01:29.824 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:48:58 +0000 (0:00:00.036) 0:01:29.861 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:48:58 +0000 (0:00:00.032) 0:01:29.894 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:48:58 +0000 (0:00:00.032) 0:01:29.926 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:49:00 +0000 (0:00:01.774) 0:01:31.700 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:49:01 +0000 (0:00:01.490) 0:01:33.191 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:49:01 +0000 (0:00:00.037) 0:01:33.229 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:49:01 +0000 (0:00:00.104) 0:01:33.333 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:49:01 +0000 (0:00:00.037) 0:01:33.370 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:49:02 +0000 (0:00:00.042) 0:01:33.413 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:49:02 +0000 (0:00:00.031) 0:01:33.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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:49:02 +0000 (0:00:00.037) 0:01:33.483 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:49:02 +0000 (0:00:00.074) 0:01:33.557 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:49:02 +0000 (0:00:00.046) 0:01:33.604 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:49:02 +0000 (0:00:00.035) 0:01:33.639 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:49:02 +0000 (0:00:00.055) 0:01:33.694 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:49:02 +0000 (0:00:00.034) 0:01:33.729 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:49:02 +0000 (0:00:00.030) 0:01:33.759 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:49:02 +0000 (0:00:00.437) 0:01:34.197 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmph21br9un" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:49:03 +0000 (0:00:00.332) 0:01:34.530 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:49:03 +0000 (0:00:00.632) 0:01:35.163 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:49:03 +0000 (0:00:00.046) 0:01:35.209 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:49:03 +0000 (0:00:00.065) 0:01:35.275 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:49:03 +0000 (0:00:00.038) 0:01:35.313 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:49:04 +0000 (0:00:00.096) 0:01:35.409 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:49:04 +0000 (0:00:00.247) 0:01:35.656 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:49:04 +0000 (0:00:00.060) 0:01:35.717 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:49:04 +0000 (0:00:00.049) 0:01:35.767 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:49:04 +0000 (0:00:00.037) 0:01:35.804 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:49:04 +0000 (0:00:00.032) 0:01:35.836 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:49:04 +0000 (0:00:00.033) 0:01:35.870 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:49:06 +0000 (0:00:01.788) 0:01:37.659 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:49:07 +0000 (0:00:01.496) 0:01:39.156 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:49:07 +0000 (0:00:00.033) 0:01:39.189 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:49:07 +0000 (0:00:00.033) 0:01:39.222 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:49:07 +0000 (0:00:00.089) 0:01:39.311 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:49:07 +0000 (0:00:00.037) 0:01:39.349 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:49:08 +0000 (0:00:00.035) 0:01:39.385 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:49:08 +0000 (0:00:00.038) 0:01:39.423 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:49:08 +0000 (0:00:00.056) 0:01:39.480 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:49:08 +0000 (0:00:00.035) 0:01:39.516 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:49:08 +0000 (0:00:00.035) 0:01:39.552 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:49:08 +0000 (0:00:00.040) 0:01:39.592 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:49:08 +0000 (0:00:00.035) 0:01:39.628 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:49:08 +0000 (0:00:00.031) 0:01:39.660 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:49:08 +0000 (0:00:00.429) 0:01:40.089 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpba955aep" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:49:09 +0000 (0:00:00.328) 0:01:40.418 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:49:09 +0000 (0:00:00.352) 0:01:40.771 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:49:09 +0000 (0:00:00.031) 0:01:40.803 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:49:09 +0000 (0:00:00.032) 0:01:40.835 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:49:09 +0000 (0:00:00.033) 0:01:40.868 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:49:09 +0000 (0:00:00.031) 0:01:40.899 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:49:09 +0000 (0:00:00.297) 0:01:41.197 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:49:09 +0000 (0:00:00.048) 0:01:41.246 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:49:09 +0000 (0:00:00.059) 0:01:41.305 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:49:09 +0000 (0:00:00.051) 0:01:41.356 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:49:10 +0000 (0:00:00.035) 0:01:41.392 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:49:10 +0000 (0:00:00.033) 0:01:41.425 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:49:10 +0000 (0:00:00.033) 0:01:41.458 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:49:11 +0000 (0:00:01.766) 0:01:43.225 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:49:13 +0000 (0:00:01.497) 0:01:44.723 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:49:13 +0000 (0:00:00.034) 0:01:44.757 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:49:13 +0000 (0:00:00.084) 0:01:44.841 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:49:13 +0000 (0:00:00.033) 0:01:44.874 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:49:13 +0000 (0:00:00.040) 0:01:44.915 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:49:13 +0000 (0:00:00.030) 0:01:44.946 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:49:13 +0000 (0:00:00.037) 0:01:44.984 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:49:13 +0000 (0:00:00.057) 0:01:45.041 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:49:13 +0000 (0:00:00.033) 0:01:45.074 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:49:13 +0000 (0:00:00.032) 0:01:45.107 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:49:13 +0000 (0:00:00.038) 0:01:45.145 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:49:13 +0000 (0:00:00.032) 0:01:45.178 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:49:13 +0000 (0:00:00.029) 0:01:45.208 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:49:14 +0000 (0:00:00.429) 0:01:45.638 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12428us3qixaz/tmpaome7g37" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:49:14 +0000 (0:00:00.336) 0:01:45.974 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:49:14 +0000 (0:00:00.330) 0:01:46.304 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:49:14 +0000 (0:00:00.037) 0:01:46.341 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:49:15 +0000 (0:00:00.034) 0:01:46.376 ********** 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-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:49:15 +0000 (0:00:00.032) 0:01:46.408 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:49:15 +0000 (0:00:00.076) 0:01:46.485 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:49:15 +0000 (0:00:00.237) 0:01:46.722 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:49:15 +0000 (0:00:00.052) 0:01:46.775 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:49:15 +0000 (0:00:00.046) 0:01:46.821 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:49:15 +0000 (0:00:00.031) 0:01:46.852 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:49:15 +0000 (0:00:00.230) 0:01:47.082 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:49:15 +0000 (0:00:00.030) 0:01:47.113 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021947", "end": "2024-03-15 15:49:15.963033", "rc": 1, "start": "2024-03-15 15:49:15.941086" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:49:15 +0000 (0:00:00.252) 0:01:47.365 ********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:49:16 +0000 (0:00:00.030) 0:01:47.396 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:49:16 +0000 (0:00:00.030) 0:01:47.427 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:49:16 +0000 (0:00:00.030) 0:01:47.457 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:49:16 +0000 (0:00:00.031) 0:01:47.488 ********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:49:16 +0000 (0:00:00.033) 0:01:47.522 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 15 March 2024 15:49:16 +0000 (0:00:00.034) 0:01:47.557 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.052293", "end": "2024-03-15 15:49:17.437083", "rc": 0, "start": "2024-03-15 15:49:16.384790" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 15 March 2024 15:49:17 +0000 (0:00:01.329) 0:01:48.886 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 15 March 2024 15:49:17 +0000 (0:00:00.032) 0:01:48.919 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:49:17 +0000 (0:00:00.031) 0:01:48.950 ********** 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:49:17 +0000 (0:00:00.035) 0:01:48.986 ********** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:49:17 +0000 (0:00:00.033) 0:01:49.020 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:49:17 +0000 (0:00:00.053) 0:01:49.073 ********** 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.050284", "end": "2024-03-15 15:49:17.951023", "rc": 0, "start": "2024-03-15 15:49:17.900739" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 15:49:17 +0000 (0:00:00.284) 0:01:49.357 ********** 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.010630", "end": "2024-03-15 15:49:18.192935", "rc": 0, "start": "2024-03-15 15:49:18.182305" } 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 0a:ff:e8:b8:0e:c7 brd ff:ff:ff:ff:ff:ff inet 10.31.12.60/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3328sec preferred_lft 3328sec inet6 fe80::8ff:e8ff:feb8:ec7/64 scope link valid_lft forever preferred_lft forever 27: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ca:20:8a:4f:fb:79 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.12.1 dev eth0 proto dhcp src 10.31.12.60 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.60 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-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 15:49:18 +0000 (0:00:00.238) 0:01:49.596 ********** 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:05.186630", "end": "2024-03-15 15:49:23.616451", "rc": 0, "start": "2024-03-15 15:49:18.429821" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 100 305 100 305 0 0 59 0 0:00:05 0:00:05 --:--:-- 65 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6062 0 --:--:-- --:--:-- --:--:-- 6062 PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=271 rescued=0 ignored=10 Friday 15 March 2024 15:49:23 +0000 (0:00:05.457) 0:01:55.053 ********** =============================================================================== Verify DNS and network connectivity ------------------------------------- 5.46s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.86s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.82s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.80s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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.78s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.77s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.77s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.77s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.77s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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-nm_plugin_hotfixdqm37epu/.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.72s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.59s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.59s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.59s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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. ---^---^---^---^---^---