# 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_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/tests_states_initscripts.yml:5 Monday 19 February 2024 23:58:43 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tests_states_initscripts.yml:8 Monday 19 February 2024 23:58:45 +0000 (0:00:01.910) 0:00:01.922 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:58:45 +0000 (0:00:00.011) 0:00:01.933 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 23:58:45 +0000 (0:00:00.365) 0:00:02.298 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 23:58:45 +0000 (0:00:00.249) 0:00:02.547 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 23:58:45 +0000 (0:00:00.013) 0:00:02.561 ******* 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_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 23:58:45 +0000 (0:00:00.008) 0:00:02.570 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:58:45 +0000 (0:00:00.021) 0:00:02.591 ******* 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_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:58:45 +0000 (0:00:00.251) 0:00:02.843 ******* 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_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:58:45 +0000 (0:00:00.010) 0:00:02.853 ******* 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_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:58:45 +0000 (0:00:00.008) 0:00:02.861 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.258859", "end": "2024-02-19 23:58:46.406218", "rc": 0, "start": "2024-02-19 23:58:46.147359" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:58:46 +0000 (0:00:00.452) 0:00:03.314 ******* 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_hotfixd8i6_zc5/tests/tests_states_initscripts.yml:10 Monday 19 February 2024 23:58:46 +0000 (0:00:00.008) 0:00:03.322 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 23:58:46 +0000 (0:00:00.015) 0:00:03.338 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 23:58:47 +0000 (0:00:00.648) 0:00:03.987 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 23:58:47 +0000 (0:00:00.019) 0:00:04.006 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:47 +0000 (0:00:00.022) 0:00:04.028 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:47 +0000 (0:00:00.018) 0:00:04.046 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:47 +0000 (0:00:00.042) 0:00:04.088 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.020) 0:00:04.109 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.018) 0:00:04.127 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003504", "end": "2024-02-19 23:58:47.419549", "rc": 0, "start": "2024-02-19 23:58:47.416045" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:47 +0000 (0:00:00.199) 0:00:04.327 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:47 +0000 (0:00:00.019) 0:00:04.346 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:47 +0000 (0:00:00.022) 0:00:04.368 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.031) 0:00:04.400 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008462", "end": "2024-02-19 23:58:47.720307", "rc": 1, "start": "2024-02-19 23:58:47.711845" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.226) 0:00:04.626 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:47 +0000 (0:00:00.020) 0:00:04.647 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:58:47 +0000 (0:00:00.202) 0:00:04.850 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:58:47 +0000 (0:00:00.026) 0:00:04.876 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:58:48 +0000 (0:00:00.025) 0:00:04.902 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:58:48 +0000 (0:00:00.032) 0:00:04.934 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:48 +0000 (0:00:00.027) 0:00:04.962 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:58:48 +0000 (0:00:00.018) 0:00:04.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:58:48 +0000 (0:00:00.019) 0:00:05.000 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:58:48 +0000 (0:00:00.019) 0:00:05.019 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:58:49 +0000 (0:00:01.771) 0:00:06.791 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:58:51 +0000 (0:00:01.520) 0:00:08.311 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:58:51 +0000 (0:00:00.033) 0:00:08.345 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:58:51 +0000 (0:00:00.029) 0:00:08.375 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:58:51 +0000 (0:00:00.030) 0:00:08.405 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:58:51 +0000 (0:00:00.051) 0:00:08.456 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:58:51 +0000 (0:00:00.027) 0:00:08.484 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:58:51 +0000 (0:00:00.028) 0:00:08.512 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:58:51 +0000 (0:00:00.032) 0:00:08.544 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:58:51 +0000 (0:00:00.049) 0:00:08.594 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:58:51 +0000 (0:00:00.027) 0:00:08.622 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:58:52 +0000 (0:00:00.543) 0:00:09.166 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpdocq4o8z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:58:52 +0000 (0:00:00.317) 0:00:09.483 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:58:53 +0000 (0:00:00.427) 0:00:09.911 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:58:53 +0000 (0:00:00.030) 0:00:09.941 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:58:53 +0000 (0:00:00.029) 0:00:09.971 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:58:53 +0000 (0:00:00.029) 0:00:10.000 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:58:53 +0000 (0:00:00.027) 0:00:10.028 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:58:53 +0000 (0:00:00.313) 0:00:10.341 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:58:53 +0000 (0:00:00.050) 0:00:10.392 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:58:53 +0000 (0:00:00.057) 0:00:10.449 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:58:53 +0000 (0:00:00.042) 0:00:10.492 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:58:53 +0000 (0:00:00.063) 0:00:10.555 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387132.9897406, "block_size": 4096, "blocks": 8, "ctime": 1708387132.9897406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387132.9897406, "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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:58:53 +0000 (0:00:00.209) 0:00:10.765 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:58:53 +0000 (0:00:00.029) 0:00:10.794 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021357", "end": "2024-02-19 23:58:54.109080", "rc": 1, "start": "2024-02-19 23:58:54.087723" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:58:54 +0000 (0:00:00.231) 0:00:11.026 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:58:54 +0000 (0:00:00.032) 0:00:11.059 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003565", "end": "2024-02-19 23:58:54.357444", "rc": 0, "start": "2024-02-19 23:58:54.353879" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:58:54 +0000 (0:00:00.218) 0:00:11.277 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:58:54 +0000 (0:00:00.032) 0:00:11.310 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003451", "end": "2024-02-19 23:58:54.609658", "rc": 0, "start": "2024-02-19 23:58:54.606207" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:58:54 +0000 (0:00:00.218) 0:00:11.528 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:58:54 +0000 (0:00:00.033) 0:00:11.561 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:58:54 +0000 (0:00:00.030) 0:00:11.592 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:58:54 +0000 (0:00:00.032) 0:00:11.624 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:58:54 +0000 (0:00:00.029) 0:00:11.654 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:58:54 +0000 (0:00:00.029) 0:00:11.683 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:58:54 +0000 (0:00:00.030) 0:00:11.713 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:58:54 +0000 (0:00:00.043) 0:00:11.757 ******* 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.043256", "end": "2024-02-19 23:58:55.095169", "rc": 1, "start": "2024-02-19 23:58:55.051913" } 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_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 23:58:55 +0000 (0:00:00.257) 0:00:12.014 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:58:55 +0000 (0:00:00.084) 0:00:12.099 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:58:55 +0000 (0:00:00.032) 0:00:12.131 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:58:55 +0000 (0:00:00.057) 0:00:12.188 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.041) 0:00:12.230 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.039) 0:00:12.269 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2024-02-19 23:58:55.566152", "rc": 0, "start": "2024-02-19 23:58:55.562635" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:58:55 +0000 (0:00:00.214) 0:00:12.484 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:58:55 +0000 (0:00:00.029) 0:00:12.514 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:58:55 +0000 (0:00:00.028) 0:00:12.542 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.046) 0:00:12.588 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006540", "end": "2024-02-19 23:58:55.888989", "rc": 1, "start": "2024-02-19 23:58:55.882449" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.215) 0:00:12.804 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:58:55 +0000 (0:00:00.041) 0:00:12.846 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:58:56 +0000 (0:00:00.210) 0:00:13.056 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:58:56 +0000 (0:00:00.059) 0:00:13.115 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 23:58:56 +0000 (0:00:00.043) 0:00:13.159 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:58:56 +0000 (0:00:00.048) 0:00:13.207 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:58:56 +0000 (0:00:00.045) 0:00:13.252 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:58:56 +0000 (0:00:00.039) 0:00:13.292 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:58:56 +0000 (0:00:00.031) 0:00:13.323 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:58:56 +0000 (0:00:00.035) 0:00:13.358 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:58:58 +0000 (0:00:01.667) 0:00:15.026 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:58:59 +0000 (0:00:01.348) 0:00:16.374 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:58:59 +0000 (0:00:00.031) 0:00:16.406 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:58:59 +0000 (0:00:00.036) 0:00:16.442 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:58:59 +0000 (0:00:00.097) 0:00:16.540 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:58:59 +0000 (0:00:00.061) 0:00:16.602 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:58:59 +0000 (0:00:00.043) 0:00:16.645 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:58:59 +0000 (0:00:00.035) 0:00:16.680 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:58:59 +0000 (0:00:00.049) 0:00:16.729 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:58:59 +0000 (0:00:00.036) 0:00:16.766 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:58:59 +0000 (0:00:00.037) 0:00:16.803 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:00 +0000 (0:00:00.396) 0:00:17.200 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpv_603nos" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:00 +0000 (0:00:00.302) 0:00:17.503 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:00 +0000 (0:00:00.299) 0:00:17.802 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:00 +0000 (0:00:00.030) 0:00:17.833 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:00 +0000 (0:00:00.036) 0:00:17.869 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:01 +0000 (0:00:00.033) 0:00:17.903 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:01 +0000 (0:00:00.032) 0:00:17.935 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 23:59:01 +0000 (0:00:00.218) 0:00:18.153 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:01 +0000 (0:00:00.073) 0:00:18.226 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:59:01 +0000 (0:00:00.064) 0:00:18.291 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:59:01 +0000 (0:00:00.040) 0:00:18.332 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:59:01 +0000 (0:00:00.214) 0:00:18.546 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:59:01 +0000 (0:00:00.031) 0:00:18.578 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:01 +0000 (0:00:00.040) 0:00:18.618 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:01 +0000 (0:00:00.030) 0:00:18.649 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387140.8848565, "block_size": 4096, "blocks": 8, "ctime": 1708387140.8848565, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387140.8848565, "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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:01 +0000 (0:00:00.210) 0:00:18.859 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:02 +0000 (0:00:00.031) 0:00:18.891 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021382", "end": "2024-02-19 23:59:02.205677", "rc": 1, "start": "2024-02-19 23:59:02.184295" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:02 +0000 (0:00:00.231) 0:00:19.123 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:02 +0000 (0:00:00.028) 0:00:19.151 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003456", "end": "2024-02-19 23:59:02.446632", "rc": 0, "start": "2024-02-19 23:59:02.443176" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:02 +0000 (0:00:00.235) 0:00:19.387 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:02 +0000 (0:00:00.039) 0:00:19.426 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003509", "end": "2024-02-19 23:59:02.728336", "rc": 0, "start": "2024-02-19 23:59:02.724827" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:02 +0000 (0:00:00.219) 0:00:19.646 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:59:02 +0000 (0:00:00.088) 0:00:19.735 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:59:02 +0000 (0:00:00.036) 0:00:19.772 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:59:02 +0000 (0:00:00.032) 0:00:19.804 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:02 +0000 (0:00:00.031) 0:00:19.835 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:02 +0000 (0:00:00.027) 0:00:19.862 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:03 +0000 (0:00:00.037) 0:00:19.900 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:03 +0000 (0:00:00.044) 0:00:19.945 ******* 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.041665", "end": "2024-02-19 23:59:03.279326", "rc": 1, "start": "2024-02-19 23:59:03.237661" } 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_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 23:59:03 +0000 (0:00:00.251) 0:00:20.196 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:03 +0000 (0:00:00.049) 0:00:20.245 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:03 +0000 (0:00:00.031) 0:00:20.276 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:03 +0000 (0:00:00.052) 0:00:20.329 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:03 +0000 (0:00:00.038) 0:00:20.367 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:03 +0000 (0:00:00.039) 0:00:20.406 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003635", "end": "2024-02-19 23:59:03.702166", "rc": 0, "start": "2024-02-19 23:59:03.698531" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:03 +0000 (0:00:00.242) 0:00:20.649 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:03 +0000 (0:00:00.032) 0:00:20.682 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:03 +0000 (0:00:00.036) 0:00:20.718 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:03 +0000 (0:00:00.043) 0:00:20.762 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:03 +0000 (0:00:00.047) 0:00:20.810 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:03 +0000 (0:00:00.045) 0:00:20.855 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:04 +0000 (0:00:00.034) 0:00:20.889 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:04 +0000 (0:00:00.031) 0:00:20.921 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:04 +0000 (0:00:00.031) 0:00:20.952 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:05 +0000 (0:00:01.692) 0:00:22.645 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:07 +0000 (0:00:01.388) 0:00:24.033 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:07 +0000 (0:00:00.086) 0:00:24.120 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:07 +0000 (0:00:00.031) 0:00:24.151 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:07 +0000 (0:00:00.030) 0:00:24.181 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:07 +0000 (0:00:00.054) 0:00:24.235 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:07 +0000 (0:00:00.030) 0:00:24.266 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:07 +0000 (0:00:00.030) 0:00:24.296 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:07 +0000 (0:00:00.038) 0:00:24.335 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:07 +0000 (0:00:00.032) 0:00:24.367 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:07 +0000 (0:00:00.032) 0:00:24.399 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:07 +0000 (0:00:00.404) 0:00:24.804 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpfttrn0uu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:08 +0000 (0:00:00.341) 0:00:25.145 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:08 +0000 (0:00:00.348) 0:00:25.494 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:08 +0000 (0:00:00.041) 0:00:25.535 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:08 +0000 (0:00:00.035) 0:00:25.570 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:08 +0000 (0:00:00.036) 0:00:25.606 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:08 +0000 (0:00:00.032) 0:00:25.638 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:59:09 +0000 (0:00:00.252) 0:00:25.891 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:09 +0000 (0:00:00.032) 0:00:25.923 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.046) 0:00:25.970 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:09 +0000 (0:00:00.049) 0:00:26.019 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:09 +0000 (0:00:00.046) 0:00:26.066 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:09 +0000 (0:00:00.034) 0:00:26.101 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:09 +0000 (0:00:00.048) 0:00:26.150 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:09 +0000 (0:00:00.032) 0:00:26.182 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:11 +0000 (0:00:01.726) 0:00:27.909 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:12 +0000 (0:00:01.431) 0:00:29.340 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:12 +0000 (0:00:00.066) 0:00:29.407 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:12 +0000 (0:00:00.032) 0:00:29.439 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:12 +0000 (0:00:00.033) 0:00:29.473 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:12 +0000 (0:00:00.054) 0:00:29.528 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:12 +0000 (0:00:00.036) 0:00:29.565 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:12 +0000 (0:00:00.032) 0:00:29.597 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:12 +0000 (0:00:00.035) 0:00:29.633 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:12 +0000 (0:00:00.032) 0:00:29.665 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:12 +0000 (0:00:00.027) 0:00:29.693 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:13 +0000 (0:00:00.385) 0:00:30.078 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpskrrf12v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:13 +0000 (0:00:00.309) 0:00:30.388 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:14 +0000 (0:00:00.582) 0:00:30.971 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:14 +0000 (0:00:00.031) 0:00:31.003 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:14 +0000 (0:00:00.036) 0:00:31.039 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:14 +0000 (0:00:00.034) 0:00:31.074 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:14 +0000 (0:00:00.030) 0:00:31.104 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:14 +0000 (0:00:00.247) 0:00:31.352 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:59:14 +0000 (0:00:00.047) 0:00:31.399 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:59:14 +0000 (0:00:00.039) 0:00:31.439 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387153.9556265, "block_size": 4096, "blocks": 0, "ctime": 1708387153.9556265, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33038, "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": 1708387153.9556265, "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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:59:14 +0000 (0:00:00.212) 0:00:31.652 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:59:14 +0000 (0:00:00.031) 0:00:31.683 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:14 +0000 (0:00:00.040) 0:00:31.724 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:14 +0000 (0:00:00.029) 0:00:31.754 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387153.7730453, "block_size": 4096, "blocks": 8, "ctime": 1708387148.574969, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708387148.574969, "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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:15 +0000 (0:00:00.210) 0:00:31.964 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:15 +0000 (0:00:00.031) 0:00:31.995 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021574", "end": "2024-02-19 23:59:15.309055", "rc": 1, "start": "2024-02-19 23:59:15.287481" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:15 +0000 (0:00:00.230) 0:00:32.226 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:15 +0000 (0:00:00.029) 0:00:32.255 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003325", "end": "2024-02-19 23:59:15.556382", "rc": 0, "start": "2024-02-19 23:59:15.553057" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:15 +0000 (0:00:00.219) 0:00:32.475 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:15 +0000 (0:00:00.048) 0:00:32.523 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003437", "end": "2024-02-19 23:59:15.825586", "rc": 0, "start": "2024-02-19 23:59:15.822149" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:15 +0000 (0:00:00.237) 0:00:32.761 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:59:15 +0000 (0:00:00.092) 0:00:32.853 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:59:16 +0000 (0:00:00.041) 0:00:32.894 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:59:16 +0000 (0:00:00.038) 0:00:32.933 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:16 +0000 (0:00:00.032) 0:00:32.966 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:16 +0000 (0:00:00.037) 0:00:33.003 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:16 +0000 (0:00:00.051) 0:00:33.055 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:16 +0000 (0:00:00.046) 0:00:33.101 ******* 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.047993", "end": "2024-02-19 23:59:16.442555", "rc": 0, "start": "2024-02-19 23:59:16.394562" } 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_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 23:59:16 +0000 (0:00:00.270) 0:00:33.371 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:16 +0000 (0:00:00.044) 0:00:33.416 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:16 +0000 (0:00:00.030) 0:00:33.447 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:16 +0000 (0:00:00.054) 0:00:33.501 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:16 +0000 (0:00:00.040) 0:00:33.541 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:16 +0000 (0:00:00.038) 0:00:33.580 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003502", "end": "2024-02-19 23:59:16.877342", "rc": 0, "start": "2024-02-19 23:59:16.873840" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:16 +0000 (0:00:00.256) 0:00:33.837 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:16 +0000 (0:00:00.032) 0:00:33.870 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:17 +0000 (0:00:00.029) 0:00:33.900 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:17 +0000 (0:00:00.049) 0:00:33.949 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:17 +0000 (0:00:00.060) 0:00:34.010 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:17 +0000 (0:00:00.049) 0:00:34.059 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:17 +0000 (0:00:00.034) 0:00:34.094 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:17 +0000 (0:00:00.031) 0:00:34.125 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:17 +0000 (0:00:00.029) 0:00:34.155 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:18 +0000 (0:00:01.697) 0:00:35.853 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:20 +0000 (0:00:01.369) 0:00:37.223 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:20 +0000 (0:00:00.134) 0:00:37.358 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:20 +0000 (0:00:00.031) 0:00:37.390 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:20 +0000 (0:00:00.029) 0:00:37.420 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:20 +0000 (0:00:00.053) 0:00:37.473 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:20 +0000 (0:00:00.030) 0:00:37.504 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:20 +0000 (0:00:00.031) 0:00:37.535 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:20 +0000 (0:00:00.037) 0:00:37.572 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:20 +0000 (0:00:00.031) 0:00:37.603 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:20 +0000 (0:00:00.029) 0:00:37.633 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:21 +0000 (0:00:00.384) 0:00:38.017 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpd6s4q42a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:21 +0000 (0:00:00.305) 0:00:38.322 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:21 +0000 (0:00:00.301) 0:00:38.624 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:21 +0000 (0:00:00.033) 0:00:38.657 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:21 +0000 (0:00:00.032) 0:00:38.689 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:21 +0000 (0:00:00.031) 0:00:38.721 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:21 +0000 (0:00:00.032) 0:00:38.754 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:59:22 +0000 (0:00:00.245) 0:00:38.999 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:59:22 +0000 (0:00:00.030) 0:00:39.030 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:22 +0000 (0:00:00.047) 0:00:39.078 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:22 +0000 (0:00:00.046) 0:00:39.124 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:22 +0000 (0:00:00.033) 0:00:39.157 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:22 +0000 (0:00:00.031) 0:00:39.189 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:22 +0000 (0:00:00.033) 0:00:39.223 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:24 +0000 (0:00:01.691) 0:00:40.915 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:25 +0000 (0:00:01.347) 0:00:42.262 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:25 +0000 (0:00:00.030) 0:00:42.292 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:25 +0000 (0:00:00.030) 0:00:42.322 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:25 +0000 (0:00:00.030) 0:00:42.352 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:25 +0000 (0:00:00.122) 0:00:42.475 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:25 +0000 (0:00:00.034) 0:00:42.509 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:25 +0000 (0:00:00.048) 0:00:42.557 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:25 +0000 (0:00:00.042) 0:00:42.599 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:25 +0000 (0:00:00.031) 0:00:42.631 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:25 +0000 (0:00:00.028) 0:00:42.660 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:26 +0000 (0:00:00.393) 0:00:43.054 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpf1ttm0fx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:26 +0000 (0:00:00.351) 0:00:43.405 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:27 +0000 (0:00:00.567) 0:00:43.972 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:27 +0000 (0:00:00.033) 0:00:44.005 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:27 +0000 (0:00:00.034) 0:00:44.040 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:27 +0000 (0:00:00.034) 0:00:44.074 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:27 +0000 (0:00:00.036) 0:00:44.110 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:27 +0000 (0:00:00.214) 0:00:44.325 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:59:27 +0000 (0:00:00.086) 0:00:44.411 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:27 +0000 (0:00:00.059) 0:00:44.471 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:27 +0000 (0:00:00.055) 0:00:44.526 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:27 +0000 (0:00:00.036) 0:00:44.563 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:27 +0000 (0:00:00.031) 0:00:44.594 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:27 +0000 (0:00:00.030) 0:00:44.624 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:29 +0000 (0:00:01.666) 0:00:46.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 : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:30 +0000 (0:00:01.347) 0:00:47.638 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:30 +0000 (0:00:00.039) 0:00:47.678 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:30 +0000 (0:00:00.034) 0:00:47.712 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:30 +0000 (0:00:00.041) 0:00:47.754 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:30 +0000 (0:00:00.064) 0:00:47.818 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:31 +0000 (0:00:00.084) 0:00:47.903 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:31 +0000 (0:00:00.040) 0:00:47.943 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:31 +0000 (0:00:00.044) 0:00:47.988 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:31 +0000 (0:00:00.041) 0:00:48.029 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:31 +0000 (0:00:00.038) 0:00:48.068 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:31 +0000 (0:00:00.409) 0:00:48.477 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpqpaq_d0j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:31 +0000 (0:00:00.338) 0:00:48.816 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:32 +0000 (0:00:00.319) 0:00:49.135 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:32 +0000 (0:00:00.034) 0:00:49.170 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:32 +0000 (0:00:00.034) 0:00:49.205 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:32 +0000 (0:00:00.033) 0:00:49.238 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:32 +0000 (0:00:00.034) 0:00:49.272 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:32 +0000 (0:00:00.218) 0:00:49.490 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:59:32 +0000 (0:00:00.046) 0:00:49.537 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:59:32 +0000 (0:00:00.079) 0:00:49.617 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387166.966523, "block_size": 4096, "blocks": 0, "ctime": 1708387166.966523, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33169, "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": 1708387166.966523, "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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:59:32 +0000 (0:00:00.219) 0:00:49.836 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:59:32 +0000 (0:00:00.032) 0:00:49.868 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:33 +0000 (0:00:00.043) 0:00:49.912 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:33 +0000 (0:00:00.030) 0:00:49.942 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:33 +0000 (0:00:00.215) 0:00:50.158 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:33 +0000 (0:00:00.032) 0:00:50.190 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021526", "end": "2024-02-19 23:59:33.518697", "rc": 1, "start": "2024-02-19 23:59:33.497171" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:33 +0000 (0:00:00.245) 0:00:50.435 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:33 +0000 (0:00:00.030) 0:00:50.466 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:33 +0000 (0:00:00.029) 0:00:50.495 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:33 +0000 (0:00:00.030) 0:00:50.525 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:33 +0000 (0:00:00.030) 0:00:50.556 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:59:33 +0000 (0:00:00.028) 0:00:50.585 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:33 +0000 (0:00:00.032) 0:00:50.618 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:33 +0000 (0:00:00.029) 0:00:50.648 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:33 +0000 (0:00:00.030) 0:00:50.678 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:33 +0000 (0:00:00.087) 0:00:50.766 ******* 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.048161", "end": "2024-02-19 23:59:34.118497", "rc": 0, "start": "2024-02-19 23:59:34.070336" } 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_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:102 Monday 19 February 2024 23:59:34 +0000 (0:00:00.272) 0:00:51.038 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:34 +0000 (0:00:00.044) 0:00:51.082 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:34 +0000 (0:00:00.037) 0:00:51.120 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:34 +0000 (0:00:00.063) 0:00:51.183 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:34 +0000 (0:00:00.049) 0:00:51.232 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:34 +0000 (0:00:00.043) 0:00:51.276 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003665", "end": "2024-02-19 23:59:34.593119", "rc": 0, "start": "2024-02-19 23:59:34.589454" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:34 +0000 (0:00:00.233) 0:00:51.510 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:34 +0000 (0:00:00.032) 0:00:51.542 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:34 +0000 (0:00:00.030) 0:00:51.572 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:34 +0000 (0:00:00.050) 0:00:51.623 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:34 +0000 (0:00:00.076) 0:00:51.699 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:34 +0000 (0:00:00.046) 0:00:51.746 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:34 +0000 (0:00:00.035) 0:00:51.781 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:34 +0000 (0:00:00.030) 0:00:51.812 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:34 +0000 (0:00:00.033) 0:00:51.846 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:36 +0000 (0:00:01.697) 0:00:53.543 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:37 +0000 (0:00:01.342) 0:00:54.886 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:38 +0000 (0:00:00.031) 0:00:54.917 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:38 +0000 (0:00:00.030) 0:00:54.947 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:38 +0000 (0:00:00.031) 0:00:54.978 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:38 +0000 (0:00:00.053) 0:00:55.032 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:38 +0000 (0:00:00.033) 0:00:55.065 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:38 +0000 (0:00:00.065) 0:00:55.131 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:38 +0000 (0:00:00.035) 0:00:55.167 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:38 +0000 (0:00:00.032) 0:00:55.199 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:38 +0000 (0:00:00.028) 0:00:55.228 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:38 +0000 (0:00:00.384) 0:00:55.612 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpntq5l1v_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:39 +0000 (0:00:00.309) 0:00:55.921 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:39 +0000 (0:00:00.301) 0:00:56.223 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:39 +0000 (0:00:00.030) 0:00:56.253 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:39 +0000 (0:00:00.031) 0:00:56.285 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:39 +0000 (0:00:00.032) 0:00:56.317 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:39 +0000 (0:00:00.032) 0:00:56.350 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:59:39 +0000 (0:00:00.221) 0:00:56.571 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:59:39 +0000 (0:00:00.036) 0:00:56.607 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:39 +0000 (0:00:00.050) 0:00:56.657 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:39 +0000 (0:00:00.100) 0:00:56.757 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:39 +0000 (0:00:00.047) 0:00:56.805 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:39 +0000 (0:00:00.045) 0:00:56.851 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:39 +0000 (0:00:00.033) 0:00:56.884 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:41 +0000 (0:00:01.706) 0:00:58.591 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:43 +0000 (0:00:01.343) 0:00:59.935 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:43 +0000 (0:00:00.031) 0:00:59.967 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:43 +0000 (0:00:00.031) 0:00:59.998 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:43 +0000 (0:00:00.030) 0:01:00.029 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:43 +0000 (0:00:00.052) 0:01:00.082 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:43 +0000 (0:00:00.031) 0:01:00.114 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:43 +0000 (0:00:00.030) 0:01:00.144 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:43 +0000 (0:00:00.035) 0:01:00.179 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:43 +0000 (0:00:00.033) 0:01:00.213 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:43 +0000 (0:00:00.072) 0:01:00.285 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:43 +0000 (0:00:00.386) 0:01:00.671 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpxbrsan5_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:44 +0000 (0:00:00.314) 0:01:00.986 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:44 +0000 (0:00:00.570) 0:01:01.557 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:44 +0000 (0:00:00.030) 0:01:01.587 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:44 +0000 (0:00:00.030) 0:01:01.618 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:44 +0000 (0:00:00.031) 0:01:01.649 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:44 +0000 (0:00:00.029) 0:01:01.679 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:59:45 +0000 (0:00:00.220) 0:01:01.900 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:45 +0000 (0:00:00.052) 0:01:01.952 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:45 +0000 (0:00:00.050) 0:01:02.003 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:45 +0000 (0:00:00.037) 0:01:02.041 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:45 +0000 (0:00:00.033) 0:01:02.074 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:45 +0000 (0:00:00.033) 0:01:02.107 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:46 +0000 (0:00:01.754) 0:01:03.862 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:48 +0000 (0:00:01.344) 0:01:05.206 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:48 +0000 (0:00:00.031) 0:01:05.238 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:48 +0000 (0:00:00.030) 0:01:05.268 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:48 +0000 (0:00:00.030) 0:01:05.299 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:48 +0000 (0:00:00.054) 0:01:05.354 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:48 +0000 (0:00:00.032) 0:01:05.386 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:48 +0000 (0:00:00.032) 0:01:05.419 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:48 +0000 (0:00:00.044) 0:01:05.463 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:48 +0000 (0:00:00.037) 0:01:05.501 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:48 +0000 (0:00:00.029) 0:01:05.531 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:49 +0000 (0:00:00.382) 0:01:05.913 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpx4g7s2cb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:49 +0000 (0:00:00.309) 0:01:06.222 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:49 +0000 (0:00:00.352) 0:01:06.575 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:49 +0000 (0:00:00.074) 0:01:06.649 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:49 +0000 (0:00:00.035) 0:01:06.685 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:49 +0000 (0:00:00.038) 0:01:06.723 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:49 +0000 (0:00:00.033) 0:01:06.757 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:59:50 +0000 (0:00:00.218) 0:01:06.975 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:59:50 +0000 (0:00:00.048) 0:01:07.024 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:50 +0000 (0:00:00.050) 0:01:07.074 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:50 +0000 (0:00:00.048) 0:01:07.123 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:50 +0000 (0:00:00.035) 0:01:07.158 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:50 +0000 (0:00:00.032) 0:01:07.191 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:50 +0000 (0:00:00.040) 0:01:07.232 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:52 +0000 (0:00:01.694) 0:01:08.926 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:59:53 +0000 (0:00:01.411) 0:01:10.338 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:59:53 +0000 (0:00:00.033) 0:01:10.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:59:53 +0000 (0:00:00.030) 0:01:10.401 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:59:53 +0000 (0:00:00.031) 0:01:10.433 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:59:53 +0000 (0:00:00.052) 0:01:10.486 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:59:53 +0000 (0:00:00.029) 0:01:10.516 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:59:53 +0000 (0:00:00.032) 0:01:10.548 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:59:53 +0000 (0:00:00.035) 0:01:10.583 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:59:53 +0000 (0:00:00.029) 0:01:10.613 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:59:53 +0000 (0:00:00.029) 0:01:10.643 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:59:54 +0000 (0:00:00.383) 0:01:11.027 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpzixo14r5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:59:54 +0000 (0:00:00.301) 0:01:11.328 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:59:54 +0000 (0:00:00.300) 0:01:11.629 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:59:54 +0000 (0:00:00.030) 0:01:11.660 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:59:54 +0000 (0:00:00.031) 0:01:11.691 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:59:54 +0000 (0:00:00.066) 0:01:11.758 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:59:54 +0000 (0:00:00.031) 0:01:11.790 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:59:55 +0000 (0:00:00.222) 0:01:12.013 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:59:55 +0000 (0:00:00.045) 0:01:12.058 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:59:55 +0000 (0:00:00.041) 0:01:12.100 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:59:55 +0000 (0:00:00.030) 0:01:12.131 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:59:55 +0000 (0:00:00.212) 0:01:12.344 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:59:55 +0000 (0:00:00.040) 0:01:12.384 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021021", "end": "2024-02-19 23:59:55.701643", "rc": 1, "start": "2024-02-19 23:59:55.680622" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:59:55 +0000 (0:00:00.236) 0:01:12.621 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:59:55 +0000 (0:00:00.029) 0:01:12.650 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:59:55 +0000 (0:00:00.029) 0:01:12.680 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:59:55 +0000 (0:00:00.034) 0:01:12.715 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:59:55 +0000 (0:00:00.033) 0:01:12.749 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:59:55 +0000 (0:00:00.031) 0:01:12.780 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:59:55 +0000 (0:00:00.097) 0:01:12.878 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:59:56 +0000 (0:00:00.034) 0:01:12.913 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:59:56 +0000 (0:00:00.032) 0:01:12.946 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:59:56 +0000 (0:00:00.048) 0:01:12.994 ******* 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.049835", "end": "2024-02-19 23:59:56.356535", "rc": 0, "start": "2024-02-19 23:59:56.306700" } 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_hotfixd8i6_zc5/tests/playbooks/tests_states.yml:124 Monday 19 February 2024 23:59:56 +0000 (0:00:00.280) 0:01:13.275 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:59:56 +0000 (0:00:00.042) 0:01:13.318 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:59:56 +0000 (0:00:00.030) 0:01:13.348 ******* 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:59:56 +0000 (0:00:00.062) 0:01:13.411 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:59:56 +0000 (0:00:00.042) 0:01:13.453 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:59:56 +0000 (0:00:00.042) 0:01:13.496 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003656", "end": "2024-02-19 23:59:56.791340", "rc": 0, "start": "2024-02-19 23:59:56.787684" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:59:56 +0000 (0:00:00.215) 0:01:13.711 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:59:56 +0000 (0:00:00.037) 0:01:13.749 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:59:56 +0000 (0:00:00.071) 0:01:13.820 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:59:56 +0000 (0:00:00.048) 0:01:13.869 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:59:57 +0000 (0:00:00.048) 0:01:13.918 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:59:57 +0000 (0:00:00.046) 0:01:13.964 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:59:57 +0000 (0:00:00.043) 0:01:14.008 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:59:57 +0000 (0:00:00.042) 0:01:14.050 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:59:57 +0000 (0:00:00.064) 0:01:14.114 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:59:58 +0000 (0:00:01.685) 0:01:15.799 ******* 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 00:00:00 +0000 (0:00:01.343) 0:01:17.143 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.032) 0:01:17.175 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.030) 0:01:17.206 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.068) 0:01:17.275 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.053) 0:01:17.329 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.033) 0:01:17.362 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.032) 0:01:17.395 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.036) 0:01:17.431 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.037) 0:01:17.469 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 20 February 2024 00:00:00 +0000 (0:00:00.035) 0:01:17.504 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.418) 0:01:17.922 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmp_0vnkr43" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.314) 0:01:18.237 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.310) 0:01:18.548 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.041) 0:01:18.589 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.042) 0:01:18.631 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.036) 0:01:18.668 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 20 February 2024 00:00:01 +0000 (0:00:00.039) 0:01:18.707 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.226) 0:01:18.933 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.031) 0:01:18.965 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.094) 0:01:19.060 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.053) 0:01:19.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.036) 0:01:19.150 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.046) 0:01:19.197 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 00:00:02 +0000 (0:00:00.034) 0:01:19.232 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 00:00:04 +0000 (0:00:01.721) 0:01:20.953 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 00:00:05 +0000 (0:00:01.348) 0:01:22.301 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.032) 0:01:22.334 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.031) 0:01:22.366 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.032) 0:01:22.398 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.054) 0:01:22.452 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.033) 0:01:22.486 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.074) 0:01:22.561 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.036) 0:01:22.597 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.034) 0:01:22.631 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 20 February 2024 00:00:05 +0000 (0:00:00.030) 0:01:22.662 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 20 February 2024 00:00:06 +0000 (0:00:00.384) 0:01:23.046 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmp9wq6ituo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 20 February 2024 00:00:06 +0000 (0:00:00.313) 0:01:23.360 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.583) 0:01:23.943 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.031) 0:01:23.974 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.031) 0:01:24.005 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.032) 0:01:24.037 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.030) 0:01:24.068 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.216) 0:01:24.285 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.048) 0:01:24.333 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.046) 0:01:24.380 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.103) 0:01:24.483 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.032) 0:01:24.516 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 00:00:07 +0000 (0:00:00.030) 0:01:24.547 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 00:00:09 +0000 (0:00:01.692) 0:01:26.239 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 00:00:10 +0000 (0:00:01.347) 0:01:27.587 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.032) 0:01:27.619 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.030) 0:01:27.650 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.031) 0:01:27.681 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.055) 0:01:27.736 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.032) 0:01:27.769 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.036) 0:01:27.805 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.038) 0:01:27.844 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 20 February 2024 00:00:10 +0000 (0:00:00.034) 0:01:27.879 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 20 February 2024 00:00:11 +0000 (0:00:00.028) 0:01:27.907 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 20 February 2024 00:00:11 +0000 (0:00:00.475) 0:01:28.383 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpbclwbjez" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 20 February 2024 00:00:11 +0000 (0:00:00.317) 0:01:28.700 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.326) 0:01:29.027 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.034) 0:01:29.061 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.038) 0:01:29.099 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.036) 0:01:29.136 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.041) 0:01:29.177 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.232) 0:01:29.409 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.046) 0:01:29.456 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.050) 0:01:29.506 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.048) 0:01:29.555 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.036) 0:01:29.591 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.031) 0:01:29.623 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 00:00:12 +0000 (0:00:00.081) 0:01:29.705 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 00:00:14 +0000 (0:00:01.713) 0:01:31.418 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 00:00:15 +0000 (0:00:01.337) 0:01:32.756 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 00:00:15 +0000 (0:00:00.031) 0:01:32.788 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 00:00:15 +0000 (0:00:00.031) 0:01:32.820 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 00:00:15 +0000 (0:00:00.032) 0:01:32.853 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.056) 0:01:32.909 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.034) 0:01:32.944 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.033) 0:01:32.978 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.037) 0:01:33.015 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.035) 0:01:33.051 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.032) 0:01:33.083 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.391) 0:01:33.474 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11889z2tawpif/tmpwsd690tk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 20 February 2024 00:00:16 +0000 (0:00:00.306) 0:01:33.781 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.389) 0:01:34.171 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.032) 0:01:34.203 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.031) 0:01:34.234 ****** 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_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.032) 0:01:34.267 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.032) 0:01:34.299 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.218) 0:01:34.517 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.050) 0:01:34.568 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.044) 0:01:34.612 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.032) 0:01:34.645 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.207) 0:01:34.852 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:00:17 +0000 (0:00:00.027) 0:01:34.879 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021024", "end": "2024-02-20 00:00:18.195081", "rc": 1, "start": "2024-02-20 00:00:18.174057" } 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.232) 0:01:35.111 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.028) 0:01:35.140 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.027) 0:01:35.167 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.061) 0:01:35.229 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.029) 0:01:35.258 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.028) 0:01:35.286 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 00:00:18 +0000 (0:00:00.029) 0:01:35.316 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.946299", "end": "2024-02-20 00:00:19.553102", "rc": 0, "start": "2024-02-20 00:00:18.606803" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 00:00:19 +0000 (0:00:01.154) 0:01:36.471 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 00:00:19 +0000 (0:00:00.031) 0:01:36.502 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:00:19 +0000 (0:00:00.033) 0:01:36.536 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:00:19 +0000 (0:00:00.034) 0:01:36.570 ****** 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_hotfixd8i6_zc5/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:00:19 +0000 (0:00:00.029) 0:01:36.600 ****** included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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_hotfixd8i6_zc5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:00:19 +0000 (0:00:00.049) 0:01:36.649 ****** 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.050000", "end": "2024-02-20 00:00:19.990628", "rc": 0, "start": "2024-02-20 00:00:19.940628" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 00:00:20 +0000 (0:00:00.261) 0:01:36.910 ****** 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.009945", "end": "2024-02-20 00:00:20.218224", "rc": 0, "start": "2024-02-20 00:00:20.208279" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:e4:da:d5:da:e5 brd ff:ff:ff:ff:ff:ff inet 10.31.15.85/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2171sec preferred_lft 2171sec inet6 fe80::8e4:daff:fed5:dae5/64 scope link valid_lft forever preferred_lft forever 42: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:68:78:6c:1f:12 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.85 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.85 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 00:00:20 +0000 (0:00:00.225) 0:01:37.136 ****** 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.319282", "end": "2024-02-20 00:00:20.756467", "rc": 0, "start": "2024-02-20 00:00:20.437185" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 5258 0 --:--:-- --:--:-- --:--:-- 5258 % 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 1243 0 --:--:-- --:--:-- --:--:-- 1243 PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Tuesday 20 February 2024 00:00:20 +0000 (0:00:00.573) 0:01:37.710 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.91s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tests_states_initscripts.yml:5 ---- fedora.linux_system_roles.network : Check which services are running ---- 1.77s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.67s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.67s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---