# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tests_states_nm.yml:6 Monday 19 February 2024 22:15:50 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tests_states_nm.yml:9 Monday 19 February 2024 22:15:50 +0000 (0:00:00.573) 0:00:00.585 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 22:15:50 +0000 (0:00:00.021) 0:00:00.606 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 22:15:51 +0000 (0:00:00.226) 0:00:00.833 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 22:15:51 +0000 (0:00:00.194) 0:00:01.027 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 22:15:51 +0000 (0:00:00.021) 0:00:01.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 22:15:51 +0000 (0:00:00.036) 0:00:01.086 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 22:15:51 +0000 (0:00:00.043) 0:00:01.129 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 22:15:51 +0000 (0:00:00.191) 0:00:01.321 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 22:15:52 +0000 (0:00:00.481) 0:00:01.802 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.180285", "end": "2024-02-19 22:15:52.333396", "rc": 0, "start": "2024-02-19 22:15:52.153111" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 22:15:52 +0000 (0:00:00.301) 0:00:02.104 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 22:15:52 +0000 (0:00:00.010) 0:00:02.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/tests_states_nm.yml:11 Monday 19 February 2024 22:15:52 +0000 (0:00:00.010) 0:00:02.125 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 22:15:52 +0000 (0:00:00.010) 0:00:02.136 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 22:15:52 +0000 (0:00:00.367) 0:00:02.503 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 22:15:52 +0000 (0:00:00.011) 0:00:02.514 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:15:52 +0000 (0:00:00.016) 0:00:02.531 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:15:52 +0000 (0:00:00.010) 0:00:02.542 ******* 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": true, "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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:15:52 +0000 (0:00:00.032) 0:00:02.575 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:52 +0000 (0:00:00.015) 0:00:02.590 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:52 +0000 (0:00:00.013) 0:00:02.604 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2024-02-19 22:15:52.958619", "rc": 0, "start": "2024-02-19 22:15:52.954938" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:52 +0000 (0:00:00.147) 0:00:02.752 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:53 +0000 (0:00:00.028) 0:00:02.780 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:15:53 +0000 (0:00:00.035) 0:00:02.815 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:15:53 +0000 (0:00:00.040) 0:00:02.856 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011864", "end": "2024-02-19 22:15:53.243704", "rc": 1, "start": "2024-02-19 22:15:53.231840" } 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_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:53 +0000 (0:00:00.156) 0:00:03.013 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:53 +0000 (0:00:00.015) 0:00:03.028 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:53 +0000 (0:00:00.121) 0:00:03.150 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:15:53 +0000 (0:00:00.012) 0:00:03.163 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:15:53 +0000 (0:00:00.018) 0:00:03.181 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:15:53 +0000 (0:00:00.032) 0:00:03.214 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:15:53 +0000 (0:00:00.068) 0:00:03.282 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:15:53 +0000 (0:00:00.012) 0:00:03.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:15:53 +0000 (0:00:00.010) 0:00:03.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:15:53 +0000 (0:00:00.009) 0:00:03.315 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:15:54 +0000 (0:00:00.893) 0:00:04.208 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:15:55 +0000 (0:00:01.195) 0:00:05.403 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:15:55 +0000 (0:00:00.024) 0:00:05.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:15:55 +0000 (0:00:00.027) 0:00:05.455 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:15:55 +0000 (0:00:00.022) 0:00:05.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:15:55 +0000 (0:00:00.081) 0:00:05.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:15:55 +0000 (0:00:00.033) 0:00:05.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:15:55 +0000 (0:00:00.066) 0:00:05.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:15:55 +0000 (0:00:00.033) 0:00:05.691 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:15:56 +0000 (0:00:00.438) 0:00:06.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:15:56 +0000 (0:00:00.036) 0:00:06.166 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:15:56 +0000 (0:00:00.052) 0:00:06.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:15:56 +0000 (0:00:00.023) 0:00:06.243 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:15:56 +0000 (0:00:00.487) 0:00:06.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:15:56 +0000 (0:00:00.021) 0:00:06.751 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:15:57 +0000 (0:00:00.028) 0:00:06.780 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:15:57 +0000 (0:00:00.047) 0:00:06.827 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:15:57 +0000 (0:00:00.020) 0:00:06.848 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:15:57 +0000 (0:00:00.194) 0:00:07.042 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0af4ca8-bfb9-4a46-863c-640767f11673" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:15:57 +0000 (0:00:00.022) 0:00:07.065 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:15:57 +0000 (0:00:00.038) 0:00:07.104 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:15:57 +0000 (0:00:00.036) 0:00:07.141 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:15:57 +0000 (0:00:00.023) 0:00:07.164 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380956.9558296, "block_size": 4096, "blocks": 8, "ctime": 1708380956.8728323, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380956.8728323, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:15:57 +0000 (0:00:00.155) 0:00:07.319 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:15:57 +0000 (0:00:00.025) 0:00:07.344 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026107", "end": "2024-02-19 22:15:57.730049", "rc": 0, "start": "2024-02-19 22:15:57.703942" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:15:57 +0000 (0:00:00.171) 0:00:07.516 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:15:57 +0000 (0:00:00.033) 0:00:07.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:15:57 +0000 (0:00:00.027) 0:00:07.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:15:57 +0000 (0:00:00.024) 0:00:07.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:15:57 +0000 (0:00:00.030) 0:00:07.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:15:57 +0000 (0:00:00.023) 0:00:07.655 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:15:57 +0000 (0:00:00.056) 0:00:07.711 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:15:57 +0000 (0:00:00.023) 0:00:07.735 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:15:58 +0000 (0:00:00.022) 0:00:07.757 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.041) 0:00:07.799 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.034) 0:00:07.833 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380956.876832, "block_size": 4096, "blocks": 0, "ctime": 1708380956.875832, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17624, "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": 1708380956.875832, "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_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:15:58 +0000 (0:00:00.142) 0:00:07.976 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:15:58 +0000 (0:00:00.022) 0:00:07.999 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:15:58 +0000 (0:00:00.020) 0:00:08.019 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.039) 0:00:08.059 ******* 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.090568", "end": "2024-02-19 22:15:58.511125", "rc": 1, "start": "2024-02-19 22:15:58.420557" } STDOUT: Connection 'statebr' (a0af4ca8-bfb9-4a46-863c-640767f11673) successfully deleted. STDERR: (process:29788): GLib-GIO-WARNING **: 22:15:58.484: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/42 but no object proxy exists (process:29788): GLib-GIO-WARNING **: 22:15:58.484: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/75 but no object proxy exists (process:29788): GLib-GIO-WARNING **: 22:15:58.484: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 22:15:58 +0000 (0:00:00.233) 0:00:08.293 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:15:58 +0000 (0:00:00.039) 0:00:08.332 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:15:58 +0000 (0:00:00.030) 0:00:08.363 ******* 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" } 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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:15:58 +0000 (0:00:00.043) 0:00:08.406 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.059) 0:00:08.466 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.035) 0:00:08.501 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004322", "end": "2024-02-19 22:15:58.864291", "rc": 0, "start": "2024-02-19 22:15:58.859969" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:58 +0000 (0:00:00.145) 0:00:08.647 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:58 +0000 (0:00:00.024) 0:00:08.672 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:15:58 +0000 (0:00:00.024) 0:00:08.696 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:15:58 +0000 (0:00:00.053) 0:00:08.750 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007917", "end": "2024-02-19 22:15:59.144248", "rc": 1, "start": "2024-02-19 22:15:59.136331" } 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_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:59 +0000 (0:00:00.174) 0:00:08.925 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:59 +0000 (0:00:00.034) 0:00:08.959 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:59 +0000 (0:00:00.146) 0:00:09.106 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:15:59 +0000 (0:00:00.025) 0:00:09.131 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 22:15:59 +0000 (0:00:00.040) 0:00:09.172 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:15:59 +0000 (0:00:00.065) 0:00:09.237 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:15:59 +0000 (0:00:00.038) 0:00:09.276 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:15:59 +0000 (0:00:00.025) 0:00:09.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:15:59 +0000 (0:00:00.021) 0:00:09.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:15:59 +0000 (0:00:00.022) 0:00:09.345 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:00 +0000 (0:00:00.775) 0:00:10.121 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:01 +0000 (0:00:01.030) 0:00:11.151 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:01 +0000 (0:00:00.031) 0:00:11.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:01 +0000 (0:00:00.058) 0:00:11.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:01 +0000 (0:00:00.021) 0:00:11.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:01 +0000 (0:00:00.043) 0:00:11.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:01 +0000 (0:00:00.022) 0:00:11.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:01 +0000 (0:00:00.037) 0:00:11.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:01 +0000 (0:00:00.032) 0:00:11.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:01 +0000 (0:00:00.264) 0:00:11.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:01 +0000 (0:00:00.040) 0:00:11.705 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:01 +0000 (0:00:00.035) 0:00:11.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:02 +0000 (0:00:00.028) 0:00:11.769 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:02 +0000 (0:00:00.320) 0:00:12.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:02 +0000 (0:00:00.024) 0:00:12.115 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:02 +0000 (0:00:00.024) 0:00:12.140 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:02 +0000 (0:00:00.023) 0:00:12.163 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:02 +0000 (0:00:00.021) 0:00:12.184 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 22:16:02 +0000 (0:00:00.136) 0:00:12.321 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edbaef38-64c6-46bd-8360-79266b689ec1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:16:02 +0000 (0:00:00.059) 0:00:12.380 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:16:02 +0000 (0:00:00.050) 0:00:12.431 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:16:02 +0000 (0:00:00.050) 0:00:12.481 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:16:02 +0000 (0:00:00.144) 0:00:12.625 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:16:02 +0000 (0:00:00.026) 0:00:12.652 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:16:02 +0000 (0:00:00.040) 0:00:12.692 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:16:02 +0000 (0:00:00.029) 0:00:12.722 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380962.2866685, "block_size": 4096, "blocks": 8, "ctime": 1708380962.2866685, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25402, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380962.2866685, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:16:03 +0000 (0:00:00.148) 0:00:12.870 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:16:03 +0000 (0:00:00.037) 0:00:12.908 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022961", "end": "2024-02-19 22:16:03.289725", "rc": 0, "start": "2024-02-19 22:16:03.266764" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:16:03 +0000 (0:00:00.178) 0:00:13.086 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:16:03 +0000 (0:00:00.025) 0:00:13.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:16:03 +0000 (0:00:00.028) 0:00:13.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:16:03 +0000 (0:00:00.023) 0:00:13.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:16:03 +0000 (0:00:00.023) 0:00:13.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:16:03 +0000 (0:00:00.048) 0:00:13.235 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:16:03 +0000 (0:00:00.024) 0:00:13.260 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:16:03 +0000 (0:00:00.028) 0:00:13.289 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:16:03 +0000 (0:00:00.023) 0:00:13.312 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:16:03 +0000 (0:00:00.025) 0:00:13.338 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:16:03 +0000 (0:00:00.032) 0:00:13.370 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:16:03 +0000 (0:00:00.050) 0:00:13.420 ******* 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.050630", "end": "2024-02-19 22:16:03.833334", "rc": 1, "start": "2024-02-19 22:16:03.782704" } STDOUT: Connection 'statebr' (edbaef38-64c6-46bd-8360-79266b689ec1) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 22:16:03 +0000 (0:00:00.193) 0:00:13.614 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:16:03 +0000 (0:00:00.035) 0:00:13.650 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:16:03 +0000 (0:00:00.022) 0:00:13.672 ******* 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" } 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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:16:03 +0000 (0:00:00.043) 0:00:13.716 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:16:03 +0000 (0:00:00.034) 0:00:13.750 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:16:04 +0000 (0:00:00.034) 0:00:13.785 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003784", "end": "2024-02-19 22:16:04.148199", "rc": 0, "start": "2024-02-19 22:16:04.144415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:16:04 +0000 (0:00:00.145) 0:00:13.930 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:16:04 +0000 (0:00:00.058) 0:00:13.989 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:16:04 +0000 (0:00:00.025) 0:00:14.015 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:16:04 +0000 (0:00:00.055) 0:00:14.070 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:04 +0000 (0:00:00.048) 0:00:14.119 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:04 +0000 (0:00:00.039) 0:00:14.159 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:04 +0000 (0:00:00.027) 0:00:14.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:04 +0000 (0:00:00.023) 0:00:14.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:04 +0000 (0:00:00.026) 0:00:14.236 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:05 +0000 (0:00:00.787) 0:00:15.024 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:06 +0000 (0:00:01.004) 0:00:16.028 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:06 +0000 (0:00:00.021) 0:00:16.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:06 +0000 (0:00:00.020) 0:00:16.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:06 +0000 (0:00:00.019) 0:00:16.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:06 +0000 (0:00:00.042) 0:00:16.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:06 +0000 (0:00:00.019) 0:00:16.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:06 +0000 (0:00:00.024) 0:00:16.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:06 +0000 (0:00:00.026) 0:00:16.203 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:06 +0000 (0:00:00.230) 0:00:16.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:06 +0000 (0:00:00.026) 0:00:16.460 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:06 +0000 (0:00:00.023) 0:00:16.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:06 +0000 (0:00:00.026) 0:00:16.510 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:07 +0000 (0:00:00.386) 0:00:16.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:07 +0000 (0:00:00.022) 0:00:16.919 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:07 +0000 (0:00:00.028) 0:00:16.947 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:07 +0000 (0:00:00.023) 0:00:16.971 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:07 +0000 (0:00:00.021) 0:00:16.992 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:16:07 +0000 (0:00:00.134) 0:00:17.127 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dace3762-f523-46cb-a1da-094054149481" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:16:07 +0000 (0:00:00.023) 0:00:17.151 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:16:07 +0000 (0:00:00.038) 0:00:17.189 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:07 +0000 (0:00:00.040) 0:00:17.230 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:07 +0000 (0:00:00.044) 0:00:17.275 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:07 +0000 (0:00:00.047) 0:00:17.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:07 +0000 (0:00:00.028) 0:00:17.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:07 +0000 (0:00:00.023) 0:00:17.374 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:08 +0000 (0:00:00.793) 0:00:18.168 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:09 +0000 (0:00:00.974) 0:00:19.142 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:09 +0000 (0:00:00.027) 0:00:19.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:09 +0000 (0:00:00.053) 0:00:19.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:09 +0000 (0:00:00.031) 0:00:19.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:09 +0000 (0:00:00.048) 0:00:19.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:09 +0000 (0:00:00.022) 0:00:19.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:09 +0000 (0:00:00.022) 0:00:19.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:09 +0000 (0:00:00.027) 0:00:19.376 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:09 +0000 (0:00:00.237) 0:00:19.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:09 +0000 (0:00:00.065) 0:00:19.679 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:09 +0000 (0:00:00.030) 0:00:19.710 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:09 +0000 (0:00:00.027) 0:00:19.738 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dace3762-f523-46cb-a1da-094054149481 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:10 +0000 (0:00:00.295) 0:00:20.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:10 +0000 (0:00:00.025) 0:00:20.059 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dace3762-f523-46cb-a1da-094054149481 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:10 +0000 (0:00:00.039) 0:00:20.099 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dace3762-f523-46cb-a1da-094054149481 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dace3762-f523-46cb-a1da-094054149481 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:10 +0000 (0:00:00.026) 0:00:20.125 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:10 +0000 (0:00:00.025) 0:00:20.151 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:16:10 +0000 (0:00:00.129) 0:00:20.281 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:16:10 +0000 (0:00:00.043) 0:00:20.324 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:16:10 +0000 (0:00:00.035) 0:00:20.359 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380967.0325248, "block_size": 4096, "blocks": 0, "ctime": 1708380967.031525, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17624, "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": 1708380967.031525, "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_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:16:10 +0000 (0:00:00.142) 0:00:20.502 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:16:10 +0000 (0:00:00.031) 0:00:20.533 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:16:10 +0000 (0:00:00.045) 0:00:20.578 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:16:10 +0000 (0:00:00.030) 0:00:20.609 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380967.030525, "block_size": 4096, "blocks": 8, "ctime": 1708380967.029525, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25402, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380967.029525, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:16:10 +0000 (0:00:00.145) 0:00:20.755 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:16:11 +0000 (0:00:00.032) 0:00:20.787 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021975", "end": "2024-02-19 22:16:11.179116", "rc": 0, "start": "2024-02-19 22:16:11.157141" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:16:11 +0000 (0:00:00.185) 0:00:20.972 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:16:11 +0000 (0:00:00.043) 0:00:21.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:16:11 +0000 (0:00:00.035) 0:00:21.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:16:11 +0000 (0:00:00.034) 0:00:21.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:16:11 +0000 (0:00:00.039) 0:00:21.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:16:11 +0000 (0:00:00.049) 0:00:21.175 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:16:11 +0000 (0:00:00.045) 0:00:21.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:16:11 +0000 (0:00:00.034) 0:00:21.255 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:16:11 +0000 (0:00:00.054) 0:00:21.309 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:16:11 +0000 (0:00:00.026) 0:00:21.336 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:16:11 +0000 (0:00:00.025) 0:00:21.361 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:16:11 +0000 (0:00:00.049) 0:00:21.411 ******* 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.086349", "end": "2024-02-19 22:16:11.853903", "rc": 1, "start": "2024-02-19 22:16:11.767554" } STDOUT: Connection 'statebr' (dace3762-f523-46cb-a1da-094054149481) successfully deleted. STDERR: (process:30502): GLib-GIO-WARNING **: 22:16:11.831: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/43 but no object proxy exists (process:30502): GLib-GIO-WARNING **: 22:16:11.831: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 22:16:11 +0000 (0:00:00.223) 0:00:21.635 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:16:11 +0000 (0:00:00.069) 0:00:21.704 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:16:11 +0000 (0:00:00.022) 0:00:21.726 ******* 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" } 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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:16:12 +0000 (0:00:00.042) 0:00:21.769 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:16:12 +0000 (0:00:00.035) 0:00:21.805 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:16:12 +0000 (0:00:00.033) 0:00:21.838 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004200", "end": "2024-02-19 22:16:12.198940", "rc": 0, "start": "2024-02-19 22:16:12.194740" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:16:12 +0000 (0:00:00.141) 0:00:21.979 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:16:12 +0000 (0:00:00.024) 0:00:22.003 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:16:12 +0000 (0:00:00.029) 0:00:22.032 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:16:12 +0000 (0:00:00.045) 0:00:22.077 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:12 +0000 (0:00:00.035) 0:00:22.113 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:12 +0000 (0:00:00.040) 0:00:22.154 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:12 +0000 (0:00:00.026) 0:00:22.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:12 +0000 (0:00:00.025) 0:00:22.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:12 +0000 (0:00:00.093) 0:00:22.300 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:13 +0000 (0:00:00.716) 0:00:23.017 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:14 +0000 (0:00:00.973) 0:00:23.990 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:14 +0000 (0:00:00.031) 0:00:24.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:14 +0000 (0:00:00.027) 0:00:24.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:14 +0000 (0:00:00.030) 0:00:24.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:14 +0000 (0:00:00.046) 0:00:24.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:14 +0000 (0:00:00.048) 0:00:24.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:14 +0000 (0:00:00.026) 0:00:24.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:14 +0000 (0:00:00.075) 0:00:24.277 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:14 +0000 (0:00:00.300) 0:00:24.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:14 +0000 (0:00:00.046) 0:00:24.624 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:14 +0000 (0:00:00.032) 0:00:24.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:14 +0000 (0:00:00.029) 0:00:24.686 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:15 +0000 (0:00:00.367) 0:00:25.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:15 +0000 (0:00:00.037) 0:00:25.091 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:15 +0000 (0:00:00.047) 0:00:25.138 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:15 +0000 (0:00:00.039) 0:00:25.178 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:15 +0000 (0:00:00.053) 0:00:25.232 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:16:15 +0000 (0:00:00.167) 0:00:25.400 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 798df52e-a335-4958-b735-d3611233bcbf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:16:15 +0000 (0:00:00.056) 0:00:25.456 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:15 +0000 (0:00:00.060) 0:00:25.516 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:15 +0000 (0:00:00.064) 0:00:25.581 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:15 +0000 (0:00:00.069) 0:00:25.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:15 +0000 (0:00:00.044) 0:00:25.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:16 +0000 (0:00:00.069) 0:00:25.764 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:16 +0000 (0:00:00.721) 0:00:26.486 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:17 +0000 (0:00:00.930) 0:00:27.416 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:17 +0000 (0:00:00.022) 0:00:27.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:17 +0000 (0:00:00.020) 0:00:27.460 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:17 +0000 (0:00:00.021) 0:00:27.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:17 +0000 (0:00:00.052) 0:00:27.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:17 +0000 (0:00:00.034) 0:00:27.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:17 +0000 (0:00:00.041) 0:00:27.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:17 +0000 (0:00:00.039) 0:00:27.650 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:18 +0000 (0:00:00.264) 0:00:27.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:18 +0000 (0:00:00.028) 0:00:27.942 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:18 +0000 (0:00:00.023) 0:00:27.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:18 +0000 (0:00:00.021) 0:00:27.988 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 798df52e-a335-4958-b735-d3611233bcbf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:18 +0000 (0:00:00.319) 0:00:28.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:18 +0000 (0:00:00.030) 0:00:28.338 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 798df52e-a335-4958-b735-d3611233bcbf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:18 +0000 (0:00:00.062) 0:00:28.401 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 798df52e-a335-4958-b735-d3611233bcbf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 798df52e-a335-4958-b735-d3611233bcbf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:18 +0000 (0:00:00.047) 0:00:28.448 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:18 +0000 (0:00:00.037) 0:00:28.486 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:16:18 +0000 (0:00:00.133) 0:00:28.619 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:16:18 +0000 (0:00:00.038) 0:00:28.658 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:18 +0000 (0:00:00.038) 0:00:28.697 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:19 +0000 (0:00:00.071) 0:00:28.769 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:19 +0000 (0:00:00.032) 0:00:28.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:19 +0000 (0:00:00.021) 0:00:28.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:19 +0000 (0:00:00.020) 0:00:28.845 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:19 +0000 (0:00:00.686) 0:00:29.532 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:20 +0000 (0:00:00.950) 0:00:30.482 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:20 +0000 (0:00:00.024) 0:00:30.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:20 +0000 (0:00:00.029) 0:00:30.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:20 +0000 (0:00:00.023) 0:00:30.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:20 +0000 (0:00:00.046) 0:00:30.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:20 +0000 (0:00:00.061) 0:00:30.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:20 +0000 (0:00:00.059) 0:00:30.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:21 +0000 (0:00:00.042) 0:00:30.769 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:21 +0000 (0:00:00.254) 0:00:31.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:21 +0000 (0:00:00.057) 0:00:31.082 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:21 +0000 (0:00:00.034) 0:00:31.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:21 +0000 (0:00:00.044) 0:00:31.160 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:21 +0000 (0:00:00.334) 0:00:31.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:21 +0000 (0:00:00.034) 0:00:31.530 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:21 +0000 (0:00:00.040) 0:00:31.570 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:21 +0000 (0:00:00.039) 0:00:31.609 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:21 +0000 (0:00:00.046) 0:00:31.656 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:16:22 +0000 (0:00:00.179) 0:00:31.835 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:16:22 +0000 (0:00:00.048) 0:00:31.884 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:16:22 +0000 (0:00:00.052) 0:00:31.936 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380975.2082775, "block_size": 4096, "blocks": 0, "ctime": 1708380975.2072775, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1708380975.2072775, "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_hotfixbccm1kah/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:16:22 +0000 (0:00:00.189) 0:00:32.126 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:16:22 +0000 (0:00:00.040) 0:00:32.166 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:16:22 +0000 (0:00:00.065) 0:00:32.231 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:16:22 +0000 (0:00:00.038) 0:00:32.269 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:16:22 +0000 (0:00:00.189) 0:00:32.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:16:22 +0000 (0:00:00.038) 0:00:32.497 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024273", "end": "2024-02-19 22:16:22.906829", "rc": 1, "start": "2024-02-19 22:16:22.882556" } 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:16:22 +0000 (0:00:00.191) 0:00:32.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:16:22 +0000 (0:00:00.033) 0:00:32.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:16:22 +0000 (0:00:00.026) 0:00:32.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:16:23 +0000 (0:00:00.042) 0:00:32.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:16:23 +0000 (0:00:00.022) 0:00:32.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:16:23 +0000 (0:00:00.027) 0:00:32.841 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:16:23 +0000 (0:00:00.033) 0:00:32.875 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:16:23 +0000 (0:00:00.036) 0:00:32.911 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:16:23 +0000 (0:00:00.040) 0:00:32.952 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:16:23 +0000 (0:00:00.075) 0:00:33.027 ******* 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.090726", "end": "2024-02-19 22:16:23.480492", "rc": 1, "start": "2024-02-19 22:16:23.389766" } STDOUT: Connection 'statebr' (798df52e-a335-4958-b735-d3611233bcbf) successfully deleted. STDERR: (process:31123): GLib-GIO-WARNING **: 22:16:23.454: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/44 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 22:16:23 +0000 (0:00:00.234) 0:00:33.262 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:16:23 +0000 (0:00:00.046) 0:00:33.309 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:16:23 +0000 (0:00:00.030) 0:00:33.340 ******* 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": true, "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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:16:23 +0000 (0:00:00.063) 0:00:33.403 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:16:23 +0000 (0:00:00.046) 0:00:33.450 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:16:23 +0000 (0:00:00.056) 0:00:33.507 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003975", "end": "2024-02-19 22:16:23.929461", "rc": 0, "start": "2024-02-19 22:16:23.925486" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:16:23 +0000 (0:00:00.204) 0:00:33.711 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:16:23 +0000 (0:00:00.038) 0:00:33.750 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:16:24 +0000 (0:00:00.039) 0:00:33.789 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:16:24 +0000 (0:00:00.059) 0:00:33.849 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:24 +0000 (0:00:00.046) 0:00:33.896 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:24 +0000 (0:00:00.107) 0:00:34.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 [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:24 +0000 (0:00:00.054) 0:00:34.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:24 +0000 (0:00:00.025) 0:00:34.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:24 +0000 (0:00:00.025) 0:00:34.109 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:25 +0000 (0:00:00.788) 0:00:34.897 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:26 +0000 (0:00:01.002) 0:00:35.899 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:26 +0000 (0:00:00.030) 0:00:35.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:26 +0000 (0:00:00.036) 0:00:35.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:26 +0000 (0:00:00.034) 0:00:36.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:26 +0000 (0:00:00.115) 0:00:36.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:26 +0000 (0:00:00.021) 0:00:36.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:26 +0000 (0:00:00.023) 0:00:36.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:26 +0000 (0:00:00.029) 0:00:36.191 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:26 +0000 (0:00:00.262) 0:00:36.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:26 +0000 (0:00:00.027) 0:00:36.481 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:26 +0000 (0:00:00.033) 0:00:36.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:26 +0000 (0:00:00.027) 0:00:36.542 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:27 +0000 (0:00:00.388) 0:00:36.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:27 +0000 (0:00:00.033) 0:00:36.964 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:27 +0000 (0:00:00.047) 0:00:37.012 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:27 +0000 (0:00:00.046) 0:00:37.058 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:27 +0000 (0:00:00.044) 0:00:37.103 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:16:27 +0000 (0:00:00.176) 0:00:37.279 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:16:27 +0000 (0:00:00.033) 0:00:37.312 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:27 +0000 (0:00:00.154) 0:00:37.466 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:27 +0000 (0:00:00.043) 0:00:37.510 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:27 +0000 (0:00:00.035) 0:00:37.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:27 +0000 (0:00:00.028) 0:00:37.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:27 +0000 (0:00:00.049) 0:00:37.623 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:28 +0000 (0:00:00.786) 0:00:38.410 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:29 +0000 (0:00:00.998) 0:00:39.409 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:29 +0000 (0:00:00.053) 0:00:39.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:29 +0000 (0:00:00.023) 0:00:39.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:29 +0000 (0:00:00.023) 0:00:39.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:29 +0000 (0:00:00.051) 0:00:39.561 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:29 +0000 (0:00:00.035) 0:00:39.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:29 +0000 (0:00:00.035) 0:00:39.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:29 +0000 (0:00:00.060) 0:00:39.692 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:30 +0000 (0:00:00.254) 0:00:39.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:30 +0000 (0:00:00.033) 0:00:39.980 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:30 +0000 (0:00:00.026) 0:00:40.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:30 +0000 (0:00:00.023) 0:00:40.030 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:30 +0000 (0:00:00.283) 0:00:40.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:30 +0000 (0:00:00.023) 0:00:40.336 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:30 +0000 (0:00:00.026) 0:00:40.363 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bad727ab-44a0-4a4f-9408-f76b21c02103 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:30 +0000 (0:00:00.024) 0:00:40.388 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:30 +0000 (0:00:00.031) 0:00:40.419 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:16:30 +0000 (0:00:00.151) 0:00:40.571 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:30 +0000 (0:00:00.086) 0:00:40.657 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:30 +0000 (0:00:00.046) 0:00:40.704 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:30 +0000 (0:00:00.028) 0:00:40.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:31 +0000 (0:00:00.024) 0:00:40.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:31 +0000 (0:00:00.023) 0:00:40.780 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:31 +0000 (0:00:00.765) 0:00:41.546 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:32 +0000 (0:00:00.964) 0:00:42.511 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:32 +0000 (0:00:00.022) 0:00:42.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:32 +0000 (0:00:00.060) 0:00:42.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:32 +0000 (0:00:00.035) 0:00:42.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:32 +0000 (0:00:00.071) 0:00:42.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:32 +0000 (0:00:00.052) 0:00:42.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:33 +0000 (0:00:00.038) 0:00:42.793 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:33 +0000 (0:00:00.035) 0:00:42.828 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:33 +0000 (0:00:00.258) 0:00:43.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:33 +0000 (0:00:00.033) 0:00:43.120 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:33 +0000 (0:00:00.022) 0:00:43.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:33 +0000 (0:00:00.021) 0:00:43.164 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:33 +0000 (0:00:00.360) 0:00:43.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:33 +0000 (0:00:00.034) 0:00:43.560 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:33 +0000 (0:00:00.024) 0:00:43.585 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:33 +0000 (0:00:00.043) 0:00:43.628 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:33 +0000 (0:00:00.022) 0:00:43.650 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:16:34 +0000 (0:00:00.139) 0:00:43.789 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:16:34 +0000 (0:00:00.080) 0:00:43.869 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:34 +0000 (0:00:00.041) 0:00:43.911 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:34 +0000 (0:00:00.054) 0:00:43.965 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:34 +0000 (0:00:00.031) 0:00:43.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:34 +0000 (0:00:00.023) 0:00:44.020 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:34 +0000 (0:00:00.019) 0:00:44.040 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:35 +0000 (0:00:00.752) 0:00:44.792 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:36 +0000 (0:00:00.997) 0:00:45.790 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:36 +0000 (0:00:00.052) 0:00:45.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:36 +0000 (0:00:00.021) 0:00:45.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:36 +0000 (0:00:00.020) 0:00:45.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:36 +0000 (0:00:00.041) 0:00:45.927 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:36 +0000 (0:00:00.019) 0:00:45.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:36 +0000 (0:00:00.021) 0:00:45.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:36 +0000 (0:00:00.031) 0:00:46.000 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:36 +0000 (0:00:00.247) 0:00:46.247 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:36 +0000 (0:00:00.024) 0:00:46.272 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:36 +0000 (0:00:00.033) 0:00:46.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:36 +0000 (0:00:00.044) 0:00:46.351 ******* 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:36 +0000 (0:00:00.384) 0:00:46.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:37 +0000 (0:00:00.024) 0:00:46.760 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:37 +0000 (0:00:00.046) 0:00:46.807 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:37 +0000 (0:00:00.046) 0:00:46.853 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:37 +0000 (0:00:00.068) 0:00:46.922 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:16:37 +0000 (0:00:00.322) 0:00:47.245 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:16:37 +0000 (0:00:00.076) 0:00:47.321 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:16:37 +0000 (0:00:00.051) 0:00:47.373 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:16:37 +0000 (0:00:00.045) 0:00:47.418 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:16:37 +0000 (0:00:00.164) 0:00:47.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:16:37 +0000 (0:00:00.033) 0:00:47.616 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020777", "end": "2024-02-19 22:16:38.015466", "rc": 1, "start": "2024-02-19 22:16:37.994689" } 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:16:38 +0000 (0:00:00.201) 0:00:47.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:16:38 +0000 (0:00:00.035) 0:00:47.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:16:38 +0000 (0:00:00.036) 0:00:47.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:16:38 +0000 (0:00:00.027) 0:00:47.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:16:38 +0000 (0:00:00.037) 0:00:47.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:16:38 +0000 (0:00:00.029) 0:00:47.986 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:16:38 +0000 (0:00:00.021) 0:00:48.008 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:16:38 +0000 (0:00:00.039) 0:00:48.047 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:16:38 +0000 (0:00:00.072) 0:00:48.120 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:16:38 +0000 (0:00:00.156) 0:00:48.276 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:16:38 +0000 (0:00:00.026) 0:00:48.303 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:16:38 +0000 (0:00:00.027) 0:00:48.330 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:16:38 +0000 (0:00:00.061) 0:00:48.392 ******* 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.043587", "end": "2024-02-19 22:16:38.828318", "rc": 1, "start": "2024-02-19 22:16:38.784731" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 22:16:38 +0000 (0:00:00.217) 0:00:48.610 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:16:38 +0000 (0:00:00.036) 0:00:48.646 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:16:38 +0000 (0:00:00.022) 0:00:48.669 ******* 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": true, "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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:16:38 +0000 (0:00:00.058) 0:00:48.728 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:16:39 +0000 (0:00:00.036) 0:00:48.764 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:16:39 +0000 (0:00:00.045) 0:00:48.810 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003742", "end": "2024-02-19 22:16:39.178209", "rc": 0, "start": "2024-02-19 22:16:39.174467" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:16:39 +0000 (0:00:00.161) 0:00:48.971 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:16:39 +0000 (0:00:00.050) 0:00:49.021 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:16:39 +0000 (0:00:00.055) 0:00:49.076 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:16:39 +0000 (0:00:00.075) 0:00:49.152 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:39 +0000 (0:00:00.071) 0:00:49.223 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:39 +0000 (0:00:00.039) 0:00:49.262 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:39 +0000 (0:00:00.027) 0:00:49.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:39 +0000 (0:00:00.021) 0:00:49.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:39 +0000 (0:00:00.021) 0:00:49.332 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:40 +0000 (0:00:00.721) 0:00:50.053 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:41 +0000 (0:00:01.007) 0:00:51.061 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:41 +0000 (0:00:00.026) 0:00:51.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:41 +0000 (0:00:00.024) 0:00:51.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:41 +0000 (0:00:00.024) 0:00:51.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:41 +0000 (0:00:00.042) 0:00:51.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:41 +0000 (0:00:00.032) 0:00:51.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:41 +0000 (0:00:00.023) 0:00:51.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:41 +0000 (0:00:00.026) 0:00:51.261 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:41 +0000 (0:00:00.250) 0:00:51.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:41 +0000 (0:00:00.027) 0:00:51.539 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:41 +0000 (0:00:00.023) 0:00:51.562 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:41 +0000 (0:00:00.019) 0:00:51.582 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:42 +0000 (0:00:00.336) 0:00:51.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:42 +0000 (0:00:00.023) 0:00:51.941 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:42 +0000 (0:00:00.024) 0:00:51.966 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:42 +0000 (0:00:00.024) 0:00:51.990 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:42 +0000 (0:00:00.063) 0:00:52.054 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:16:42 +0000 (0:00:00.177) 0:00:52.231 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:16:42 +0000 (0:00:00.029) 0:00:52.261 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:42 +0000 (0:00:00.037) 0:00:52.299 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:42 +0000 (0:00:00.043) 0:00:52.342 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:42 +0000 (0:00:00.031) 0:00:52.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:42 +0000 (0:00:00.024) 0:00:52.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:42 +0000 (0:00:00.031) 0:00:52.429 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:43 +0000 (0:00:00.774) 0:00:53.204 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:44 +0000 (0:00:01.023) 0:00:54.228 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:44 +0000 (0:00:00.033) 0:00:54.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:44 +0000 (0:00:00.033) 0:00:54.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:44 +0000 (0:00:00.035) 0:00:54.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:44 +0000 (0:00:00.063) 0:00:54.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:44 +0000 (0:00:00.038) 0:00:54.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:44 +0000 (0:00:00.049) 0:00:54.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:44 +0000 (0:00:00.030) 0:00:54.511 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:45 +0000 (0:00:00.244) 0:00:54.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:45 +0000 (0:00:00.026) 0:00:54.783 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:45 +0000 (0:00:00.022) 0:00:54.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:45 +0000 (0:00:00.021) 0:00:54.828 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:45 +0000 (0:00:00.305) 0:00:55.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:45 +0000 (0:00:00.058) 0:00:55.191 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:45 +0000 (0:00:00.033) 0:00:55.225 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c82c7feb-f4d1-4c7a-9797-372abbc6cb95 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:45 +0000 (0:00:00.022) 0:00:55.248 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:45 +0000 (0:00:00.019) 0:00:55.267 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:16:45 +0000 (0:00:00.148) 0:00:55.416 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:45 +0000 (0:00:00.051) 0:00:55.467 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:45 +0000 (0:00:00.054) 0:00:55.522 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:45 +0000 (0:00:00.048) 0:00:55.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:45 +0000 (0:00:00.030) 0:00:55.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:45 +0000 (0:00:00.025) 0:00:55.626 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:46 +0000 (0:00:00.776) 0:00:56.403 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:47 +0000 (0:00:01.009) 0:00:57.412 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:47 +0000 (0:00:00.023) 0:00:57.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:47 +0000 (0:00:00.028) 0:00:57.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:47 +0000 (0:00:00.022) 0:00:57.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:47 +0000 (0:00:00.043) 0:00:57.531 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:47 +0000 (0:00:00.021) 0:00:57.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:47 +0000 (0:00:00.021) 0:00:57.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:47 +0000 (0:00:00.023) 0:00:57.596 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:48 +0000 (0:00:00.237) 0:00:57.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:48 +0000 (0:00:00.030) 0:00:57.865 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:48 +0000 (0:00:00.022) 0:00:57.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:48 +0000 (0:00:00.021) 0:00:57.910 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:48 +0000 (0:00:00.453) 0:00:58.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:48 +0000 (0:00:00.022) 0:00:58.386 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:48 +0000 (0:00:00.021) 0:00:58.407 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:48 +0000 (0:00:00.021) 0:00:58.429 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:48 +0000 (0:00:00.019) 0:00:58.448 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:16:48 +0000 (0:00:00.139) 0:00:58.588 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:16:48 +0000 (0:00:00.043) 0:00:58.632 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:16:48 +0000 (0:00:00.040) 0:00:58.672 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:16:48 +0000 (0:00:00.040) 0:00:58.713 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:16:48 +0000 (0:00:00.030) 0:00:58.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:16:49 +0000 (0:00:00.021) 0:00:58.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:16:49 +0000 (0:00:00.036) 0:00:58.801 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:16:49 +0000 (0:00:00.805) 0:00:59.607 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:16:50 +0000 (0:00:00.927) 0:01:00.534 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:16:50 +0000 (0:00:00.023) 0:01:00.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:16:50 +0000 (0:00:00.029) 0:01:00.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:16:50 +0000 (0:00:00.022) 0:01:00.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:16:50 +0000 (0:00:00.050) 0:01:00.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:16:50 +0000 (0:00:00.023) 0:01:00.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:16:50 +0000 (0:00:00.035) 0:01:00.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:16:51 +0000 (0:00:00.041) 0:01:00.761 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:16:51 +0000 (0:00:00.250) 0:01:01.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:16:51 +0000 (0:00:00.025) 0:01:01.036 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:16:51 +0000 (0:00:00.020) 0:01:01.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:16:51 +0000 (0:00:00.059) 0:01:01.117 ******* 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:16:51 +0000 (0:00:00.348) 0:01:01.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:16:51 +0000 (0:00:00.025) 0:01:01.491 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:16:51 +0000 (0:00:00.022) 0:01:01.513 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:16:51 +0000 (0:00:00.023) 0:01:01.537 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:16:51 +0000 (0:00:00.021) 0:01:01.559 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:16:51 +0000 (0:00:00.155) 0:01:01.715 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:16:52 +0000 (0:00:00.056) 0:01:01.771 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:16:52 +0000 (0:00:00.039) 0:01:01.811 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:16:52 +0000 (0:00:00.024) 0:01:01.836 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:16:52 +0000 (0:00:00.135) 0:01:01.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:16:52 +0000 (0:00:00.019) 0:01:01.991 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021203", "end": "2024-02-19 22:16:52.371613", "rc": 1, "start": "2024-02-19 22:16:52.350410" } 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_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:16:52 +0000 (0:00:00.161) 0:01:02.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:16:52 +0000 (0:00:00.022) 0:01:02.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:16:52 +0000 (0:00:00.045) 0:01:02.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:16:52 +0000 (0:00:00.022) 0:01:02.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:16:52 +0000 (0:00:00.020) 0:01:02.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:16:52 +0000 (0:00:00.021) 0:01:02.286 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 22:16:52 +0000 (0:00:00.021) 0:01:02.307 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.712120", "end": "2024-02-19 22:16:53.377614", "rc": 0, "start": "2024-02-19 22:16:52.665494" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 22:16:53 +0000 (0:00:00.852) 0:01:03.159 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 22:16:53 +0000 (0:00:00.024) 0:01:03.184 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:16:53 +0000 (0:00:00.032) 0:01:03.216 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:16:53 +0000 (0:00:00.063) 0:01:03.280 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:16:53 +0000 (0:00:00.046) 0:01:03.326 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:16:53 +0000 (0:00:00.229) 0:01:03.556 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:16:53 +0000 (0:00:00.025) 0:01:03.581 ******* 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_hotfixbccm1kah/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:16:53 +0000 (0:00:00.022) 0:01:03.603 ******* included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:16:53 +0000 (0:00:00.071) 0:01:03.675 ******* 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.045957", "end": "2024-02-19 22:16:54.107129", "rc": 1, "start": "2024-02-19 22:16:54.061172" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 22:16:54 +0000 (0:00:00.213) 0:01:03.889 ******* 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.008327", "end": "2024-02-19 22:16:54.265365", "rc": 0, "start": "2024-02-19 22:16:54.257038" } 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:67:f6:fc:7a:b9 brd ff:ff:ff:ff:ff:ff inet 10.31.13.195/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3513sec preferred_lft 3513sec inet6 fe80::867:f6ff:fefc:7ab9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.195 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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_hotfixbccm1kah/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 22:16:54 +0000 (0:00:00.166) 0:01:04.056 ******* 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.357292", "end": "2024-02-19 22:16:54.779046", "rc": 0, "start": "2024-02-19 22:16:54.421754" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1605 0 --:--:-- --:--:-- --:--:-- 1613 % 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 2026 0 --:--:-- --:--:-- --:--:-- 2034 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Monday 19 February 2024 22:16:54 +0000 (0:00:00.516) 0:01:04.572 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.97s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.48s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.20s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.20s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.00s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixbccm1kah/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---