# 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_hotfixjy76u1gx/.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_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/tests_states_initscripts.yml:5 Thursday 22 February 2024 04:04:17 +0000 (0:00:00.010) 0:00:00.010 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tests_states_initscripts.yml:8 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.865) 0:00:00.876 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.011) 0:00:00.888 ***** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:17 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.016) 0:00:00.904 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:22 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.244) 0:00:01.148 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:26 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.012) 0:00:01.161 ***** 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_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:51 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.008) 0:00:01.170 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.020) 0:00:01.191 ***** 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_hotfixjy76u1gx/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.244) 0:00:01.436 ***** 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_hotfixjy76u1gx/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.008) 0:00:01.444 ***** 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_hotfixjy76u1gx/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 04:04:18 +0000 (0:00:00.008) 0:00:01.452 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245194", "end": "2024-02-22 04:04:19.023020", "rc": 0, "start": "2024-02-22 04:04:18.777826" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.437) 0:00:01.890 ***** 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_hotfixjy76u1gx/tests/tests_states_initscripts.yml:10 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.008) 0:00:01.899 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_states.yml:3 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.014) 0:00:01.914 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_states.yml:11 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.626) 0:00:02.540 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_states.yml:22 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.017) 0:00:02.557 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.021) 0:00:02.578 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.017) 0:00:02.596 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.040) 0:00:02.637 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.019) 0:00:02.656 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:04:19 +0000 (0:00:00.024) 0:00:02.681 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-02-22 04:04:20.019510", "rc": 0, "start": "2024-02-22 04:04:20.016003" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.200) 0:00:02.881 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.018) 0:00:02.900 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.017) 0:00:02.917 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.028) 0:00:02.945 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008811", "end": "2024-02-22 04:04:20.290705", "rc": 1, "start": "2024-02-22 04:04:20.281894" } 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.206) 0:00:03.152 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.020) 0:00:03.172 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.197) 0:00:03.370 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.020) 0:00:03.390 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.025) 0:00:03.415 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.034) 0:00:03.450 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.028) 0:00:03.478 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.019) 0:00:03.498 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.018) 0:00:03.517 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:04:20 +0000 (0:00:00.019) 0:00:03.536 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:04:22 +0000 (0:00:01.655) 0:00:05.192 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:04:23 +0000 (0:00:01.475) 0:00:06.667 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:04:23 +0000 (0:00:00.028) 0:00:06.696 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:04:23 +0000 (0:00:00.029) 0:00:06.725 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:04:23 +0000 (0:00:00.027) 0:00:06.753 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:04:29 +0000 (0:00:05.928) 0:00:12.682 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:04:29 +0000 (0:00:00.027) 0:00:12.709 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:04:29 +0000 (0:00:00.034) 0:00:12.744 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:04:29 +0000 (0:00:00.050) 0:00:12.795 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:04:29 +0000 (0:00:00.046) 0:00:12.841 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.028) 0:00:12.870 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.034) 0:00:12.905 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.030) 0:00:12.935 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.026) 0:00:12.961 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.535) 0:00:13.497 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmpws2g6gen" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:04:30 +0000 (0:00:00.303) 0:00:13.800 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.409) 0:00:14.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.032) 0:00:14.242 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.029) 0:00:14.272 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.030) 0:00:14.303 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.029) 0:00:14.332 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.292) 0:00:14.624 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.028) 0:00:14.653 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.040) 0:00:14.693 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.060) 0:00:14.754 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:04:31 +0000 (0:00:00.028) 0:00:14.782 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574671.3378332, "block_size": 4096, "blocks": 8, "ctime": 1708574671.3378332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708574671.3378332, "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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.205) 0:00:14.988 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.029) 0:00:15.017 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020565", "end": "2024-02-22 04:04:32.371589", "rc": 1, "start": "2024-02-22 04:04:32.351024" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.226) 0:00:15.243 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.027) 0:00:15.271 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003479", "end": "2024-02-22 04:04:32.611397", "rc": 0, "start": "2024-02-22 04:04:32.607918" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.213) 0:00:15.484 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.031) 0:00:15.516 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003368", "end": "2024-02-22 04:04:32.858084", "rc": 0, "start": "2024-02-22 04:04:32.854716" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.214) 0:00:15.731 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.031) 0:00:15.762 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.029) 0:00:15.791 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 04:04:32 +0000 (0:00:00.029) 0:00:15.821 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.028) 0:00:15.849 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.029) 0:00:15.879 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.027) 0:00:15.906 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.042) 0:00:15.949 ***** 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.038771", "end": "2024-02-22 04:04:33.322584", "rc": 1, "start": "2024-02-22 04:04:33.283813" } 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_hotfixjy76u1gx/tests/playbooks/tests_states.yml:45 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.267) 0:00:16.216 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.040) 0:00:16.257 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.029) 0:00:16.286 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.053) 0:00:16.339 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.042) 0:00:16.382 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.040) 0:00:16.422 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-02-22 04:04:33.768591", "rc": 0, "start": "2024-02-22 04:04:33.765268" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.219) 0:00:16.642 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.028) 0:00:16.671 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.030) 0:00:16.702 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 04:04:33 +0000 (0:00:00.044) 0:00:16.746 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006710", "end": "2024-02-22 04:04:34.088919", "rc": 1, "start": "2024-02-22 04:04:34.082209" } 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.213) 0:00:16.960 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.038) 0:00:16.999 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.231) 0:00:17.230 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.029) 0:00:17.260 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.041) 0:00:17.302 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.047) 0:00:17.349 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.044) 0:00:17.394 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.031) 0:00:17.426 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.028) 0:00:17.454 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:04:34 +0000 (0:00:00.027) 0:00:17.482 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:04:36 +0000 (0:00:01.562) 0:00:19.045 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:04:37 +0000 (0:00:01.328) 0:00:20.373 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:04:37 +0000 (0:00:00.029) 0:00:20.403 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:04:37 +0000 (0:00:00.027) 0:00:20.431 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:04:37 +0000 (0:00:00.054) 0:00:20.485 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:04:44 +0000 (0:00:06.411) 0:00:26.896 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.029) 0:00:26.925 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.033) 0:00:26.959 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.050) 0:00:27.009 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.029) 0:00:27.039 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.028) 0:00:27.068 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.034) 0:00:27.103 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.029) 0:00:27.132 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.026) 0:00:27.159 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.380) 0:00:27.539 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmphc8lsk36" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:04:44 +0000 (0:00:00.303) 0:00:27.843 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.295) 0:00:28.138 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.029) 0:00:28.168 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.028) 0:00:28.197 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.029) 0:00:28.227 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.028) 0:00:28.255 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.240) 0:00:28.495 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.030) 0:00:28.526 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.047) 0:00:28.573 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.038) 0:00:28.612 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 04:04:45 +0000 (0:00:00.207) 0:00:28.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.030) 0:00:28.851 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.043) 0:00:28.894 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.028) 0:00:28.923 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574685.265107, "block_size": 4096, "blocks": 8, "ctime": 1708574685.265107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708574685.265107, "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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.209) 0:00:29.133 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.028) 0:00:29.161 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020733", "end": "2024-02-22 04:04:46.518686", "rc": 1, "start": "2024-02-22 04:04:46.497953" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.229) 0:00:29.391 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.027) 0:00:29.418 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003589", "end": "2024-02-22 04:04:46.758130", "rc": 0, "start": "2024-02-22 04:04:46.754541" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.213) 0:00:29.631 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:04:46 +0000 (0:00:00.031) 0:00:29.663 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003430", "end": "2024-02-22 04:04:47.004229", "rc": 0, "start": "2024-02-22 04:04:47.000799" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.214) 0:00:29.877 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.054) 0:00:29.932 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.030) 0:00:29.962 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.031) 0:00:29.993 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.029) 0:00:30.022 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.025) 0:00:30.048 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.030) 0:00:30.079 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.046) 0:00:30.126 ***** 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.039740", "end": "2024-02-22 04:04:47.507250", "rc": 1, "start": "2024-02-22 04:04:47.467510" } 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_hotfixjy76u1gx/tests/playbooks/tests_states.yml:65 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.253) 0:00:30.380 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.042) 0:00:30.423 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.030) 0:00:30.453 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.052) 0:00:30.505 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.039) 0:00:30.545 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.037) 0:00:30.583 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2024-02-22 04:04:47.920284", "rc": 0, "start": "2024-02-22 04:04:47.916718" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:04:47 +0000 (0:00:00.235) 0:00:30.818 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.028) 0:00:30.847 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.027) 0:00:30.875 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.039) 0:00:30.914 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.048) 0:00:30.963 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.044) 0:00:31.007 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.033) 0:00:31.040 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.028) 0:00:31.069 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:04:48 +0000 (0:00:00.029) 0:00:31.099 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:04:49 +0000 (0:00:01.583) 0:00:32.682 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:04:51 +0000 (0:00:01.338) 0:00:34.021 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:04:51 +0000 (0:00:00.029) 0:00:34.050 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:04:51 +0000 (0:00:00.060) 0:00:34.111 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:04:51 +0000 (0:00:00.030) 0:00:34.141 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:04:57 +0000 (0:00:05.932) 0:00:40.074 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.029) 0:00:40.104 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.035) 0:00:40.140 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.053) 0:00:40.194 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.030) 0:00:40.224 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.044) 0:00:40.269 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.037) 0:00:40.306 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.045) 0:00:40.351 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.030) 0:00:40.382 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:04:57 +0000 (0:00:00.390) 0:00:40.773 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp0sn8dsmt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.301) 0:00:41.074 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.293) 0:00:41.367 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.030) 0:00:41.398 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.050) 0:00:41.448 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.031) 0:00:41.479 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.029) 0:00:41.509 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.244) 0:00:41.753 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.044) 0:00:41.798 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 04:04:58 +0000 (0:00:00.045) 0:00:41.843 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:04:59 +0000 (0:00:00.056) 0:00:41.900 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:04:59 +0000 (0:00:00.047) 0:00:41.947 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:04:59 +0000 (0:00:00.034) 0:00:41.981 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:04:59 +0000 (0:00:00.038) 0:00:42.020 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:04:59 +0000 (0:00:00.033) 0:00:42.054 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:05:00 +0000 (0:00:01.552) 0:00:43.606 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:05:02 +0000 (0:00:01.330) 0:00:44.936 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:05:02 +0000 (0:00:00.029) 0:00:44.965 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:05:02 +0000 (0:00:00.055) 0:00:45.021 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:05:02 +0000 (0:00:00.030) 0:00:45.051 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:05:08 +0000 (0:00:06.135) 0:00:51.187 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.029) 0:00:51.216 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.034) 0:00:51.250 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.054) 0:00:51.305 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.030) 0:00:51.336 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.029) 0:00:51.365 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.034) 0:00:51.399 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.029) 0:00:51.428 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.027) 0:00:51.456 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:05:08 +0000 (0:00:00.375) 0:00:51.831 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp14jv2pnr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.301) 0:00:52.132 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.564) 0:00:52.696 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.029) 0:00:52.726 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.029) 0:00:52.756 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.037) 0:00:52.793 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:05:09 +0000 (0:00:00.033) 0:00:52.827 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.243) 0:00:53.070 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.047) 0:00:53.117 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.039) 0:00:53.156 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574709.7295978, "block_size": 4096, "blocks": 0, "ctime": 1708574709.7295978, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32271, "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": 1708574709.7295978, "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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.207) 0:00:53.364 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.029) 0:00:53.394 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.041) 0:00:53.435 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.033) 0:00:53.468 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574709.5495842, "block_size": 4096, "blocks": 8, "ctime": 1708574698.494367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708574698.494367, "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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.209) 0:00:53.678 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:05:10 +0000 (0:00:00.029) 0:00:53.707 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020242", "end": "2024-02-22 04:05:11.064160", "rc": 1, "start": "2024-02-22 04:05:11.043918" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.229) 0:00:53.937 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.029) 0:00:53.966 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003095", "end": "2024-02-22 04:05:11.308830", "rc": 0, "start": "2024-02-22 04:05:11.305735" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.226) 0:00:54.193 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.035) 0:00:54.228 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003120", "end": "2024-02-22 04:05:11.567556", "rc": 0, "start": "2024-02-22 04:05:11.564436" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.211) 0:00:54.440 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.060) 0:00:54.500 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.032) 0:00:54.532 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.030) 0:00:54.563 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.029) 0:00:54.592 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.025) 0:00:54.618 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.028) 0:00:54.646 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:05:11 +0000 (0:00:00.043) 0:00:54.690 ***** 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.045465", "end": "2024-02-22 04:05:12.069914", "rc": 0, "start": "2024-02-22 04:05:12.024449" } 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_hotfixjy76u1gx/tests/playbooks/tests_states.yml:83 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.253) 0:00:54.944 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.042) 0:00:54.987 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.030) 0:00:55.018 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.052) 0:00:55.071 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.039) 0:00:55.110 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.037) 0:00:55.148 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003269", "end": "2024-02-22 04:05:12.489622", "rc": 0, "start": "2024-02-22 04:05:12.486353" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.243) 0:00:55.391 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.030) 0:00:55.421 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.040) 0:00:55.462 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.046) 0:00:55.508 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.052) 0:00:55.560 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.046) 0:00:55.607 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.033) 0:00:55.640 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.033) 0:00:55.674 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:05:12 +0000 (0:00:00.031) 0:00:55.706 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:05:14 +0000 (0:00:01.546) 0:00:57.252 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:05:15 +0000 (0:00:01.326) 0:00:58.578 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:05:15 +0000 (0:00:00.029) 0:00:58.608 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:05:15 +0000 (0:00:00.057) 0:00:58.665 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:05:15 +0000 (0:00:00.030) 0:00:58.696 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:05:21 +0000 (0:00:05.945) 0:01:04.642 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:05:21 +0000 (0:00:00.029) 0:01:04.671 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:05:21 +0000 (0:00:00.034) 0:01:04.705 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:05:21 +0000 (0:00:00.054) 0:01:04.759 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:05:21 +0000 (0:00:00.030) 0:01:04.790 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:05:21 +0000 (0:00:00.030) 0:01:04.820 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:05:22 +0000 (0:00:00.034) 0:01: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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:05:22 +0000 (0:00:00.029) 0:01:04.885 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:05:22 +0000 (0:00:00.028) 0:01:04.914 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:05:22 +0000 (0:00:00.377) 0:01:05.291 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmphe2s5npn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:05:22 +0000 (0:00:00.302) 0:01:05.594 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.296) 0:01:05.890 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.031) 0:01:05.921 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.030) 0:01:05.952 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.030) 0:01:05.983 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.029) 0:01:06.012 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.237) 0:01:06.249 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.030) 0:01:06.280 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.048) 0:01:06.328 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.047) 0:01:06.375 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.032) 0:01:06.408 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.031) 0:01:06.440 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:05:23 +0000 (0:00:00.030) 0:01:06.470 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:05:25 +0000 (0:00:01.543) 0:01:08.013 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:05:26 +0000 (0:00:01.325) 0:01:09.339 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:05:26 +0000 (0:00:00.031) 0:01:09.371 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:05:26 +0000 (0:00:00.033) 0:01:09.404 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:05:26 +0000 (0:00:00.031) 0:01:09.436 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:05:33 +0000 (0:00:06.661) 0:01:16.098 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.028) 0:01:16.127 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.036) 0:01:16.163 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.052) 0:01:16.216 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.029) 0:01:16.245 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.030) 0:01:16.276 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.033) 0:01:16.309 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.030) 0:01:16.339 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.027) 0:01:16.367 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:05:33 +0000 (0:00:00.374) 0:01:16.741 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmptf5_wg6u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.300) 0:01:17.041 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.565) 0:01:17.607 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.031) 0:01:17.638 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.030) 0:01:17.668 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.029) 0:01:17.698 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:05:34 +0000 (0:00:00.031) 0:01:17.729 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.209) 0:01:17.939 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.076) 0:01:18.016 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.050) 0:01:18.066 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.046) 0:01:18.113 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.033) 0:01:18.147 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.029) 0:01:18.176 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:05:35 +0000 (0:00:00.031) 0:01:18.208 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:05:36 +0000 (0:00:01.553) 0:01:19.761 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:05:38 +0000 (0:00:01.326) 0:01:21.088 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:05:38 +0000 (0:00:00.034) 0:01:21.122 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:05:38 +0000 (0:00:00.043) 0:01:21.165 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:05:38 +0000 (0:00:00.032) 0:01:21.197 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:05:44 +0000 (0:00:06.479) 0:01:27.677 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:05:44 +0000 (0:00:00.060) 0:01:27.737 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:05:44 +0000 (0:00:00.036) 0:01:27.774 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:05:44 +0000 (0:00:00.051) 0:01:27.825 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.030) 0:01:27.856 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.030) 0:01:27.886 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.037) 0:01:27.924 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.032) 0:01:27.956 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.036) 0:01:27.993 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.378) 0:01:28.372 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmpwxzuyul3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:05:45 +0000 (0:00:00.304) 0:01:28.676 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.306) 0:01:28.983 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.033) 0:01:29.017 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.030) 0:01:29.048 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.033) 0:01:29.081 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.030) 0:01:29.112 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.210) 0:01:29.322 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.077) 0:01:29.400 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.041) 0:01:29.442 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574734.6445563, "block_size": 4096, "blocks": 0, "ctime": 1708574734.6445563, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32402, "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": 1708574734.6445563, "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_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.215) 0:01:29.657 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.030) 0:01:29.688 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.040) 0:01:29.728 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:05:46 +0000 (0:00:00.031) 0:01:29.759 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.203) 0:01:29.962 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.027) 0:01:29.990 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019936", "end": "2024-02-22 04:05:47.342382", "rc": 1, "start": "2024-02-22 04:05:47.322446" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.223) 0:01:30.214 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.027) 0:01:30.242 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.028) 0:01:30.270 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.027) 0:01:30.297 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.028) 0:01:30.326 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.027) 0:01:30.354 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.031) 0:01:30.386 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.055) 0:01:30.441 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.030) 0:01:30.472 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.043) 0:01:30.515 ***** 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.043333", "end": "2024-02-22 04:05:47.890996", "rc": 0, "start": "2024-02-22 04:05:47.847663" } 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_hotfixjy76u1gx/tests/playbooks/tests_states.yml:102 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.250) 0:01:30.766 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:05:47 +0000 (0:00:00.042) 0:01:30.808 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.039) 0:01:30.847 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.052) 0:01:30.900 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.039) 0:01:30.939 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.037) 0:01:30.976 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-02-22 04:05:48.312233", "rc": 0, "start": "2024-02-22 04:05:48.308988" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.207) 0:01:31.184 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.030) 0:01:31.214 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.029) 0:01:31.244 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.079) 0:01:31.324 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.050) 0:01:31.374 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.048) 0:01:31.423 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.034) 0:01:31.458 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.030) 0:01:31.488 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:05:48 +0000 (0:00:00.029) 0:01:31.518 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:05:50 +0000 (0:00:01.544) 0:01:33.062 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:05:51 +0000 (0:00:01.327) 0:01:34.390 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:05:51 +0000 (0:00:00.031) 0:01:34.421 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:05:51 +0000 (0:00:00.030) 0:01:34.451 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:05:51 +0000 (0:00:00.029) 0:01:34.481 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:05:57 +0000 (0:00:05.960) 0:01:40.442 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.027) 0:01:40.469 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.067) 0:01:40.537 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.054) 0:01:40.591 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.031) 0:01:40.622 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.030) 0:01:40.653 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.036) 0:01:40.689 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.030) 0:01:40.720 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:05:57 +0000 (0:00:00.027) 0:01:40.747 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.373) 0:01:41.121 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmpsl8j91jk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.304) 0:01:41.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.291) 0:01:41.716 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.031) 0:01:41.748 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.030) 0:01:41.779 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.030) 0:01:41.809 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:05:58 +0000 (0:00:00.031) 0:01:41.841 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.209) 0:01:42.051 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.030) 0:01:42.081 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.077) 0:01:42.158 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.047) 0:01:42.205 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.033) 0:01:42.238 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.031) 0:01:42.269 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:05:59 +0000 (0:00:00.029) 0:01:42.299 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:01 +0000 (0:00:01.557) 0:01:43.857 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:06:02 +0000 (0:00:01.332) 0:01:45.189 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:06:02 +0000 (0:00:00.031) 0:01:45.221 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:06:02 +0000 (0:00:00.031) 0:01:45.252 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:06:02 +0000 (0:00:00.029) 0:01:45.281 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:06:08 +0000 (0:00:06.359) 0:01:51.641 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:06:08 +0000 (0:00:00.027) 0:01:51.668 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:06:08 +0000 (0:00:00.034) 0:01:51.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:06:08 +0000 (0:00:00.051) 0:01:51.754 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:06:08 +0000 (0:00:00.065) 0:01:51.819 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.031) 0:01:51.851 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.033) 0:01:51.885 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.030) 0:01:51.915 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.027) 0:01:51.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.373) 0:01:52.316 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp85f3h9qf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:06:09 +0000 (0:00:00.299) 0:01:52.616 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.563) 0:01:53.179 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.032) 0:01:53.212 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.031) 0:01:53.243 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.030) 0:01:53.274 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.032) 0:01:53.307 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.214) 0:01:53.522 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.049) 0:01:53.571 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.076) 0:01:53.648 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.034) 0:01:53.682 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.029) 0:01:53.711 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:06:10 +0000 (0:00:00.030) 0:01:53.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 : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:12 +0000 (0:00:01.553) 0:01:55.295 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:06:13 +0000 (0:00:01.333) 0:01:56.629 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:06:13 +0000 (0:00:00.031) 0:01:56.661 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:06:13 +0000 (0:00:00.035) 0:01:56.696 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:06:13 +0000 (0:00:00.033) 0:01:56.730 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:06:19 +0000 (0:00:05.891) 0:02:02.622 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:06:19 +0000 (0:00:00.029) 0:02:02.651 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:06:19 +0000 (0:00:00.034) 0:02:02.685 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:06:19 +0000 (0:00:00.053) 0:02:02.739 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:06:19 +0000 (0:00:00.032) 0:02:02.772 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:06:19 +0000 (0:00:00.030) 0:02:02.802 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:06:20 +0000 (0:00:00.081) 0:02:02.883 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:06:20 +0000 (0:00:00.030) 0:02:02.914 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:06:20 +0000 (0:00:00.028) 0:02:02.943 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:06:20 +0000 (0:00:00.375) 0:02:03.318 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp203u91la" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:06:20 +0000 (0:00:00.307) 0:02:03.625 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.302) 0:02:03.928 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.030) 0:02:03.959 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.032) 0:02:03.991 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.031) 0:02:04.022 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.031) 0:02:04.053 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.212) 0:02:04.266 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.045) 0:02:04.312 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.051) 0:02:04.363 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.047) 0:02:04.411 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.102) 0:02:04.513 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.031) 0:02:04.545 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:06:21 +0000 (0:00:00.029) 0:02:04.575 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:24 +0000 (0:00:02.556) 0:02:07.132 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:06:25 +0000 (0:00:01.324) 0:02:08.456 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:06:25 +0000 (0:00:00.031) 0:02:08.488 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:06:25 +0000 (0:00:00.030) 0:02:08.519 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:06:25 +0000 (0:00:00.029) 0:02:08.548 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:06:31 +0000 (0:00:06.088) 0:02:14.637 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:06:31 +0000 (0:00:00.028) 0:02:14.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:06:31 +0000 (0:00:00.036) 0:02:14.702 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:06:31 +0000 (0:00:00.052) 0:02:14.755 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:06:31 +0000 (0:00:00.029) 0:02:14.784 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:06:31 +0000 (0:00:00.030) 0:02:14.815 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:06:32 +0000 (0:00:00.037) 0:02:14.853 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:06:32 +0000 (0:00:00.076) 0:02:14.929 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:06:32 +0000 (0:00:00.030) 0:02:14.959 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:06:32 +0000 (0:00:00.382) 0:02:15.342 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp2uq1xmnm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:06:32 +0000 (0:00:00.301) 0:02:15.643 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.290) 0:02:15.933 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.032) 0:02:15.965 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.031) 0:02:15.997 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.030) 0:02:16.027 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.031) 0:02:16.058 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.212) 0:02:16.270 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.045) 0:02:16.316 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.041) 0:02:16.357 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.028) 0:02:16.385 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.210) 0:02:16.596 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:06:33 +0000 (0:00:00.061) 0:02:16.657 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020201", "end": "2024-02-22 04:06:34.011169", "rc": 1, "start": "2024-02-22 04:06:33.990968" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.225) 0:02:16.882 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.030) 0:02:16.913 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.029) 0:02:16.943 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.031) 0:02:16.974 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.029) 0:02:17.003 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.029) 0:02:17.033 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.031) 0:02:17.065 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.034) 0:02:17.099 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.029) 0:02:17.129 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.047) 0:02:17.176 ***** 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.047647", "end": "2024-02-22 04:06:34.559780", "rc": 0, "start": "2024-02-22 04:06:34.512133" } 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_hotfixjy76u1gx/tests/playbooks/tests_states.yml:124 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.269) 0:02:17.445 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.101) 0:02:17.547 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.044) 0:02:17.592 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.111) 0:02:17.703 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.083) 0:02:17.787 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:06:34 +0000 (0:00:00.039) 0:02:17.827 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003199", "end": "2024-02-22 04:06:35.166038", "rc": 0, "start": "2024-02-22 04:06:35.162839" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.212) 0:02:18.039 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.031) 0:02:18.071 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.030) 0:02:18.101 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.048) 0:02:18.149 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.075) 0:02:18.225 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.069) 0:02:18.294 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.051) 0:02:18.346 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.035) 0:02:18.381 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:06:35 +0000 (0:00:00.034) 0:02:18.416 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:37 +0000 (0:00:01.562) 0:02:19.978 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:06:38 +0000 (0:00:01.403) 0:02:21.382 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:06:38 +0000 (0:00:00.032) 0:02:21.414 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:06:38 +0000 (0:00:00.029) 0:02:21.444 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:06:38 +0000 (0:00:00.030) 0:02:21.474 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:06:44 +0000 (0:00:05.945) 0:02:27.419 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.032) 0:02:27.451 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.036) 0:02:27.488 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.052) 0:02:27.541 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.030) 0:02:27.571 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.029) 0:02:27.601 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.035) 0:02:27.637 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.030) 0:02:27.668 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:06:44 +0000 (0:00:00.027) 0:02:27.695 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.374) 0:02:28.070 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp9x1ow1u0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.301) 0:02:28.371 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.330) 0:02:28.701 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.064) 0:02:28.766 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.031) 0:02:28.797 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:06:45 +0000 (0:00:00.031) 0:02:28.828 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.029) 0:02:28.858 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.212) 0:02:29.071 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.029) 0:02:29.100 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.049) 0:02:29.149 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.046) 0:02:29.196 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.034) 0:02:29.230 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.029) 0:02:29.260 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:06:46 +0000 (0:00:00.030) 0:02:29.290 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:48 +0000 (0:00:01.556) 0:02:30.847 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:06:49 +0000 (0:00:01.397) 0:02:32.244 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:06:49 +0000 (0:00:00.031) 0:02:32.276 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:06:49 +0000 (0:00:00.032) 0:02:32.308 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:06:49 +0000 (0:00:00.033) 0:02:32.342 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:06:55 +0000 (0:00:06.226) 0:02:38.568 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.030) 0:02:38.599 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.035) 0:02:38.635 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.054) 0:02:38.689 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.030) 0:02:38.719 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.029) 0:02:38.749 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.034) 0:02:38.784 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.029) 0:02:38.813 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:06:55 +0000 (0:00:00.027) 0:02:38.841 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:06:56 +0000 (0:00:00.376) 0:02:39.218 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmpugmpa4vs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:06:56 +0000 (0:00:00.307) 0:02:39.526 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.565) 0:02:40.091 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.030) 0:02:40.121 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.030) 0:02:40.152 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.070) 0:02:40.222 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.032) 0:02:40.254 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.245) 0:02:40.500 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.049) 0:02:40.550 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.045) 0:02:40.596 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.034) 0:02:40.630 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.029) 0:02:40.659 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:06:57 +0000 (0:00:00.030) 0:02:40.689 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:06:59 +0000 (0:00:01.552) 0:02:42.242 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:07:00 +0000 (0:00:01.323) 0:02:43.565 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:07:00 +0000 (0:00:00.029) 0:02:43.595 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:07:00 +0000 (0:00:00.031) 0:02:43.626 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:07:00 +0000 (0:00:00.064) 0:02:43.690 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:07:06 +0000 (0:00:05.816) 0:02:49.507 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.028) 0:02:49.536 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.034) 0:02:49.571 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.054) 0:02:49.625 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.030) 0:02:49.655 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.029) 0:02:49.685 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.034) 0:02:49.720 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.029) 0:02:49.749 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:07:06 +0000 (0:00:00.028) 0:02:49.778 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:07:07 +0000 (0:00:00.376) 0:02:50.154 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmp7z_droci" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:07:07 +0000 (0:00:00.300) 0:02:50.454 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:07:07 +0000 (0:00:00.309) 0:02:50.763 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:07:07 +0000 (0:00:00.030) 0:02:50.794 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:07:07 +0000 (0:00:00.031) 0:02:50.825 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.031) 0:02:50.857 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.029) 0:02:50.886 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.213) 0:02:51.100 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.082) 0:02:51.182 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.050) 0:02:51.233 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.049) 0:02:51.283 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.036) 0:02:51.319 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.030) 0:02:51.350 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:07:08 +0000 (0:00:00.029) 0:02:51.379 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:07:10 +0000 (0:00:01.550) 0:02:52.930 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:07:11 +0000 (0:00:01.330) 0:02:54.260 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:07:11 +0000 (0:00:00.033) 0:02:54.294 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:07:11 +0000 (0:00:00.032) 0:02:54.326 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:07:11 +0000 (0:00:00.033) 0:02:54.360 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:07:17 +0000 (0:00:06.466) 0:03:00.827 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.029) 0:03:00.856 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.034) 0:03:00.891 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.052) 0:03:00.943 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.030) 0:03:00.973 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.029) 0:03:01.003 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.036) 0:03:01.039 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.030) 0:03:01.070 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.027) 0:03:01.097 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.374) 0:03:01.472 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15175xbla80s2/tmpkll9xebn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:07:18 +0000 (0:00:00.300) 0:03:01.773 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.292) 0:03:02.065 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.034) 0:03:02.100 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.049) 0:03:02.150 ***** 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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.046) 0:03:02.196 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.033) 0:03:02.230 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.234) 0:03:02.465 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.118) 0:03:02.583 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.049) 0:03:02.633 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:07:19 +0000 (0:00:00.030) 0:03:02.663 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.207) 0:03:02.871 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.027) 0:03:02.899 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019795", "end": "2024-02-22 04:07:20.251294", "rc": 1, "start": "2024-02-22 04:07:20.231499" } 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.226) 0:03:03.125 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.030) 0:03:03.155 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.028) 0:03:03.184 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.028) 0:03:03.213 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.028) 0:03:03.242 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.028) 0:03:03.270 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 22 February 2024 04:07:20 +0000 (0:00:00.030) 0:03:03.301 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.935335", "end": "2024-02-22 04:07:21.602139", "rc": 0, "start": "2024-02-22 04:07:20.666804" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 22 February 2024 04:07:21 +0000 (0:00:01.181) 0:03:04.483 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 22 February 2024 04:07:21 +0000 (0:00:00.036) 0:03:04.519 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 04:07:21 +0000 (0:00:00.037) 0:03:04.556 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 04:07:21 +0000 (0:00:00.031) 0:03:04.588 ***** 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_hotfixjy76u1gx/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 04:07:21 +0000 (0:00:00.067) 0:03:04.656 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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_hotfixjy76u1gx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 04:07:21 +0000 (0:00:00.053) 0:03:04.709 ***** 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.044409", "end": "2024-02-22 04:07:22.120858", "rc": 0, "start": "2024-02-22 04:07:22.076449" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 04:07:22 +0000 (0:00:00.287) 0:03:04.997 ***** 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.009622", "end": "2024-02-22 04:07:22.340109", "rc": 0, "start": "2024-02-22 04:07:22.330487" } 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 12:bc:81:a9:9f:3d brd ff:ff:ff:ff:ff:ff inet 10.31.8.14/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3559sec preferred_lft 3559sec inet6 fe80::10bc:81ff:fea9:9f3d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.14 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.14 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 04:07:22 +0000 (0:00:00.219) 0:03:05.217 ***** 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.132980", "end": "2024-02-22 04:07:22.700067", "rc": 0, "start": "2024-02-22 04:07:22.567087" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 5350 0 --:--:-- --:--:-- --:--:-- 5350 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6062 0 --:--:-- --:--:-- --:--:-- 6062 PLAY RECAP ********************************************************************* sut : ok=350 changed=13 unreachable=0 failed=0 skipped=257 rescued=0 ignored=10 Thursday 22 February 2024 04:07:22 +0000 (0:00:00.397) 0:03:05.614 ***** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.66s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.48s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.47s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.41s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.36s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.23s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.14s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.09s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.96s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.95s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.95s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.93s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.93s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.89s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.82s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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.66s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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.58s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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_hotfixjy76u1gx/.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_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---