# 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_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/tests_states_initscripts.yml:5 Friday 15 March 2024 02:56:30 +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_hotfix_qh3a9w2/tests/tests_states_initscripts.yml:8 Friday 15 March 2024 02:56:31 +0000 (0:00:00.875) 0:00:00.887 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 02:56:31 +0000 (0:00:00.011) 0:00:00.898 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:17 Friday 15 March 2024 02:56:31 +0000 (0:00:00.353) 0:00:01.251 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:22 Friday 15 March 2024 02:56:32 +0000 (0:00:00.245) 0:00:01.497 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:26 Friday 15 March 2024 02:56:32 +0000 (0:00:00.014) 0:00:01.512 ********** 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_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:51 Friday 15 March 2024 02:56:32 +0000 (0:00:00.008) 0:00:01.520 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 02:56:32 +0000 (0:00:00.022) 0:00:01.542 ********** 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_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 02:56:32 +0000 (0:00:00.244) 0:00:01.787 ********** 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_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 02:56:32 +0000 (0:00:00.009) 0:00:01.797 ********** 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_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 02:56:32 +0000 (0:00:00.009) 0:00:01.806 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242897", "end": "2024-03-15 02:56:32.864621", "rc": 0, "start": "2024-03-15 02:56:32.621724" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 02:56:32 +0000 (0:00:00.430) 0:00:02.237 ********** 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_hotfix_qh3a9w2/tests/tests_states_initscripts.yml:10 Friday 15 March 2024 02:56:32 +0000 (0:00:00.008) 0:00:02.246 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:3 Friday 15 March 2024 02:56:32 +0000 (0:00:00.017) 0:00:02.263 ********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:11 Friday 15 March 2024 02:56:34 +0000 (0:00:01.639) 0:00:03.902 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:22 Friday 15 March 2024 02:56:34 +0000 (0:00:00.019) 0:00:03.922 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:56:34 +0000 (0:00:00.023) 0:00:03.945 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:56:34 +0000 (0:00:00.019) 0:00:03.965 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:56:34 +0000 (0:00:00.042) 0:00:04.007 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:56:34 +0000 (0:00:00.021) 0:00:04.028 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:56:34 +0000 (0:00:00.023) 0:00:04.052 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003544", "end": "2024-03-15 02:56:34.884915", "rc": 0, "start": "2024-03-15 02:56:34.881371" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:56:34 +0000 (0:00:00.205) 0:00:04.258 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:56:34 +0000 (0:00:00.019) 0:00:04.277 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:56:34 +0000 (0:00:00.018) 0:00:04.296 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 02:56:34 +0000 (0:00:00.025) 0:00:04.322 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008511", "end": "2024-03-15 02:56:35.153113", "rc": 1, "start": "2024-03-15 02:56:35.144602" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:56:35 +0000 (0:00:00.202) 0:00:04.524 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:35 +0000 (0:00:00.022) 0:00:04.546 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:56:35 +0000 (0:00:00.198) 0:00:04.745 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:56:35 +0000 (0:00:00.020) 0:00:04.766 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:56:35 +0000 (0:00:00.025) 0:00:04.791 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:35 +0000 (0:00:00.034) 0:00:04.826 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:35 +0000 (0:00:00.029) 0:00:04.855 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:35 +0000 (0:00:00.021) 0:00:04.877 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:35 +0000 (0:00:00.022) 0:00:04.899 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:35 +0000 (0:00:00.022) 0:00:04.922 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:37 +0000 (0:00:01.647) 0:00:06.569 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:38 +0000 (0:00:01.489) 0:00:08.059 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:38 +0000 (0:00:00.040) 0:00:08.099 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:38 +0000 (0:00:00.030) 0:00:08.130 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:38 +0000 (0:00:00.038) 0:00:08.168 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:56:38 +0000 (0:00:00.036) 0:00:08.205 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:56:38 +0000 (0:00:00.028) 0:00:08.234 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:56:38 +0000 (0:00:00.040) 0:00:08.274 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:56:38 +0000 (0:00:00.055) 0:00:08.330 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:56:39 +0000 (0:00:00.055) 0:00:08.385 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:56:39 +0000 (0:00:00.031) 0:00:08.417 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:56:39 +0000 (0:00:00.034) 0:00:08.451 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:56:39 +0000 (0:00:00.032) 0:00:08.483 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:56:39 +0000 (0:00:00.028) 0:00:08.511 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:56:39 +0000 (0:00:00.554) 0:00:09.066 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpun9mrtjz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:56:40 +0000 (0:00:00.338) 0:00:09.405 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:56:40 +0000 (0:00:00.441) 0:00:09.846 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:56:40 +0000 (0:00:00.030) 0:00:09.876 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:56:40 +0000 (0:00:00.034) 0:00:09.910 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:56:40 +0000 (0:00:00.030) 0:00:09.941 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:56:40 +0000 (0:00:00.028) 0:00:09.970 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:56:40 +0000 (0:00:00.300) 0:00:10.271 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:56:40 +0000 (0:00:00.030) 0:00:10.301 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:56:40 +0000 (0:00:00.043) 0:00:10.345 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:56:41 +0000 (0:00:00.069) 0:00:10.415 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:56:41 +0000 (0:00:00.028) 0:00:10.444 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471400.4597, "block_size": 4096, "blocks": 8, "ctime": 1710471400.4597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471400.4597, "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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:56:41 +0000 (0:00:00.206) 0:00:10.650 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:56:41 +0000 (0:00:00.036) 0:00:10.687 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022250", "end": "2024-03-15 02:56:41.533298", "rc": 1, "start": "2024-03-15 02:56:41.511048" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:56:41 +0000 (0:00:00.228) 0:00:10.915 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:56:41 +0000 (0:00:00.028) 0:00:10.944 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003053", "end": "2024-03-15 02:56:41.772300", "rc": 0, "start": "2024-03-15 02:56:41.769247" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:56:41 +0000 (0:00:00.209) 0:00:11.154 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:56:41 +0000 (0:00:00.033) 0:00:11.187 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003236", "end": "2024-03-15 02:56:42.015412", "rc": 0, "start": "2024-03-15 02:56:42.012176" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:56:42 +0000 (0:00:00.212) 0:00:11.399 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:56:42 +0000 (0:00:00.033) 0:00:11.432 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:56:42 +0000 (0:00:00.033) 0:00:11.465 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:56:42 +0000 (0:00:00.033) 0:00:11.499 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:56:42 +0000 (0:00:00.030) 0:00:11.530 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:56:42 +0000 (0:00:00.030) 0:00:11.560 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:56:42 +0000 (0:00:00.028) 0:00:11.589 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:56:42 +0000 (0:00:00.070) 0:00:11.660 ********** 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.041325", "end": "2024-03-15 02:56:42.525273", "rc": 1, "start": "2024-03-15 02:56:42.483948" } 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_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:45 Friday 15 March 2024 02:56:42 +0000 (0:00:00.246) 0:00:11.906 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:56:42 +0000 (0:00:00.043) 0:00:11.950 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:56:42 +0000 (0:00:00.030) 0:00:11.980 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:56:42 +0000 (0:00:00.053) 0:00:12.033 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:56:42 +0000 (0:00:00.039) 0:00:12.073 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:56:42 +0000 (0:00:00.038) 0:00:12.112 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-03-15 02:56:42.938661", "rc": 0, "start": "2024-03-15 02:56:42.935475" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:56:42 +0000 (0:00:00.207) 0:00:12.319 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:56:42 +0000 (0:00:00.030) 0:00:12.349 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:56:43 +0000 (0:00:00.030) 0:00:12.380 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 02:56:43 +0000 (0:00:00.047) 0:00:12.427 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006329", "end": "2024-03-15 02:56:43.258140", "rc": 1, "start": "2024-03-15 02:56:43.251811" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:56:43 +0000 (0:00:00.214) 0:00:12.641 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:43 +0000 (0:00:00.070) 0:00:12.712 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:56:43 +0000 (0:00:00.210) 0:00:12.922 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:56:43 +0000 (0:00:00.035) 0:00:12.957 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 15 March 2024 02:56:43 +0000 (0:00:00.045) 0:00:13.002 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:43 +0000 (0:00:00.051) 0:00:13.054 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:43 +0000 (0:00:00.047) 0:00:13.101 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:43 +0000 (0:00:00.040) 0:00:13.142 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:43 +0000 (0:00:00.031) 0:00:13.173 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:43 +0000 (0:00:00.030) 0:00:13.204 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:45 +0000 (0:00:01.554) 0:00:14.758 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:46 +0000 (0:00:01.391) 0:00:16.150 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:46 +0000 (0:00:00.065) 0:00:16.215 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:46 +0000 (0:00:00.032) 0:00:16.247 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:46 +0000 (0:00:00.031) 0:00:16.279 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:56:46 +0000 (0:00:00.036) 0:00:16.315 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:56:46 +0000 (0:00:00.032) 0:00:16.348 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:56:47 +0000 (0:00:00.035) 0:00:16.383 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:56:47 +0000 (0:00:00.055) 0:00:16.438 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:56:47 +0000 (0:00:00.031) 0:00:16.470 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:56:47 +0000 (0:00:00.033) 0:00:16.503 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:56:47 +0000 (0:00:00.035) 0:00:16.539 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:56:47 +0000 (0:00:00.030) 0:00:16.570 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:56:47 +0000 (0:00:00.032) 0:00:16.602 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:56:47 +0000 (0:00:00.378) 0:00:16.981 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmp737mdwpi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:56:47 +0000 (0:00:00.305) 0:00:17.286 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:56:48 +0000 (0:00:00.304) 0:00:17.591 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:56:48 +0000 (0:00:00.058) 0:00:17.649 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:56:48 +0000 (0:00:00.036) 0:00:17.685 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:56:48 +0000 (0:00:00.071) 0:00:17.757 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:56:48 +0000 (0:00:00.032) 0:00:17.789 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 15 March 2024 02:56:48 +0000 (0:00:00.232) 0:00:18.021 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:56:48 +0000 (0:00:00.032) 0:00:18.053 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.059) 0:00:18.113 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.040) 0:00:18.153 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:56:49 +0000 (0:00:00.222) 0:00:18.376 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.034) 0:00:18.410 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.044) 0:00:18.455 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:56:49 +0000 (0:00:00.030) 0:00:18.486 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471408.2026677, "block_size": 4096, "blocks": 8, "ctime": 1710471408.2036679, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471408.2036679, "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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:56:49 +0000 (0:00:00.208) 0:00:18.694 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:56:49 +0000 (0:00:00.033) 0:00:18.728 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020177", "end": "2024-03-15 02:56:49.572158", "rc": 1, "start": "2024-03-15 02:56:49.551981" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:56:49 +0000 (0:00:00.225) 0:00:18.954 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:56:49 +0000 (0:00:00.061) 0:00:19.016 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003149", "end": "2024-03-15 02:56:49.845272", "rc": 0, "start": "2024-03-15 02:56:49.842123" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:56:49 +0000 (0:00:00.212) 0:00:19.228 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:56:49 +0000 (0:00:00.036) 0:00:19.264 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003069", "end": "2024-03-15 02:56:50.092895", "rc": 0, "start": "2024-03-15 02:56:50.089826" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:56:50 +0000 (0:00:00.210) 0:00:19.475 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:56:50 +0000 (0:00:00.032) 0:00:19.508 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:56:50 +0000 (0:00:00.031) 0:00:19.540 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:56:50 +0000 (0:00:00.033) 0:00:19.573 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:56:50 +0000 (0:00:00.031) 0:00:19.605 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:56:50 +0000 (0:00:00.027) 0:00:19.633 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:56:50 +0000 (0:00:00.032) 0:00:19.665 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:56:50 +0000 (0:00:00.052) 0:00:19.717 ********** 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.041042", "end": "2024-03-15 02:56:50.585514", "rc": 1, "start": "2024-03-15 02:56:50.544472" } 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_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:65 Friday 15 March 2024 02:56:50 +0000 (0:00:00.249) 0:00:19.967 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:56:50 +0000 (0:00:00.041) 0:00:20.008 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:56:50 +0000 (0:00:00.030) 0:00:20.038 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:56:50 +0000 (0:00:00.056) 0:00:20.095 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:56:50 +0000 (0:00:00.090) 0:00:20.186 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:56:50 +0000 (0:00:00.061) 0:00:20.248 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003250", "end": "2024-03-15 02:56:51.087035", "rc": 0, "start": "2024-03-15 02:56:51.083785" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:56:51 +0000 (0:00:00.220) 0:00:20.469 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:56:51 +0000 (0:00:00.031) 0:00:20.500 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:56:51 +0000 (0:00:00.031) 0:00:20.532 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:56:51 +0000 (0:00:00.045) 0:00:20.577 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:51 +0000 (0:00:00.061) 0:00:20.639 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:51 +0000 (0:00:00.075) 0:00:20.715 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:51 +0000 (0:00:00.038) 0:00:20.754 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:51 +0000 (0:00:00.034) 0:00:20.788 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:51 +0000 (0:00:00.033) 0:00:20.821 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:53 +0000 (0:00:01.628) 0:00:22.449 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:54 +0000 (0:00:01.329) 0:00:23.779 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:54 +0000 (0:00:00.033) 0:00:23.812 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:54 +0000 (0:00:00.045) 0:00:23.858 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:54 +0000 (0:00:00.048) 0:00:23.906 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:56:54 +0000 (0:00:00.050) 0:00:23.957 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:56:54 +0000 (0:00:00.031) 0:00:23.988 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:56:54 +0000 (0:00:00.043) 0:00:24.031 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:56:54 +0000 (0:00:00.068) 0:00:24.100 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:56:54 +0000 (0:00:00.032) 0:00:24.132 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:56:54 +0000 (0:00:00.034) 0:00:24.167 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:56:54 +0000 (0:00:00.058) 0:00:24.226 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:56:54 +0000 (0:00:00.032) 0:00:24.258 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:56:54 +0000 (0:00:00.031) 0:00:24.289 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:56:55 +0000 (0:00:00.421) 0:00:24.711 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpkliih_gg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:56:55 +0000 (0:00:00.319) 0:00:25.030 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:56:55 +0000 (0:00:00.296) 0:00:25.327 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:56:56 +0000 (0:00:00.034) 0:00:25.361 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:56:56 +0000 (0:00:00.034) 0:00:25.396 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:56:56 +0000 (0:00:00.033) 0:00:25.429 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:56:56 +0000 (0:00:00.030) 0:00:25.459 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:56:56 +0000 (0:00:00.216) 0:00:25.675 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:56:56 +0000 (0:00:00.035) 0:00:25.711 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.048) 0:00:25.760 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:56 +0000 (0:00:00.057) 0:00:25.817 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.048) 0:00:25.865 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:56 +0000 (0:00:00.033) 0:00:25.899 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:56 +0000 (0:00:00.071) 0:00:25.970 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:56 +0000 (0:00:00.032) 0:00:26.003 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:58 +0000 (0:00:01.549) 0:00:27.552 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:59 +0000 (0:00:01.326) 0:00:28.878 ********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:59 +0000 (0:00:00.033) 0:00:28.912 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:59 +0000 (0:00:00.034) 0:00:28.946 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:59 +0000 (0:00:00.032) 0:00:28.979 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:56:59 +0000 (0:00:00.041) 0:00:29.020 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:56:59 +0000 (0:00:00.033) 0:00:29.054 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:56:59 +0000 (0:00:00.036) 0:00:29.090 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:56:59 +0000 (0:00:00.056) 0:00:29.146 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:56:59 +0000 (0:00:00.032) 0:00:29.179 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:56:59 +0000 (0:00:00.033) 0:00:29.213 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:56:59 +0000 (0:00:00.045) 0:00:29.258 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:56:59 +0000 (0:00:00.088) 0:00:29.347 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:00 +0000 (0:00:00.053) 0:00:29.400 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:00 +0000 (0:00:00.427) 0:00:29.828 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmparidafv2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:00 +0000 (0:00:00.325) 0:00:30.153 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:01 +0000 (0:00:00.572) 0:00:30.725 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:01 +0000 (0:00:00.036) 0:00:30.762 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:01 +0000 (0:00:00.034) 0:00:30.796 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:01 +0000 (0:00:00.033) 0:00:30.829 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:01 +0000 (0:00:00.032) 0:00:30.862 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:01 +0000 (0:00:00.218) 0:00:31.081 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.050) 0:00:31.131 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.043) 0:00:31.175 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471421.2474, "block_size": 4096, "blocks": 0, "ctime": 1710471421.2474, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32455, "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": 1710471421.2474, "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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 02:57:02 +0000 (0:00:00.212) 0:00:31.388 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:57:02 +0000 (0:00:00.034) 0:00:31.423 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:02 +0000 (0:00:00.079) 0:00:31.502 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:02 +0000 (0:00:00.035) 0:00:31.538 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471421.0656142, "block_size": 4096, "blocks": 8, "ctime": 1710471415.9436357, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471415.9436357, "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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:02 +0000 (0:00:00.211) 0:00:31.750 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:02 +0000 (0:00:00.034) 0:00:31.784 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021667", "end": "2024-03-15 02:57:02.641104", "rc": 1, "start": "2024-03-15 02:57:02.619437" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:02 +0000 (0:00:00.239) 0:00:32.023 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:02 +0000 (0:00:00.031) 0:00:32.055 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003385", "end": "2024-03-15 02:57:02.887464", "rc": 0, "start": "2024-03-15 02:57:02.884079" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:02 +0000 (0:00:00.217) 0:00:32.272 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:02 +0000 (0:00:00.035) 0:00:32.307 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003368", "end": "2024-03-15 02:57:03.141780", "rc": 0, "start": "2024-03-15 02:57:03.138412" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:03 +0000 (0:00:00.217) 0:00:32.525 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:57:03 +0000 (0:00:00.038) 0:00:32.564 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:57:03 +0000 (0:00:00.049) 0:00:32.613 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:57:03 +0000 (0:00:00.048) 0:00:32.661 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:03 +0000 (0:00:00.049) 0:00:32.711 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:03 +0000 (0:00:00.029) 0:00:32.740 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:03 +0000 (0:00:00.032) 0:00:32.772 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.088) 0:00:32.861 ********** 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.048383", "end": "2024-03-15 02:57:03.736828", "rc": 0, "start": "2024-03-15 02:57:03.688445" } 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_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:83 Friday 15 March 2024 02:57:03 +0000 (0:00:00.259) 0:00:33.121 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:03 +0000 (0:00:00.043) 0:00:33.165 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:03 +0000 (0:00:00.031) 0:00:33.196 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:03 +0000 (0:00:00.053) 0:00:33.250 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.042) 0:00:33.293 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.040) 0:00:33.334 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003430", "end": "2024-03-15 02:57:04.163718", "rc": 0, "start": "2024-03-15 02:57:04.160288" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:04 +0000 (0:00:00.220) 0:00:33.554 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:04 +0000 (0:00:00.034) 0:00:33.588 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:04 +0000 (0:00:00.032) 0:00:33.621 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:04 +0000 (0:00:00.048) 0:00:33.670 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:04 +0000 (0:00:00.053) 0:00:33.724 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:04 +0000 (0:00:00.087) 0:00:33.811 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:04 +0000 (0:00:00.044) 0:00:33.856 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:04 +0000 (0:00:00.033) 0:00:33.890 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:04 +0000 (0:00:00.033) 0:00:33.924 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:06 +0000 (0:00:01.599) 0:00:35.523 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:07 +0000 (0:00:01.338) 0:00:36.861 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:07 +0000 (0:00:00.033) 0:00:36.894 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:07 +0000 (0:00:00.046) 0:00:36.941 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:07 +0000 (0:00:00.035) 0:00:36.977 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:07 +0000 (0:00:00.037) 0:00:37.015 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:07 +0000 (0:00:00.030) 0:00:37.045 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:07 +0000 (0:00:00.049) 0:00:37.095 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:07 +0000 (0:00:00.060) 0:00:37.155 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:07 +0000 (0:00:00.072) 0:00:37.227 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:07 +0000 (0:00:00.032) 0:00:37.260 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:07 +0000 (0:00:00.038) 0:00:37.299 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:07 +0000 (0:00:00.032) 0:00:37.331 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:08 +0000 (0:00:00.029) 0:00:37.360 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:08 +0000 (0:00:00.380) 0:00:37.740 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmphsh_wqsh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:08 +0000 (0:00:00.302) 0:00:38.043 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:08 +0000 (0:00:00.296) 0:00:38.340 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:09 +0000 (0:00:00.035) 0:00:38.375 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:09 +0000 (0:00:00.033) 0:00:38.409 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:09 +0000 (0:00:00.031) 0:00:38.441 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:09 +0000 (0:00:00.031) 0:00:38.472 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:09 +0000 (0:00:00.215) 0:00:38.687 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:09 +0000 (0:00:00.031) 0:00:38.719 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:09 +0000 (0:00:00.051) 0:00:38.770 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:09 +0000 (0:00:00.086) 0:00:38.857 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:09 +0000 (0:00:00.034) 0:00:38.891 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:09 +0000 (0:00:00.031) 0:00:38.923 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:09 +0000 (0:00:00.031) 0:00:38.954 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:11 +0000 (0:00:01.560) 0:00:40.515 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:12 +0000 (0:00:01.352) 0:00:41.868 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:12 +0000 (0:00:00.043) 0:00:41.912 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:12 +0000 (0:00:00.036) 0:00:41.948 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:12 +0000 (0:00:00.032) 0:00:41.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:12 +0000 (0:00:00.036) 0:00:42.016 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:12 +0000 (0:00:00.029) 0:00:42.046 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:12 +0000 (0:00:00.035) 0:00:42.081 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:12 +0000 (0:00:00.063) 0:00:42.144 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:12 +0000 (0:00:00.083) 0:00:42.227 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:12 +0000 (0:00:00.032) 0:00:42.260 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:12 +0000 (0:00:00.040) 0:00:42.301 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:12 +0000 (0:00:00.033) 0:00:42.335 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:13 +0000 (0:00:00.031) 0:00:42.366 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:13 +0000 (0:00:00.381) 0:00:42.748 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmplm53pnvr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:13 +0000 (0:00:00.311) 0:00:43.059 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:14 +0000 (0:00:00.566) 0:00:43.626 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:14 +0000 (0:00:00.045) 0:00:43.671 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:14 +0000 (0:00:00.054) 0:00:43.726 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:14 +0000 (0:00:00.045) 0:00:43.771 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:14 +0000 (0:00:00.037) 0:00:43.809 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:14 +0000 (0:00:00.220) 0:00:44.030 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.044) 0:00:44.075 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:14 +0000 (0:00:00.087) 0:00:44.162 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.049) 0:00:44.212 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:14 +0000 (0:00:00.038) 0:00:44.250 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:14 +0000 (0:00:00.035) 0:00:44.286 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:14 +0000 (0:00:00.031) 0:00:44.317 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:16 +0000 (0:00:01.555) 0:00:45.872 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:17 +0000 (0:00:01.334) 0:00:47.207 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:17 +0000 (0:00:00.031) 0:00:47.239 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:17 +0000 (0:00:00.030) 0:00:47.270 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:17 +0000 (0:00:00.030) 0:00:47.300 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:17 +0000 (0:00:00.039) 0:00:47.339 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:18 +0000 (0:00:00.029) 0:00:47.369 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:18 +0000 (0:00:00.036) 0:00:47.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:18 +0000 (0:00:00.163) 0:00:47.569 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:18 +0000 (0:00:00.034) 0:00:47.604 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:18 +0000 (0:00:00.058) 0:00:47.662 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:18 +0000 (0:00:00.047) 0:00:47.710 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:18 +0000 (0:00:00.035) 0:00:47.745 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:18 +0000 (0:00:00.031) 0:00:47.777 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:18 +0000 (0:00:00.393) 0:00:48.170 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmp5wngkca7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:19 +0000 (0:00:00.311) 0:00:48.482 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:19 +0000 (0:00:00.302) 0:00:48.784 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:19 +0000 (0:00:00.033) 0:00:48.818 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:19 +0000 (0:00:00.032) 0:00:48.850 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:19 +0000 (0:00:00.034) 0:00:48.884 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:19 +0000 (0:00:00.030) 0:00:48.915 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:19 +0000 (0:00:00.214) 0:00:49.130 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 02:57:19 +0000 (0:00:00.049) 0:00:49.180 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:19 +0000 (0:00:00.078) 0:00:49.258 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471434.1513445, "block_size": 4096, "blocks": 0, "ctime": 1710471434.1513445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32586, "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": 1710471434.1513445, "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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 02:57:20 +0000 (0:00:00.209) 0:00:49.467 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:57:20 +0000 (0:00:00.032) 0:00:49.499 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:20 +0000 (0:00:00.042) 0:00:49.542 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:20 +0000 (0:00:00.032) 0:00:49.574 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:20 +0000 (0:00:00.205) 0:00:49.780 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:20 +0000 (0:00:00.030) 0:00:49.810 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020942", "end": "2024-03-15 02:57:20.655910", "rc": 1, "start": "2024-03-15 02:57:20.634968" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:20 +0000 (0:00:00.227) 0:00:50.038 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:20 +0000 (0:00:00.031) 0:00:50.070 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:20 +0000 (0:00:00.031) 0:00:50.101 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:20 +0000 (0:00:00.030) 0:00:50.132 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:20 +0000 (0:00:00.028) 0:00:50.161 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:57:20 +0000 (0:00:00.030) 0:00:50.191 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:20 +0000 (0:00:00.031) 0:00:50.223 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:20 +0000 (0:00:00.026) 0:00:50.250 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:20 +0000 (0:00:00.064) 0:00:50.314 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:21 +0000 (0:00:00.046) 0:00:50.360 ********** 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.045113", "end": "2024-03-15 02:57:21.231811", "rc": 0, "start": "2024-03-15 02:57:21.186698" } 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_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:102 Friday 15 March 2024 02:57:21 +0000 (0:00:00.256) 0:00:50.617 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:21 +0000 (0:00:00.043) 0:00:50.660 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:21 +0000 (0:00:00.031) 0:00:50.692 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:21 +0000 (0:00:00.055) 0:00:50.748 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:21 +0000 (0:00:00.041) 0:00:50.789 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:21 +0000 (0:00:00.041) 0:00:50.831 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003327", "end": "2024-03-15 02:57:21.659635", "rc": 0, "start": "2024-03-15 02:57:21.656308" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:21 +0000 (0:00:00.210) 0:00:51.042 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:21 +0000 (0:00:00.032) 0:00:51.074 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:21 +0000 (0:00:00.031) 0:00:51.106 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:21 +0000 (0:00:00.051) 0:00:51.157 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:21 +0000 (0:00:00.085) 0:00:51.242 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:21 +0000 (0:00:00.048) 0:00:51.291 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:21 +0000 (0:00:00.036) 0:00:51.328 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:22 +0000 (0:00:00.032) 0:00:51.360 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:22 +0000 (0:00:00.032) 0:00:51.392 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:23 +0000 (0:00:01.555) 0:00:52.948 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:24 +0000 (0:00:01.336) 0:00:54.284 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:24 +0000 (0:00:00.033) 0:00:54.317 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:24 +0000 (0:00:00.032) 0:00:54.349 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:25 +0000 (0:00:00.031) 0:00:54.381 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:25 +0000 (0:00:00.039) 0:00:54.420 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:25 +0000 (0:00:00.065) 0:00:54.485 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:25 +0000 (0:00:00.037) 0:00:54.522 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:25 +0000 (0:00:00.055) 0:00:54.578 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:25 +0000 (0:00:00.033) 0:00:54.611 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:25 +0000 (0:00:00.031) 0:00:54.643 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:25 +0000 (0:00:00.036) 0:00:54.679 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:25 +0000 (0:00:00.031) 0:00:54.711 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:25 +0000 (0:00:00.031) 0:00:54.743 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:25 +0000 (0:00:00.379) 0:00:55.122 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpioukwb43" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:26 +0000 (0:00:00.302) 0:00:55.425 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:26 +0000 (0:00:00.300) 0:00:55.726 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:26 +0000 (0:00:00.034) 0:00:55.760 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:26 +0000 (0:00:00.033) 0:00:55.794 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:26 +0000 (0:00:00.033) 0:00:55.828 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:26 +0000 (0:00:00.034) 0:00:55.862 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:26 +0000 (0:00:00.216) 0:00:56.078 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:26 +0000 (0:00:00.033) 0:00:56.111 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:26 +0000 (0:00:00.112) 0:00:56.224 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:26 +0000 (0:00:00.057) 0:00:56.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:26 +0000 (0:00:00.046) 0:00:56.327 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:27 +0000 (0:00:00.033) 0:00:56.361 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:27 +0000 (0:00:00.033) 0:00:56.394 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:28 +0000 (0:00:01.548) 0:00:57.942 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:29 +0000 (0:00:01.331) 0:00:59.274 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:29 +0000 (0:00:00.034) 0:00:59.308 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:29 +0000 (0:00:00.033) 0:00:59.342 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:30 +0000 (0:00:00.031) 0:00:59.374 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:30 +0000 (0:00:00.039) 0:00:59.414 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:30 +0000 (0:00:00.070) 0:00:59.485 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:30 +0000 (0:00:00.035) 0:00:59.520 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:30 +0000 (0:00:00.055) 0:00:59.576 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:30 +0000 (0:00:00.033) 0:00:59.610 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:30 +0000 (0:00:00.031) 0:00:59.641 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:30 +0000 (0:00:00.036) 0:00:59.678 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:30 +0000 (0:00:00.031) 0:00:59.709 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:30 +0000 (0:00:00.032) 0:00:59.741 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:30 +0000 (0:00:00.378) 0:01:00.119 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpxq4pux80" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:31 +0000 (0:00:00.304) 0:01:00.424 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:31 +0000 (0:00:00.572) 0:01:00.997 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:31 +0000 (0:00:00.033) 0:01:01.030 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:31 +0000 (0:00:00.033) 0:01:01.064 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:31 +0000 (0:00:00.033) 0:01:01.097 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:31 +0000 (0:00:00.032) 0:01:01.130 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 02:57:31 +0000 (0:00:00.213) 0:01:01.343 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:32 +0000 (0:00:00.095) 0:01:01.439 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:32 +0000 (0:00:00.050) 0:01:01.489 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:32 +0000 (0:00:00.035) 0:01:01.525 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:32 +0000 (0:00:00.034) 0:01:01.559 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:32 +0000 (0:00:00.031) 0:01:01.591 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:33 +0000 (0:00:01.551) 0:01:03.143 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:35 +0000 (0:00:01.330) 0:01:04.473 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:35 +0000 (0:00:00.031) 0:01:04.505 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:35 +0000 (0:00:00.032) 0:01:04.538 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:35 +0000 (0:00:00.032) 0:01:04.570 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:35 +0000 (0:00:00.037) 0:01:04.607 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:35 +0000 (0:00:00.031) 0:01:04.639 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:35 +0000 (0:00:00.074) 0:01:04.713 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:35 +0000 (0:00:00.054) 0:01:04.767 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:35 +0000 (0:00:00.034) 0:01:04.801 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:35 +0000 (0:00:00.032) 0:01:04.833 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:35 +0000 (0:00:00.035) 0:01:04.869 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:35 +0000 (0:00:00.042) 0:01:04.911 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:35 +0000 (0:00:00.030) 0:01:04.941 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:35 +0000 (0:00:00.374) 0:01:05.316 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmphw1cc8wt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:36 +0000 (0:00:00.304) 0:01:05.621 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:36 +0000 (0:00:00.307) 0:01:05.929 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:36 +0000 (0:00:00.031) 0:01:05.960 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:36 +0000 (0:00:00.032) 0:01:05.993 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:36 +0000 (0:00:00.032) 0:01:06.026 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:36 +0000 (0:00:00.031) 0:01:06.057 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:36 +0000 (0:00:00.214) 0:01:06.272 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:57:36 +0000 (0:00:00.046) 0:01:06.318 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:37 +0000 (0:00:00.166) 0:01:06.485 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:37 +0000 (0:00:00.051) 0:01:06.536 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:37 +0000 (0:00:00.037) 0:01:06.574 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:37 +0000 (0:00:00.032) 0:01:06.607 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:37 +0000 (0:00:00.032) 0:01:06.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:38 +0000 (0:00:01.545) 0:01:08.185 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:40 +0000 (0:00:01.331) 0:01:09.516 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:40 +0000 (0:00:00.034) 0:01:09.550 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:40 +0000 (0:00:00.033) 0:01:09.584 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:40 +0000 (0:00:00.032) 0:01:09.617 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:40 +0000 (0:00:00.041) 0:01:09.658 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:40 +0000 (0:00:00.077) 0:01:09.736 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:40 +0000 (0:00:00.036) 0:01:09.772 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:40 +0000 (0:00:00.056) 0:01:09.829 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:40 +0000 (0:00:00.032) 0:01:09.861 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:40 +0000 (0:00:00.031) 0:01:09.893 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:40 +0000 (0:00:00.040) 0:01:09.933 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:40 +0000 (0:00:00.034) 0:01:09.968 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:40 +0000 (0:00:00.039) 0:01:10.007 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:41 +0000 (0:00:00.381) 0:01:10.388 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpbchs150t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:41 +0000 (0:00:00.310) 0:01:10.699 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:41 +0000 (0:00:00.298) 0:01:10.998 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:41 +0000 (0:00:00.034) 0:01:11.032 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:41 +0000 (0:00:00.033) 0:01:11.066 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:41 +0000 (0:00:00.031) 0:01:11.097 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:41 +0000 (0:00:00.032) 0:01:11.129 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:41 +0000 (0:00:00.218) 0:01:11.348 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:57:42 +0000 (0:00:00.105) 0:01:11.453 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:42 +0000 (0:00:00.083) 0:01:11.537 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:42 +0000 (0:00:00.059) 0:01:11.597 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:42 +0000 (0:00:00.208) 0:01:11.806 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:42 +0000 (0:00:00.052) 0:01:11.858 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021183", "end": "2024-03-15 02:57:42.706308", "rc": 1, "start": "2024-03-15 02:57:42.685125" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:42 +0000 (0:00:00.231) 0:01:12.089 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:42 +0000 (0:00:00.032) 0:01:12.122 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:42 +0000 (0:00:00.031) 0:01:12.153 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:42 +0000 (0:00:00.043) 0:01:12.197 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:42 +0000 (0:00:00.032) 0:01:12.230 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:57:42 +0000 (0:00:00.030) 0:01:12.261 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:42 +0000 (0:00:00.060) 0:01:12.321 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:43 +0000 (0:00:00.033) 0:01:12.355 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:43 +0000 (0:00:00.031) 0:01:12.386 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.097) 0:01:12.484 ********** 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.047387", "end": "2024-03-15 02:57:43.356828", "rc": 0, "start": "2024-03-15 02:57:43.309441" } 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_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:124 Friday 15 March 2024 02:57:43 +0000 (0:00:00.261) 0:01:12.745 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:43 +0000 (0:00:00.052) 0:01:12.797 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:43 +0000 (0:00:00.033) 0:01:12.831 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:43 +0000 (0:00:00.057) 0:01:12.888 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.043) 0:01:12.931 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.042) 0:01:12.973 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-03-15 02:57:43.801432", "rc": 0, "start": "2024-03-15 02:57:43.798169" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:43 +0000 (0:00:00.211) 0:01:13.185 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:43 +0000 (0:00:00.040) 0:01:13.226 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:43 +0000 (0:00:00.031) 0:01:13.257 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.049) 0:01:13.306 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:44 +0000 (0:00:00.050) 0:01:13.357 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:44 +0000 (0:00:00.086) 0:01:13.443 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:44 +0000 (0:00:00.036) 0:01:13.480 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:44 +0000 (0:00:00.036) 0:01:13.516 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:44 +0000 (0:00:00.040) 0:01:13.556 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:45 +0000 (0:00:01.542) 0:01:15.098 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:47 +0000 (0:00:01.337) 0:01:16.436 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:47 +0000 (0:00:00.035) 0:01:16.472 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:47 +0000 (0:00:00.033) 0:01:16.505 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:47 +0000 (0:00:00.036) 0:01:16.541 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:47 +0000 (0:00:00.038) 0:01:16.580 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:47 +0000 (0:00:00.033) 0:01:16.614 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:47 +0000 (0:00:00.038) 0:01:16.652 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:47 +0000 (0:00:00.054) 0:01:16.707 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:47 +0000 (0:00:00.083) 0:01:16.791 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:47 +0000 (0:00:00.034) 0:01:16.825 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:47 +0000 (0:00:00.055) 0:01:16.881 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:47 +0000 (0:00:00.039) 0:01:16.921 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:47 +0000 (0:00:00.030) 0:01:16.952 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:47 +0000 (0:00:00.383) 0:01:17.335 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpu5tmdclf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:48 +0000 (0:00:00.328) 0:01:17.664 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:48 +0000 (0:00:00.298) 0:01:17.962 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:48 +0000 (0:00:00.033) 0:01:17.996 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:48 +0000 (0:00:00.034) 0:01:18.030 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:48 +0000 (0:00:00.034) 0:01:18.064 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:48 +0000 (0:00:00.032) 0:01:18.097 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:48 +0000 (0:00:00.215) 0:01:18.313 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:48 +0000 (0:00:00.033) 0:01:18.346 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:49 +0000 (0:00:00.052) 0:01:18.399 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.098) 0:01:18.498 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:49 +0000 (0:00:00.037) 0:01:18.535 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:49 +0000 (0:00:00.036) 0:01:18.571 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:49 +0000 (0:00:00.033) 0:01:18.605 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:50 +0000 (0:00:01.560) 0:01:20.165 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:52 +0000 (0:00:01.331) 0:01:21.497 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:52 +0000 (0:00:00.033) 0:01:21.531 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:52 +0000 (0:00:00.031) 0:01:21.562 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:52 +0000 (0:00:00.032) 0:01:21.594 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:52 +0000 (0:00:00.037) 0:01:21.632 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:52 +0000 (0:00:00.033) 0:01:21.665 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:52 +0000 (0:00:00.037) 0:01:21.703 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:52 +0000 (0:00:00.054) 0:01:21.757 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:52 +0000 (0:00:00.070) 0:01:21.828 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:52 +0000 (0:00:00.032) 0:01:21.860 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:52 +0000 (0:00:00.035) 0:01:21.896 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:52 +0000 (0:00:00.034) 0:01:21.931 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:52 +0000 (0:00:00.029) 0:01:21.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:52 +0000 (0:00:00.375) 0:01:22.336 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmp2alad5y7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:53 +0000 (0:00:00.307) 0:01:22.644 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:53 +0000 (0:00:00.565) 0:01:23.210 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:53 +0000 (0:00:00.034) 0:01:23.244 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:53 +0000 (0:00:00.034) 0:01:23.279 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:53 +0000 (0:00:00.036) 0:01:23.316 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:53 +0000 (0:00:00.032) 0:01:23.348 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:57:54 +0000 (0:00:00.213) 0:01:23.561 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:54 +0000 (0:00:00.054) 0:01:23.616 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:54 +0000 (0:00:00.114) 0:01:23.730 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:54 +0000 (0:00:00.042) 0:01:23.772 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:54 +0000 (0:00:00.035) 0:01:23.808 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:54 +0000 (0:00:00.035) 0:01:23.844 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:56 +0000 (0:00:01.554) 0:01:25.398 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:57 +0000 (0:00:01.334) 0:01:26.732 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:57 +0000 (0:00:00.033) 0:01:26.766 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:57 +0000 (0:00:00.034) 0:01:26.800 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:57 +0000 (0:00:00.032) 0:01:26.832 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:57 +0000 (0:00:00.039) 0:01:26.872 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:57 +0000 (0:00:00.032) 0:01:26.904 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:57 +0000 (0:00:00.039) 0:01:26.944 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:57 +0000 (0:00:00.055) 0:01:27.000 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:57 +0000 (0:00:00.033) 0:01:27.033 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:57 +0000 (0:00:00.152) 0:01:27.186 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:57 +0000 (0:00:00.038) 0:01:27.224 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:57 +0000 (0:00:00.032) 0:01:27.256 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:57 +0000 (0:00:00.031) 0:01:27.287 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:58 +0000 (0:00:00.379) 0:01:27.667 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmph8u873i_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:58 +0000 (0:00:00.306) 0:01:27.973 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:58 +0000 (0:00:00.310) 0:01:28.284 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:58 +0000 (0:00:00.034) 0:01:28.319 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:58 +0000 (0:00:00.033) 0:01:28.352 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:59 +0000 (0:00:00.034) 0:01:28.387 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:59 +0000 (0:00:00.031) 0:01:28.418 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:59 +0000 (0:00:00.215) 0:01:28.634 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:57:59 +0000 (0:00:00.046) 0:01:28.681 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:59 +0000 (0:00:00.059) 0:01:28.740 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:59 +0000 (0:00:00.139) 0:01:28.880 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:59 +0000 (0:00:00.037) 0:01:28.917 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:59 +0000 (0:00:00.032) 0:01:28.950 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:59 +0000 (0:00:00.036) 0:01:28.987 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:58:01 +0000 (0:00:01.564) 0:01:30.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 : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:58:02 +0000 (0:00:01.348) 0:01:31.900 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:58:02 +0000 (0:00:00.050) 0:01:31.951 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:58:02 +0000 (0:00:00.044) 0:01:31.995 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:58:02 +0000 (0:00:00.033) 0:01:32.029 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:58:02 +0000 (0:00:00.037) 0:01:32.067 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:58:02 +0000 (0:00:00.033) 0:01:32.100 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:58:02 +0000 (0:00:00.039) 0:01:32.139 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:58:02 +0000 (0:00:00.055) 0:01:32.195 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:58:02 +0000 (0:00:00.087) 0:01:32.283 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:58:02 +0000 (0:00:00.033) 0:01:32.316 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:58:03 +0000 (0:00:00.051) 0:01:32.368 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:58:03 +0000 (0:00:00.037) 0:01:32.405 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:58:03 +0000 (0:00:00.031) 0:01:32.437 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:58:03 +0000 (0:00:00.399) 0:01:32.837 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12434bg6dz3gy/tmpdiic8gzh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:58:03 +0000 (0:00:00.309) 0:01:33.146 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:58:04 +0000 (0:00:00.311) 0:01:33.458 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:58:04 +0000 (0:00:00.031) 0:01:33.490 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:58:04 +0000 (0:00:00.034) 0:01:33.524 ********** 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_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:58:04 +0000 (0:00:00.033) 0:01:33.557 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:58:04 +0000 (0:00:00.031) 0:01:33.589 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:58:04 +0000 (0:00:00.214) 0:01:33.804 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:58:04 +0000 (0:00:00.051) 0:01:33.855 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:58:04 +0000 (0:00:00.092) 0:01:33.947 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:58:04 +0000 (0:00:00.039) 0:01:33.987 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:58:04 +0000 (0:00:00.212) 0:01:34.199 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:58:04 +0000 (0:00:00.030) 0:01:34.229 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021038", "end": "2024-03-15 02:58:05.076513", "rc": 1, "start": "2024-03-15 02:58:05.055475" } 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:58:05 +0000 (0:00:00.228) 0:01:34.458 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:58:05 +0000 (0:00:00.032) 0:01:34.491 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:58:05 +0000 (0:00:00.031) 0:01:34.523 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:58:05 +0000 (0:00:00.030) 0:01:34.553 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:58:05 +0000 (0:00:00.032) 0:01:34.586 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:58:05 +0000 (0:00:00.031) 0:01:34.618 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 15 March 2024 02:58:05 +0000 (0:00:00.032) 0:01:34.650 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.937989", "end": "2024-03-15 02:58:06.412455", "rc": 0, "start": "2024-03-15 02:58:05.474466" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 15 March 2024 02:58:06 +0000 (0:00:01.145) 0:01:35.796 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 15 March 2024 02:58:06 +0000 (0:00:00.032) 0:01:35.829 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:58:06 +0000 (0:00:00.031) 0:01:35.861 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:58:06 +0000 (0:00:00.034) 0:01:35.895 ********** 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_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:58:06 +0000 (0:00:00.032) 0:01:35.928 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:58:06 +0000 (0:00:00.099) 0:01:36.028 ********** 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.050740", "end": "2024-03-15 02:58:06.904606", "rc": 0, "start": "2024-03-15 02:58:06.853866" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 02:58:06 +0000 (0:00:00.260) 0:01:36.288 ********** 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.009905", "end": "2024-03-15 02:58:07.122989", "rc": 0, "start": "2024-03-15 02:58:07.113084" } 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:5a:8e:3b:f7:b9 brd ff:ff:ff:ff:ff:ff inet 10.31.46.123/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2133sec preferred_lft 2133sec inet6 fe80::5a:8eff:fe3b:f7b9/64 scope link valid_lft forever preferred_lft forever 41: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:0d:55:4d:93:b4 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.123 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.123 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 02:58:07 +0000 (0:00:00.216) 0:01:36.505 ********** 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.259511", "end": "2024-03-15 02:58:07.594497", "rc": 0, "start": "2024-03-15 02:58:07.334986" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 3961 0 --:--:-- --:--:-- --:--:-- 4013 % 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 6191 0 --:--:-- --:--:-- --:--:-- 6191 PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=271 rescued=0 ignored=10 Friday 15 March 2024 02:58:07 +0000 (0:00:00.505) 0:01:37.011 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.64s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:3 ------ fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.60s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.56s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.56s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.56s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.56s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.56s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.54s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---