# 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_hotfixeenad6pw/.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_hotfixeenad6pw/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_hotfixeenad6pw/tests/tests_states_initscripts.yml:5 Tuesday 27 February 2024 23:39:01 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tests_states_initscripts.yml:8 Tuesday 27 February 2024 23:39:03 +0000 (0:00:01.899) 0:00:01.911 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.011) 0:00:01.923 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:17 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.366) 0:00:02.290 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:22 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.262) 0:00:02.552 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:26 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.015) 0:00:02.567 ****** 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_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:51 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.009) 0:00:02.576 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 23:39:03 +0000 (0:00:00.021) 0:00:02.597 ****** 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_hotfixeenad6pw/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.250) 0:00:02.848 ****** 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_hotfixeenad6pw/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.009) 0:00:02.857 ****** 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_hotfixeenad6pw/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.008) 0:00:02.866 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.255993", "end": "2024-02-27 23:39:04.664796", "rc": 0, "start": "2024-02-27 23:39:04.408803" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.453) 0:00:03.319 ****** 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_hotfixeenad6pw/tests/tests_states_initscripts.yml:10 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.010) 0:00:03.329 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_states.yml:3 Tuesday 27 February 2024 23:39:04 +0000 (0:00:00.031) 0:00:03.360 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_states.yml:11 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.641) 0:00:04.001 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_states.yml:22 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.018) 0:00:04.020 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.022) 0:00:04.043 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.019) 0:00:04.062 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.042) 0:00:04.104 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.020) 0:00:04.125 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.020) 0:00:04.146 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003841", "end": "2024-02-27 23:39:05.702473", "rc": 0, "start": "2024-02-27 23:39:05.698632" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.208) 0:00:04.355 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.018) 0:00:04.373 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.018) 0:00:04.392 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.025) 0:00:04.418 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009102", "end": "2024-02-27 23:39:05.979096", "rc": 1, "start": "2024-02-27 23:39:05.969994" } 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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:39:05 +0000 (0:00:00.213) 0:00:04.631 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.024) 0:00:04.655 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.203) 0:00:04.859 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.020) 0:00:04.879 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.026) 0:00:04.906 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.033) 0:00:04.939 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.029) 0:00:04.969 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.019) 0:00:04.988 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.019) 0:00:05.008 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:39:06 +0000 (0:00:00.019) 0:00:05.027 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:39:08 +0000 (0:00:01.725) 0:00:06.752 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:39:09 +0000 (0:00:01.500) 0:00:08.253 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:39:09 +0000 (0:00:00.029) 0:00:08.282 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:39:09 +0000 (0:00:00.029) 0:00:08.311 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:39:09 +0000 (0:00:00.029) 0:00:08.341 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:39:20 +0000 (0:00:11.045) 0:00:19.386 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:39:20 +0000 (0:00:00.027) 0:00:19.414 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:39:20 +0000 (0:00:00.033) 0:00:19.447 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:39:20 +0000 (0:00:00.052) 0:00:19.500 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:39:20 +0000 (0:00:00.029) 0:00:19.529 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:39:20 +0000 (0:00:00.080) 0:00:19.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:39:21 +0000 (0:00:00.035) 0:00:19.645 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:39:21 +0000 (0:00:00.029) 0:00:19.674 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:39:21 +0000 (0:00:00.027) 0:00:19.702 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:39:21 +0000 (0:00:00.559) 0:00:20.261 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmp4ziikq0k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:39:21 +0000 (0:00:00.324) 0:00:20.585 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.429) 0:00:21.015 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.030) 0:00:21.045 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.033) 0:00:21.079 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.031) 0:00:21.110 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.029) 0:00:21.139 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.316) 0:00:21.455 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.030) 0:00:21.486 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.042) 0:00:21.529 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.064) 0:00:21.593 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:39:22 +0000 (0:00:00.028) 0:00:21.622 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709077162.3520238, "block_size": 4096, "blocks": 8, "ctime": 1709077162.3520238, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4907021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709077162.3520238, "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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.210) 0:00:21.832 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.028) 0:00:21.861 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020443", "end": "2024-02-27 23:39:23.431570", "rc": 1, "start": "2024-02-27 23:39:23.411127" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.230) 0:00:22.092 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.028) 0:00:22.120 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003422", "end": "2024-02-27 23:39:23.673728", "rc": 0, "start": "2024-02-27 23:39:23.670306" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.214) 0:00:22.335 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.032) 0:00:22.367 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003467", "end": "2024-02-27 23:39:23.917737", "rc": 0, "start": "2024-02-27 23:39:23.914270" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.212) 0:00:22.580 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:39:23 +0000 (0:00:00.031) 0:00:22.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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.031) 0:00:22.643 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.030) 0:00:22.674 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.030) 0:00:22.704 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.031) 0:00:22.736 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.028) 0:00:22.764 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.043) 0:00:22.807 ****** 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.041263", "end": "2024-02-27 23:39:24.403025", "rc": 1, "start": "2024-02-27 23:39:24.361762" } 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_hotfixeenad6pw/tests/playbooks/tests_states.yml:45 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.256) 0:00:23.064 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.068) 0:00:23.133 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.030) 0:00:23.163 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.053) 0:00:23.216 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.039) 0:00:23.256 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.038) 0:00:23.295 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003626", "end": "2024-02-27 23:39:24.847869", "rc": 0, "start": "2024-02-27 23:39:24.844243" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.214) 0:00:23.509 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.029) 0:00:23.538 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.031) 0:00:23.570 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:39:24 +0000 (0:00:00.044) 0:00:23.615 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006985", "end": "2024-02-27 23:39:25.171195", "rc": 1, "start": "2024-02-27 23:39:25.164210" } 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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.217) 0:00:23.832 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.038) 0:00:23.871 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.209) 0:00:24.081 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.028) 0:00:24.110 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.072) 0:00:24.183 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.050) 0:00:24.233 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.047) 0:00:24.281 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.033) 0:00:24.314 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.029) 0:00:24.344 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:39:25 +0000 (0:00:00.029) 0:00:24.373 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:39:27 +0000 (0:00:01.573) 0:00:25.947 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:39:28 +0000 (0:00:01.343) 0:00:27.291 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:39:28 +0000 (0:00:00.030) 0:00:27.321 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:39:28 +0000 (0:00:00.030) 0:00:27.352 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:39:28 +0000 (0:00:00.029) 0:00:27.381 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:39:35 +0000 (0:00:06.960) 0:00:34.342 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.028) 0:00:34.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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.034) 0:00:34.405 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.051) 0:00:34.457 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.032) 0:00:34.489 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.030) 0:00:34.519 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.033) 0:00:34.553 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.030) 0:00:34.583 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:39:35 +0000 (0:00:00.027) 0:00:34.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:39:36 +0000 (0:00:00.390) 0:00:35.001 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpz1qr8uqr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:39:36 +0000 (0:00:00.317) 0:00:35.318 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:39:36 +0000 (0:00:00.304) 0:00:35.623 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.030) 0:00:35.653 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.030) 0:00:35.684 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.032) 0:00:35.716 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.030) 0:00:35.746 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.218) 0:00:35.964 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.030) 0:00:35.995 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.074) 0:00:36.069 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.039) 0:00:36.108 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.206) 0:00:36.315 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.030) 0:00:36.346 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.040) 0:00:36.387 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.028) 0:00:36.415 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709077176.9597948, "block_size": 4096, "blocks": 8, "ctime": 1709077176.9597948, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4907021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709077176.9597948, "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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:39:37 +0000 (0:00:00.217) 0:00:36.632 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.029) 0:00:36.661 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020566", "end": "2024-02-27 23:39:38.235764", "rc": 1, "start": "2024-02-27 23:39:38.215198" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.235) 0:00:36.897 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.028) 0:00:36.926 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003590", "end": "2024-02-27 23:39:38.483196", "rc": 0, "start": "2024-02-27 23:39:38.479606" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.219) 0:00:37.146 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.033) 0:00:37.179 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003771", "end": "2024-02-27 23:39:38.734444", "rc": 0, "start": "2024-02-27 23:39:38.730673" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.219) 0:00:37.398 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.032) 0:00:37.430 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.057) 0:00:37.487 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.031) 0:00:37.519 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.030) 0:00:37.549 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.026) 0:00:37.576 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:39:38 +0000 (0:00:00.032) 0:00:37.608 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.046) 0:00:37.654 ****** 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.039239", "end": "2024-02-27 23:39:39.245382", "rc": 1, "start": "2024-02-27 23:39:39.206143" } 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_hotfixeenad6pw/tests/playbooks/tests_states.yml:65 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.252) 0:00:37.907 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.040) 0:00:37.948 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.029) 0:00:37.977 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.052) 0:00:38.029 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.038) 0:00:38.068 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.038) 0:00:38.107 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003662", "end": "2024-02-27 23:39:39.658779", "rc": 0, "start": "2024-02-27 23:39:39.655117" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.212) 0:00:38.319 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.029) 0:00:38.348 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.059) 0:00:38.408 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.043) 0:00:38.451 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.049) 0:00:38.501 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.046) 0:00:38.547 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.033) 0:00:38.581 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:39:39 +0000 (0:00:00.029) 0:00:38.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:39:40 +0000 (0:00:00.029) 0:00:38.640 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:39:41 +0000 (0:00:01.694) 0:00:40.335 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:39:43 +0000 (0:00:01.356) 0:00:41.692 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:39:43 +0000 (0:00:00.030) 0:00:41.722 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:39:43 +0000 (0:00:00.029) 0:00:41.752 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:39:43 +0000 (0:00:00.030) 0:00:41.782 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:39:49 +0000 (0:00:06.000) 0:00:47.782 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.029) 0:00:47.812 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.035) 0:00:47.847 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.056) 0:00:47.904 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.030) 0:00:47.934 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.031) 0:00:47.966 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.035) 0:00:48.001 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.029) 0:00:48.031 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.027) 0:00:48.059 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:39:49 +0000 (0:00:00.390) 0:00:48.449 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpdr_xpr9q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.311) 0:00:48.761 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.306) 0:00:49.067 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.029) 0:00:49.097 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.030) 0:00:49.127 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.031) 0:00:49.159 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.029) 0:00:49.188 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.219) 0:00:49.407 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.061) 0:00:49.469 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.044) 0:00:49.513 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.049) 0:00:49.563 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:39:50 +0000 (0:00:00.046) 0:00:49.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:39:51 +0000 (0:00:00.034) 0:00:49.644 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:39:51 +0000 (0:00:00.031) 0:00:49.675 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:39:51 +0000 (0:00:00.031) 0:00:49.707 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:39:52 +0000 (0:00:01.641) 0:00:51.348 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:39:54 +0000 (0:00:01.373) 0:00:52.722 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:39:54 +0000 (0:00:00.031) 0:00:52.753 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:39:54 +0000 (0:00:00.031) 0:00:52.785 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:39:54 +0000 (0:00:00.031) 0:00:52.816 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:40:00 +0000 (0:00:06.043) 0:00:58.860 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.029) 0:00:58.889 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.035) 0:00:58.924 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.054) 0:00:58.979 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.030) 0:00:59.010 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.032) 0:00:59.042 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.035) 0:00:59.078 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.030) 0:00:59.109 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.028) 0:00:59.138 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:40:00 +0000 (0:00:00.390) 0:00:59.528 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpb5_wpymt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.315) 0:00:59.844 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.587) 0:01:00.432 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.031) 0:01:00.463 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.031) 0:01:00.495 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.032) 0:01:00.527 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:40:01 +0000 (0:00:00.030) 0:01:00.558 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.222) 0:01:00.780 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.081) 0:01:00.861 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.040) 0:01:00.901 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709077201.667065, "block_size": 4096, "blocks": 0, "ctime": 1709077201.667065, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23458, "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": 1709077201.667065, "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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.209) 0:01:01.111 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.033) 0:01:01.145 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.042) 0:01:01.187 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.031) 0:01:01.218 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709077201.4824102, "block_size": 4096, "blocks": 8, "ctime": 1709077190.403584, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4907021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709077190.403584, "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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.210) 0:01:01.429 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:40:02 +0000 (0:00:00.029) 0:01:01.458 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020725", "end": "2024-02-27 23:40:03.031660", "rc": 1, "start": "2024-02-27 23:40:03.010935" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.235) 0:01:01.694 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.028) 0:01:01.722 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003475", "end": "2024-02-27 23:40:03.276761", "rc": 0, "start": "2024-02-27 23:40:03.273286" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.217) 0:01:01.939 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.032) 0:01:01.972 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003846", "end": "2024-02-27 23:40:03.530073", "rc": 0, "start": "2024-02-27 23:40:03.526227" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.220) 0:01:02.193 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.032) 0:01:02.226 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.031) 0:01:02.257 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.061) 0:01:02.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.031) 0:01:02.350 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.026) 0:01:02.376 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.029) 0:01:02.406 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:40:03 +0000 (0:00:00.044) 0:01:02.450 ****** 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.049974", "end": "2024-02-27 23:40:04.053853", "rc": 0, "start": "2024-02-27 23:40:04.003879" } 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_hotfixeenad6pw/tests/playbooks/tests_states.yml:83 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.268) 0:01:02.719 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.041) 0:01:02.760 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.029) 0:01:02.790 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.052) 0:01:02.842 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.039) 0:01:02.882 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.038) 0:01:02.920 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003844", "end": "2024-02-27 23:40:04.478933", "rc": 0, "start": "2024-02-27 23:40:04.475089" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.220) 0:01:03.141 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.028) 0:01:03.170 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.059) 0:01:03.230 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.044) 0:01:03.275 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.050) 0:01:03.325 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.046) 0:01:03.372 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.034) 0:01:03.406 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.030) 0:01:03.436 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:40:04 +0000 (0:00:00.030) 0:01:03.467 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:40:06 +0000 (0:00:01.664) 0:01:05.132 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:40:07 +0000 (0:00:01.357) 0:01:06.489 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:40:07 +0000 (0:00:00.030) 0:01:06.520 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:40:07 +0000 (0:00:00.030) 0:01:06.551 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:40:07 +0000 (0:00:00.029) 0:01:06.580 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:40:14 +0000 (0:00:06.104) 0:01:12.685 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.029) 0:01:12.714 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.034) 0:01:12.749 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.055) 0:01:12.804 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.030) 0:01:12.834 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.032) 0:01:12.867 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.035) 0:01:12.903 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.030) 0:01:12.933 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.028) 0:01:12.961 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:40:14 +0000 (0:00:00.388) 0:01:13.350 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpacop35cr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.315) 0:01:13.665 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.300) 0:01:13.966 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.030) 0:01:13.997 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.031) 0:01:14.028 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.031) 0:01:14.060 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.029) 0:01:14.089 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.216) 0:01:14.306 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.061) 0:01:14.367 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.050) 0:01:14.417 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.047) 0:01:14.465 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.033) 0:01:14.498 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.030) 0:01:14.529 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:40:15 +0000 (0:00:00.029) 0:01:14.559 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:40:17 +0000 (0:00:01.695) 0:01:16.255 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:40:18 +0000 (0:00:01.354) 0:01:17.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:40:19 +0000 (0:00:00.032) 0:01:17.642 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:40:19 +0000 (0:00:00.030) 0:01:17.672 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:40:19 +0000 (0:00:00.030) 0:01:17.702 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:40:25 +0000 (0:00:06.544) 0:01:24.247 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.028) 0:01:24.276 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.068) 0:01:24.344 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.053) 0:01:24.398 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.029) 0:01:24.428 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.030) 0:01:24.458 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.034) 0:01:24.493 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.031) 0:01:24.525 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:40:25 +0000 (0:00:00.029) 0:01:24.555 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:40:26 +0000 (0:00:00.397) 0:01:24.952 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpbx4uy6n_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:40:26 +0000 (0:00:00.318) 0:01:25.270 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.583) 0:01:25.853 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.032) 0:01:25.886 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.031) 0:01:25.918 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.030) 0:01:25.949 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.030) 0:01:25.979 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.220) 0:01:26.200 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.044) 0:01:26.245 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.080) 0:01:26.325 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.046) 0:01:26.372 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.034) 0:01:26.406 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.030) 0:01:26.436 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:40:27 +0000 (0:00:00.030) 0:01:26.466 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:40:29 +0000 (0:00:01.688) 0:01:28.155 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:40:30 +0000 (0:00:01.338) 0:01:29.493 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:40:30 +0000 (0:00:00.030) 0:01:29.524 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:40:30 +0000 (0:00:00.032) 0:01:29.556 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:40:30 +0000 (0:00:00.031) 0:01:29.588 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:40:36 +0000 (0:00:06.039) 0:01:35.628 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.029) 0:01:35.657 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.035) 0:01:35.692 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.125) 0:01:35.818 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.032) 0:01:35.850 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.031) 0:01:35.881 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.037) 0:01:35.918 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.031) 0:01:35.949 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.031) 0:01:35.981 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:40:37 +0000 (0:00:00.399) 0:01:36.380 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmp99zfva0n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.320) 0:01:36.701 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.318) 0:01:37.020 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.031) 0:01:37.051 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.030) 0:01:37.082 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.032) 0:01:37.114 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.030) 0:01:37.145 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.222) 0:01:37.368 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.051) 0:01:37.419 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:40:38 +0000 (0:00:00.079) 0:01:37.499 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709077227.097133, "block_size": 4096, "blocks": 0, "ctime": 1709077227.097133, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23589, "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": 1709077227.097133, "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_hotfixeenad6pw/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.211) 0:01:37.710 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.031) 0:01:37.742 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.041) 0:01:37.783 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.030) 0:01:37.814 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.207) 0:01:38.021 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.029) 0:01:38.051 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022088", "end": "2024-02-27 23:40:39.632868", "rc": 1, "start": "2024-02-27 23:40:39.610780" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.244) 0:01:38.296 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.029) 0:01:38.325 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.029) 0:01:38.355 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.030) 0:01:38.385 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.029) 0:01:38.415 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.029) 0:01:38.444 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.032) 0:01:38.476 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.026) 0:01:38.503 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.030) 0:01:38.534 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:40:39 +0000 (0:00:00.080) 0:01:38.614 ****** 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.045855", "end": "2024-02-27 23:40:40.215979", "rc": 0, "start": "2024-02-27 23:40:40.170124" } 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_hotfixeenad6pw/tests/playbooks/tests_states.yml:102 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.266) 0:01:38.881 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.041) 0:01:38.923 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.029) 0:01:38.952 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.052) 0:01:39.005 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.040) 0:01:39.046 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.038) 0:01:39.084 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003929", "end": "2024-02-27 23:40:40.642202", "rc": 0, "start": "2024-02-27 23:40:40.638273" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.220) 0:01:39.305 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.032) 0:01:39.337 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.029) 0:01:39.367 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.048) 0:01:39.415 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.050) 0:01:39.465 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.079) 0:01:39.545 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.034) 0:01:39.579 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:40:40 +0000 (0:00:00.032) 0:01:39.612 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:40:41 +0000 (0:00:00.031) 0:01:39.643 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:40:42 +0000 (0:00:01.688) 0:01:41.332 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:40:44 +0000 (0:00:01.354) 0:01:42.686 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:40:44 +0000 (0:00:00.031) 0:01:42.718 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:40:44 +0000 (0:00:00.032) 0:01:42.750 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:40:44 +0000 (0:00:00.032) 0:01:42.782 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:40:50 +0000 (0:00:06.088) 0:01:48.870 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.029) 0:01:48.900 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.035) 0:01:48.936 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.055) 0:01:48.991 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.031) 0:01:49.023 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.065) 0:01:49.088 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.035) 0:01:49.124 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.030) 0:01:49.155 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.028) 0:01:49.184 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:40:50 +0000 (0:00:00.386) 0:01:49.570 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpab8t2zzg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.313) 0:01:49.884 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.312) 0:01:50.196 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.031) 0:01:50.228 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.031) 0:01:50.260 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.032) 0:01:50.292 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.030) 0:01:50.322 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.223) 0:01:50.545 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.031) 0:01:50.577 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:40:51 +0000 (0:00:00.049) 0:01:50.626 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:40:52 +0000 (0:00:00.081) 0:01:50.707 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:40:52 +0000 (0:00:00.034) 0:01:50.742 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:40:52 +0000 (0:00:00.031) 0:01:50.773 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:40:52 +0000 (0:00:00.030) 0:01:50.804 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:40:53 +0000 (0:00:01.705) 0:01:52.510 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:40:55 +0000 (0:00:01.349) 0:01:53.859 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:40:55 +0000 (0:00:00.030) 0:01:53.890 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:40:55 +0000 (0:00:00.031) 0:01:53.922 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:40:55 +0000 (0:00:00.030) 0:01:53.952 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:01 +0000 (0:00:05.854) 0:01:59.806 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.029) 0:01:59.835 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.039) 0:01:59.875 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.057) 0:01:59.932 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.032) 0:01:59.964 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.033) 0:01:59.998 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.037) 0:02:00.036 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.075) 0:02:00.112 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.030) 0:02:00.142 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:41:01 +0000 (0:00:00.385) 0:02:00.528 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpba6s1tb3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.313) 0:02:00.841 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.582) 0:02:01.423 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.032) 0:02:01.456 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.032) 0:02:01.489 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.032) 0:02:01.521 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:41:02 +0000 (0:00:00.034) 0:02:01.555 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.226) 0:02:01.782 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.053) 0:02:01.835 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.049) 0:02:01.885 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.036) 0:02:01.922 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.031) 0:02:01.954 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:41:03 +0000 (0:00:00.071) 0:02:02.025 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:41:05 +0000 (0:00:01.640) 0:02:03.665 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:41:06 +0000 (0:00:01.346) 0:02:05.012 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:41:06 +0000 (0:00:00.031) 0:02:05.043 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:41:06 +0000 (0:00:00.031) 0:02:05.074 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:41:06 +0000 (0:00:00.030) 0:02:05.105 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:13 +0000 (0:00:06.584) 0:02:11.689 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.031) 0:02:11.720 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.037) 0:02:11.757 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.055) 0:02:11.813 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.031) 0:02:11.844 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.033) 0:02:11.878 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.036) 0:02:11.914 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.031) 0:02:11.945 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.028) 0:02:11.974 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:41:13 +0000 (0:00:00.386) 0:02:12.361 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpn0pxi4j2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.348) 0:02:12.709 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.315) 0:02:13.024 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.030) 0:02:13.055 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.031) 0:02:13.087 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.031) 0:02:13.119 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.030) 0:02:13.149 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.222) 0:02:13.372 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.044) 0:02:13.416 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.049) 0:02:13.466 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.047) 0:02:13.513 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.035) 0:02:13.549 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.031) 0:02:13.580 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:41:14 +0000 (0:00:00.030) 0:02:13.610 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:41:16 +0000 (0:00:01.732) 0:02:15.343 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:41:18 +0000 (0:00:01.356) 0:02:16.700 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:41:18 +0000 (0:00:00.032) 0:02:16.732 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:41:18 +0000 (0:00:00.030) 0:02:16.763 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:41:18 +0000 (0:00:00.032) 0:02:16.795 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:23 +0000 (0:00:05.759) 0:02:22.555 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:23 +0000 (0:00:00.029) 0:02:22.585 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:23 +0000 (0:00:00.036) 0:02:22.622 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.053) 0:02:22.675 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.034) 0:02:22.710 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.032) 0:02:22.742 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.035) 0:02:22.777 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.031) 0:02:22.809 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.028) 0:02:22.838 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.393) 0:02:23.231 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmp8n1wipdt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:41:24 +0000 (0:00:00.317) 0:02:23.549 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.378) 0:02:23.928 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.032) 0:02:23.960 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.031) 0:02:23.991 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.032) 0:02:24.024 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.030) 0:02:24.055 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.222) 0:02:24.278 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.045) 0:02:24.323 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.041) 0:02:24.365 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.030) 0:02:24.395 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:41:25 +0000 (0:00:00.215) 0:02:24.611 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.030) 0:02:24.641 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020682", "end": "2024-02-27 23:41:26.213756", "rc": 1, "start": "2024-02-27 23:41:26.193074" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.235) 0:02:24.877 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.028) 0:02:24.906 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.029) 0:02:24.935 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.028) 0:02:24.964 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.066) 0:02:25.030 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.029) 0:02:25.060 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.030) 0:02:25.090 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.033) 0:02:25.124 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.030) 0:02:25.154 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.048) 0:02:25.203 ****** 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.047308", "end": "2024-02-27 23:41:26.800914", "rc": 0, "start": "2024-02-27 23:41:26.753606" } 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_hotfixeenad6pw/tests/playbooks/tests_states.yml:124 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.262) 0:02:25.466 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.042) 0:02:25.509 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.029) 0:02:25.538 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:41:26 +0000 (0:00:00.056) 0:02:25.595 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.040) 0:02:25.636 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.039) 0:02:25.675 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003759", "end": "2024-02-27 23:41:27.228803", "rc": 0, "start": "2024-02-27 23:41:27.225044" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.214) 0:02:25.890 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.064) 0:02:25.954 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.030) 0:02:25.985 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.052) 0:02:26.037 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.050) 0:02:26.087 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.047) 0:02:26.135 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.035) 0:02:26.170 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.031) 0:02:26.202 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:41:27 +0000 (0:00:00.030) 0:02:26.233 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:41:29 +0000 (0:00:01.660) 0:02:27.893 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:41:30 +0000 (0:00:01.345) 0:02:29.239 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:41:30 +0000 (0:00:00.031) 0:02:29.270 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:41:30 +0000 (0:00:00.030) 0:02:29.301 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:41:30 +0000 (0:00:00.069) 0:02:29.370 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:36 +0000 (0:00:06.134) 0:02:35.504 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:36 +0000 (0:00:00.029) 0:02:35.534 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:36 +0000 (0:00:00.035) 0:02:35.570 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:36 +0000 (0:00:00.053) 0:02:35.623 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.033) 0:02:35.657 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.031) 0:02:35.689 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.035) 0:02:35.724 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.031) 0:02:35.755 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.028) 0:02:35.783 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.387) 0:02:36.171 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmp853hs8fq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:41:37 +0000 (0:00:00.311) 0:02:36.483 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.305) 0:02:36.788 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.033) 0:02:36.822 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.031) 0:02:36.854 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.030) 0:02:36.885 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.030) 0:02:36.915 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.251) 0:02:37.167 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.031) 0:02:37.199 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.049) 0:02:37.248 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.047) 0:02:37.296 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.035) 0:02:37.331 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.032) 0:02:37.364 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:41:38 +0000 (0:00:00.031) 0:02:37.396 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:41:40 +0000 (0:00:01.669) 0:02:39.065 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:41:41 +0000 (0:00:01.354) 0:02:40.419 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:41:41 +0000 (0:00:00.031) 0:02:40.451 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:41:41 +0000 (0:00:00.030) 0:02:40.481 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:41:41 +0000 (0:00:00.030) 0:02:40.512 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:47 +0000 (0:00:05.893) 0:02:46.406 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.029) 0:02:46.435 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.036) 0:02:46.472 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.054) 0:02:46.526 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.032) 0:02:46.559 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.031) 0:02:46.590 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:47 +0000 (0:00:00.037) 0:02:46.627 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:48 +0000 (0:00:00.031) 0:02:46.659 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:48 +0000 (0:00:00.029) 0:02:46.688 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:41:48 +0000 (0:00:00.385) 0:02:47.073 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmpullz26p6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:41:48 +0000 (0:00:00.313) 0:02:47.386 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.583) 0:02:47.970 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.032) 0:02:48.002 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.031) 0:02:48.033 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.031) 0:02:48.065 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.031) 0:02:48.096 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.218) 0:02:48.314 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.091) 0:02:48.406 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.047) 0:02:48.453 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.034) 0:02:48.488 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.031) 0:02:48.520 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:41:49 +0000 (0:00:00.030) 0:02:48.551 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:41:51 +0000 (0:00:01.630) 0:02:50.182 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:41:52 +0000 (0:00:01.359) 0:02:51.542 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:41:52 +0000 (0:00:00.031) 0:02:51.573 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:41:52 +0000 (0:00:00.030) 0:02:51.604 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:41:53 +0000 (0:00:00.032) 0:02:51.637 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:41:59 +0000 (0:00:06.314) 0:02:57.952 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.028) 0:02:57.980 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.035) 0:02:58.016 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.053) 0:02:58.069 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.071) 0:02:58.140 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.031) 0:02:58.172 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.035) 0:02:58.208 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.031) 0:02:58.240 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:41:59 +0000 (0:00:00.029) 0:02:58.269 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.387) 0:02:58.656 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmprszs212x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.321) 0:02:58.977 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.327) 0:02:59.305 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.033) 0:02:59.338 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.032) 0:02:59.370 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.031) 0:02:59.402 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:42:00 +0000 (0:00:00.031) 0:02:59.434 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.224) 0:02:59.658 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.044) 0:02:59.702 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.086) 0:02:59.789 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.048) 0:02:59.837 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.035) 0:02:59.873 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.032) 0:02:59.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:42:01 +0000 (0:00:00.034) 0:02:59.940 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:42:02 +0000 (0:00:01.645) 0:03:01.585 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:42:04 +0000 (0:00:01.351) 0:03:02.937 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:42:04 +0000 (0:00:00.032) 0:03:02.969 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:42:04 +0000 (0:00:00.031) 0:03:03.000 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:42:04 +0000 (0:00:00.032) 0:03:03.033 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:42:11 +0000 (0:00:06.652) 0:03:09.686 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.031) 0:03:09.717 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.035) 0:03:09.753 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.053) 0:03:09.807 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.072) 0:03:09.880 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.031) 0:03:09.911 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.037) 0:03:09.949 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.032) 0:03:09.981 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.028) 0:03:10.010 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:42:11 +0000 (0:00:00.390) 0:03:10.401 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15250g7hwuaje/tmp1ef9wq_u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.314) 0:03:10.715 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.304) 0:03:11.020 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.037) 0:03:11.058 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.032) 0:03:11.090 ****** 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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.034) 0:03:11.125 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.031) 0:03:11.156 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.224) 0:03:11.381 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.048) 0:03:11.429 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.041) 0:03:11.470 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:42:12 +0000 (0:00:00.070) 0:03:11.540 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.213) 0:03:11.754 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.030) 0:03:11.784 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020380", "end": "2024-02-27 23:42:13.356426", "rc": 1, "start": "2024-02-27 23:42:13.336046" } 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.234) 0:03:12.019 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.029) 0:03:12.048 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.029) 0:03:12.078 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.029) 0:03:12.107 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.031) 0:03:12.139 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.030) 0:03:12.169 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 27 February 2024 23:42:13 +0000 (0:00:00.030) 0:03:12.200 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.946393", "end": "2024-02-27 23:42:14.694584", "rc": 0, "start": "2024-02-27 23:42:13.748191" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 27 February 2024 23:42:14 +0000 (0:00:01.158) 0:03:13.358 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 27 February 2024 23:42:14 +0000 (0:00:00.029) 0:03:13.388 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:42:14 +0000 (0:00:00.030) 0:03:13.418 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:42:14 +0000 (0:00:00.032) 0:03:13.450 ****** 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_hotfixeenad6pw/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:42:14 +0000 (0:00:00.029) 0:03:13.480 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:42:14 +0000 (0:00:00.049) 0:03:13.529 ****** 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.046689", "end": "2024-02-27 23:42:15.124787", "rc": 0, "start": "2024-02-27 23:42:15.078098" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 23:42:15 +0000 (0:00:00.259) 0:03:13.789 ****** 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.010160", "end": "2024-02-27 23:42:15.346965", "rc": 0, "start": "2024-02-27 23:42:15.336805" } 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 02:cd:84:bb:3e:87 brd ff:ff:ff:ff:ff:ff inet 10.31.47.214/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2487sec preferred_lft 2487sec inet6 fe80::cd:84ff:febb:3e87/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.214 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.214 metric 100 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_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 23:42:15 +0000 (0:00:00.257) 0:03:14.046 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.125522", "end": "2024-02-27 23:42:15.727806", "rc": 0, "start": "2024-02-27 23:42:15.602284" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 11296 0 --:--:-- --:--:-- --:--:-- 11296 % 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 3986 0 --:--:-- --:--:-- --:--:-- 3986 PLAY RECAP ********************************************************************* sut : ok=351 changed=13 unreachable=0 failed=0 skipped=256 rescued=0 ignored=10 Tuesday 27 February 2024 23:42:15 +0000 (0:00:00.374) 0:03:14.421 ****** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager -- 11.05s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.96s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.65s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.58s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.54s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.31s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.13s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.10s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.09s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.04s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.04s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.00s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.89s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.85s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.76s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Gathering Facts --------------------------------------------------------- 1.90s /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tests_states_initscripts.yml:5 ---- fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.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.70s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---