# 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-bond_options_rewritep96bhyz9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tests_states_nm.yml:6 Friday 09 February 2024 19:47:27 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tests_states_nm.yml:9 Friday 09 February 2024 19:47:27 +0000 (0:00:00.536) 0:00:00.549 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 19:47:27 +0000 (0:00:00.022) 0:00:00.571 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 19:47:28 +0000 (0:00:00.233) 0:00:00.805 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 19:47:28 +0000 (0:00:00.197) 0:00:01.002 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 19:47:28 +0000 (0:00:00.021) 0:00:01.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 19:47:28 +0000 (0:00:00.020) 0:00:01.044 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 19:47:28 +0000 (0:00:00.033) 0:00:01.077 ******* 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-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 19:47:28 +0000 (0:00:00.200) 0:00:01.277 ******* 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-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 19:47:29 +0000 (0:00:00.467) 0:00:01.744 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182093", "end": "2024-02-09 19:47:29.409770", "rc": 0, "start": "2024-02-09 19:47:29.227677" } 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-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 19:47:29 +0000 (0:00:00.311) 0:00:02.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 19:47:29 +0000 (0:00:00.012) 0:00:02.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/tests_states_nm.yml:11 Friday 09 February 2024 19:47:29 +0000 (0:00:00.011) 0:00:02.080 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 19:47:29 +0000 (0:00:00.011) 0:00:02.091 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 19:47:29 +0000 (0:00:00.391) 0:00:02.483 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 19:47:29 +0000 (0:00:00.011) 0:00:02.494 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:47:29 +0000 (0:00:00.016) 0:00:02.511 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:47:29 +0000 (0:00:00.011) 0:00:02.522 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:47:29 +0000 (0:00:00.034) 0:00:02.556 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:47:29 +0000 (0:00:00.015) 0:00:02.572 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:47:29 +0000 (0:00:00.014) 0:00:02.586 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004857", "end": "2024-02-09 19:47:31.070929", "rc": 0, "start": "2024-02-09 19:47:30.066072" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:47:31 +0000 (0:00:01.131) 0:00:03.717 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:47:31 +0000 (0:00:00.013) 0:00:03.731 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:47:31 +0000 (0:00:00.019) 0:00:03.751 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 19:47:31 +0000 (0:00:00.021) 0:00:03.773 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011811", "end": "2024-02-09 19:47:31.263497", "rc": 1, "start": "2024-02-09 19:47:31.251686" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:47:31 +0000 (0:00:00.132) 0:00:03.906 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:31 +0000 (0:00:00.016) 0:00:03.922 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:47:31 +0000 (0:00:00.123) 0:00:04.046 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:47:31 +0000 (0:00:00.012) 0:00:04.058 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:47:31 +0000 (0:00:00.017) 0:00:04.076 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:31 +0000 (0:00:00.034) 0:00:04.111 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:31 +0000 (0:00:00.070) 0:00:04.182 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:31 +0000 (0:00:00.021) 0:00:04.203 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:31 +0000 (0:00:00.032) 0:00:04.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:31 +0000 (0:00:00.020) 0:00:04.256 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:32 +0000 (0:00:00.810) 0:00:05.067 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:33 +0000 (0:00:01.114) 0:00:06.182 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:33 +0000 (0:00:00.029) 0:00:06.211 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:33 +0000 (0:00:00.022) 0:00:06.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:33 +0000 (0:00:00.020) 0:00:06.254 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:33 +0000 (0:00:00.044) 0:00:06.299 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:33 +0000 (0:00:00.021) 0:00:06.320 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:33 +0000 (0:00:00.022) 0:00:06.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:33 +0000 (0:00:00.027) 0:00:06.371 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:34 +0000 (0:00:00.378) 0:00:06.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:34 +0000 (0:00:00.027) 0:00:06.777 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:34 +0000 (0:00:00.021) 0:00:06.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:34 +0000 (0:00:00.022) 0:00:06.820 ******* 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, 68f97167-34df-48d7-bd42-c22271cf4f69 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:34 +0000 (0:00:00.471) 0:00:07.292 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:34 +0000 (0:00:00.020) 0:00:07.313 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68f97167-34df-48d7-bd42-c22271cf4f69" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:34 +0000 (0:00:00.046) 0:00:07.359 ******* 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, 68f97167-34df-48d7-bd42-c22271cf4f69\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68f97167-34df-48d7-bd42-c22271cf4f69" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:34 +0000 (0:00:00.023) 0:00:07.383 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:34 +0000 (0:00:00.022) 0:00:07.405 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:47:34 +0000 (0:00:00.184) 0:00:07.590 ******* 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, 68f97167-34df-48d7-bd42-c22271cf4f69\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68f97167-34df-48d7-bd42-c22271cf4f69" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:47:34 +0000 (0:00:00.024) 0:00:07.614 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:47:35 +0000 (0:00:00.042) 0:00:07.657 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:47:35 +0000 (0:00:00.037) 0:00:07.695 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:47:35 +0000 (0:00:00.023) 0:00:07.718 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508054.5770228, "block_size": 4096, "blocks": 8, "ctime": 1707508054.5760229, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707508054.5760229, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:47:35 +0000 (0:00:00.138) 0:00:07.856 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:47:35 +0000 (0:00:00.023) 0:00:07.880 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025297", "end": "2024-02-09 19:47:35.387177", "rc": 0, "start": "2024-02-09 19:47:35.361880" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:47:35 +0000 (0:00:00.160) 0:00:08.041 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:47:35 +0000 (0:00:00.024) 0:00:08.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:47:35 +0000 (0:00:00.023) 0:00:08.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:47:35 +0000 (0:00:00.024) 0:00:08.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:47:35 +0000 (0:00:00.023) 0:00:08.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:47:35 +0000 (0:00:00.057) 0:00:08.194 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:47:35 +0000 (0:00:00.027) 0:00:08.222 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:47:35 +0000 (0:00:00.025) 0:00:08.248 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:47:35 +0000 (0:00:00.024) 0:00:08.272 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:47:35 +0000 (0:00:00.045) 0:00:08.317 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:35 +0000 (0:00:00.039) 0:00:08.356 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508054.5830228, "block_size": 4096, "blocks": 0, "ctime": 1707508054.579023, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17682, "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": 1707508054.579023, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:47:35 +0000 (0:00:00.138) 0:00:08.494 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:47:35 +0000 (0:00:00.025) 0:00:08.519 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:47:35 +0000 (0:00:00.021) 0:00:08.541 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:47:35 +0000 (0:00:00.040) 0:00:08.582 ******* 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.082020", "end": "2024-02-09 19:47:36.145577", "rc": 1, "start": "2024-02-09 19:47:36.063557" } STDOUT: Connection 'statebr' (68f97167-34df-48d7-bd42-c22271cf4f69) 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 19:47:36 +0000 (0:00:00.217) 0:00:08.799 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:47:36 +0000 (0:00:00.038) 0:00:08.837 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:47:36 +0000 (0:00:00.023) 0:00:08.861 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:47:36 +0000 (0:00:00.108) 0:00:08.969 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:47:36 +0000 (0:00:00.034) 0:00:09.004 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:47:36 +0000 (0:00:00.033) 0:00:09.038 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-02-09 19:47:36.521782", "rc": 0, "start": "2024-02-09 19:47:36.518069" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:47:36 +0000 (0:00:00.137) 0:00:09.175 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:47:36 +0000 (0:00:00.024) 0:00:09.200 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:47:36 +0000 (0:00:00.022) 0:00:09.222 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 19:47:36 +0000 (0:00:00.044) 0:00:09.266 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007971", "end": "2024-02-09 19:47:36.755179", "rc": 1, "start": "2024-02-09 19:47:36.747208" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:47:36 +0000 (0:00:00.141) 0:00:09.408 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:36 +0000 (0:00:00.038) 0:00:09.446 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:47:36 +0000 (0:00:00.137) 0:00:09.584 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:47:36 +0000 (0:00:00.024) 0:00:09.609 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 19:47:37 +0000 (0:00:00.042) 0:00:09.652 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:37 +0000 (0:00:00.070) 0:00:09.722 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:37 +0000 (0:00:00.039) 0:00:09.762 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:37 +0000 (0:00:00.026) 0:00:09.789 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:37 +0000 (0:00:00.021) 0:00:09.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:37 +0000 (0:00:00.024) 0:00:09.835 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:37 +0000 (0:00:00.738) 0:00:10.574 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:38 +0000 (0:00:00.958) 0:00:11.532 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:38 +0000 (0:00:00.033) 0:00:11.566 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:38 +0000 (0:00:00.033) 0:00:11.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:38 +0000 (0:00:00.028) 0:00:11.627 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:39 +0000 (0:00:00.045) 0:00:11.673 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:39 +0000 (0:00:00.022) 0:00:11.695 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:39 +0000 (0:00:00.029) 0:00:11.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:39 +0000 (0:00:00.025) 0:00:11.751 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:39 +0000 (0:00:00.237) 0:00:11.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:39 +0000 (0:00:00.028) 0:00:12.016 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:39 +0000 (0:00:00.026) 0:00:12.043 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:39 +0000 (0:00:00.021) 0:00:12.064 ******* 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, f86c3718-4adb-436e-96da-d2d141dd7a07 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:39 +0000 (0:00:00.304) 0:00:12.368 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:39 +0000 (0:00:00.021) 0:00:12.390 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f86c3718-4adb-436e-96da-d2d141dd7a07" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:39 +0000 (0:00:00.022) 0:00:12.412 ******* 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, f86c3718-4adb-436e-96da-d2d141dd7a07\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f86c3718-4adb-436e-96da-d2d141dd7a07" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:39 +0000 (0:00:00.022) 0:00:12.435 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:39 +0000 (0:00:00.056) 0:00:12.491 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 19:47:39 +0000 (0:00:00.133) 0:00:12.624 ******* 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, f86c3718-4adb-436e-96da-d2d141dd7a07\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f86c3718-4adb-436e-96da-d2d141dd7a07" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:47:40 +0000 (0:00:00.024) 0:00:12.648 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:47:40 +0000 (0:00:00.045) 0:00:12.694 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:40 +0000 (0:00:00.036) 0:00:12.730 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:47:40 +0000 (0:00:00.137) 0:00:12.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:47:40 +0000 (0:00:00.024) 0:00:12.891 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:47:40 +0000 (0:00:00.037) 0:00:12.928 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:47:40 +0000 (0:00:00.022) 0:00:12.951 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508059.696029, "block_size": 4096, "blocks": 8, "ctime": 1707508059.696029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707508059.696029, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:47:40 +0000 (0:00:00.137) 0:00:13.088 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:47:40 +0000 (0:00:00.024) 0:00:13.113 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023198", "end": "2024-02-09 19:47:40.617554", "rc": 0, "start": "2024-02-09 19:47:40.594356" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:47:40 +0000 (0:00:00.159) 0:00:13.272 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:47:40 +0000 (0:00:00.025) 0:00:13.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:47:40 +0000 (0:00:00.054) 0:00:13.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:47:40 +0000 (0:00:00.028) 0:00:13.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:47:40 +0000 (0:00:00.024) 0:00:13.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:47:40 +0000 (0:00:00.028) 0:00:13.433 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:47:40 +0000 (0:00:00.030) 0:00:13.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:47:40 +0000 (0:00:00.027) 0:00:13.491 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:47:40 +0000 (0:00:00.024) 0:00:13.515 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:47:40 +0000 (0:00:00.021) 0:00:13.537 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:47:40 +0000 (0:00:00.022) 0:00:13.560 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:47:40 +0000 (0:00:00.045) 0:00:13.605 ******* 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.052040", "end": "2024-02-09 19:47:41.143104", "rc": 1, "start": "2024-02-09 19:47:41.091064" } STDOUT: Connection 'statebr' (f86c3718-4adb-436e-96da-d2d141dd7a07) 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 19:47:41 +0000 (0:00:00.191) 0:00:13.797 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:47:41 +0000 (0:00:00.038) 0:00:13.835 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:47:41 +0000 (0:00:00.022) 0:00:13.857 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:47:41 +0000 (0:00:00.043) 0:00:13.901 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:47:41 +0000 (0:00:00.035) 0:00:13.936 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:47:41 +0000 (0:00:00.063) 0:00:14.000 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2024-02-09 19:47:41.485487", "rc": 0, "start": "2024-02-09 19:47:41.481772" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:47:41 +0000 (0:00:00.139) 0:00:14.139 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:47:41 +0000 (0:00:00.024) 0:00:14.164 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:47:41 +0000 (0:00:00.025) 0:00:14.189 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:47:41 +0000 (0:00:00.040) 0:00:14.229 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:41 +0000 (0:00:00.036) 0:00:14.266 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:41 +0000 (0:00:00.040) 0:00:14.306 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:41 +0000 (0:00:00.027) 0:00:14.334 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:41 +0000 (0:00:00.022) 0:00:14.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:41 +0000 (0:00:00.023) 0:00:14.381 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:42 +0000 (0:00:00.750) 0:00:15.131 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:43 +0000 (0:00:00.927) 0:00:16.058 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:43 +0000 (0:00:00.025) 0:00:16.083 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:43 +0000 (0:00:00.023) 0:00:16.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:43 +0000 (0:00:00.024) 0:00:16.131 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:43 +0000 (0:00:00.045) 0:00:16.177 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:43 +0000 (0:00:00.022) 0:00:16.200 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:43 +0000 (0:00:00.023) 0:00:16.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:43 +0000 (0:00:00.027) 0:00:16.252 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:43 +0000 (0:00:00.240) 0:00:16.492 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:43 +0000 (0:00:00.028) 0:00:16.520 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:43 +0000 (0:00:00.057) 0:00:16.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:43 +0000 (0:00:00.025) 0:00:16.603 ******* 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, 6afb1997-8a80-4799-a0e8-495593c3acda TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:44 +0000 (0:00:00.350) 0:00:16.953 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:44 +0000 (0:00:00.022) 0:00:16.975 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6afb1997-8a80-4799-a0e8-495593c3acda" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:44 +0000 (0:00:00.025) 0:00:17.001 ******* 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, 6afb1997-8a80-4799-a0e8-495593c3acda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6afb1997-8a80-4799-a0e8-495593c3acda" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:44 +0000 (0:00:00.025) 0:00:17.027 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:44 +0000 (0:00:00.022) 0:00:17.050 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:47:44 +0000 (0:00:00.137) 0:00:17.187 ******* 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, 6afb1997-8a80-4799-a0e8-495593c3acda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6afb1997-8a80-4799-a0e8-495593c3acda" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:47:44 +0000 (0:00:00.025) 0:00:17.213 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:47:44 +0000 (0:00:00.040) 0:00:17.253 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:44 +0000 (0:00:00.041) 0:00:17.295 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:44 +0000 (0:00:00.040) 0:00:17.335 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:44 +0000 (0:00:00.027) 0:00:17.362 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:44 +0000 (0:00:00.021) 0:00:17.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:44 +0000 (0:00:00.053) 0:00:17.437 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:45 +0000 (0:00:00.731) 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:46 +0000 (0:00:00.935) 0:00:19.104 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:46 +0000 (0:00:00.034) 0:00:19.138 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:46 +0000 (0:00:00.025) 0:00:19.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:46 +0000 (0:00:00.025) 0:00:19.190 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:46 +0000 (0:00:00.067) 0:00:19.257 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:46 +0000 (0:00:00.028) 0:00:19.286 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:46 +0000 (0:00:00.025) 0:00:19.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:46 +0000 (0:00:00.067) 0:00:19.379 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:46 +0000 (0:00:00.249) 0:00:19.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:47 +0000 (0:00:00.028) 0:00:19.656 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:47 +0000 (0:00:00.022) 0:00:19.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:47 +0000 (0:00:00.025) 0:00:19.704 ******* 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, 6afb1997-8a80-4799-a0e8-495593c3acda skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:47 +0000 (0:00:00.289) 0:00:19.994 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:47 +0000 (0:00:00.022) 0:00:20.016 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6afb1997-8a80-4799-a0e8-495593c3acda skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:47 +0000 (0:00:00.022) 0:00:20.038 ******* 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, 6afb1997-8a80-4799-a0e8-495593c3acda skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6afb1997-8a80-4799-a0e8-495593c3acda skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:47 +0000 (0:00:00.024) 0:00:20.063 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:47 +0000 (0:00:00.022) 0:00:20.085 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:47:47 +0000 (0:00:00.134) 0:00:20.220 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:47:47 +0000 (0:00:00.045) 0:00:20.265 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:47 +0000 (0:00:00.035) 0:00:20.301 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508064.250034, "block_size": 4096, "blocks": 0, "ctime": 1707508064.2490342, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17682, "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": 1707508064.2490342, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:47:47 +0000 (0:00:00.166) 0:00:20.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:47:47 +0000 (0:00:00.023) 0:00:20.491 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:47:47 +0000 (0:00:00.038) 0:00:20.530 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:47:47 +0000 (0:00:00.022) 0:00:20.552 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508064.3110342, "block_size": 4096, "blocks": 8, "ctime": 1707508064.2480342, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707508064.2480342, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:47:48 +0000 (0:00:00.138) 0:00:20.690 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:47:48 +0000 (0:00:00.023) 0:00:20.714 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023460", "end": "2024-02-09 19:47:48.218437", "rc": 0, "start": "2024-02-09 19:47:48.194977" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:47:48 +0000 (0:00:00.161) 0:00:20.875 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:47:48 +0000 (0:00:00.024) 0:00:20.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:47:48 +0000 (0:00:00.026) 0:00:20.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:47:48 +0000 (0:00:00.024) 0:00:20.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:47:48 +0000 (0:00:00.025) 0:00:20.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:47:48 +0000 (0:00:00.024) 0:00:21.001 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:47:48 +0000 (0:00:00.024) 0:00:21.025 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:47:48 +0000 (0:00:00.024) 0:00:21.049 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:47:48 +0000 (0:00:00.022) 0:00:21.072 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:47:48 +0000 (0:00:00.020) 0:00:21.092 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:47:48 +0000 (0:00:00.021) 0:00:21.114 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:47:48 +0000 (0:00:00.077) 0:00:21.191 ******* 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.096008", "end": "2024-02-09 19:47:48.769783", "rc": 1, "start": "2024-02-09 19:47:48.673775" } STDOUT: Connection 'statebr' (6afb1997-8a80-4799-a0e8-495593c3acda) successfully deleted. STDERR: (process:26493): GLib-GIO-WARNING **: 19:47:48.749: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:26493): GLib-GIO-WARNING **: 19:47:48.749: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/54 but no object proxy exists (process:26493): GLib-GIO-WARNING **: 19:47:48.749: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/34 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 19:47:48 +0000 (0:00:00.232) 0:00:21.423 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:47:48 +0000 (0:00:00.039) 0:00:21.463 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:47:48 +0000 (0:00:00.023) 0:00:21.487 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:47:48 +0000 (0:00:00.045) 0:00:21.532 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:47:48 +0000 (0:00:00.060) 0:00:21.592 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:47:49 +0000 (0:00:00.047) 0:00:21.640 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2024-02-09 19:47:49.125023", "rc": 0, "start": "2024-02-09 19:47:49.121308" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:47:49 +0000 (0:00:00.138) 0:00:21.779 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:47:49 +0000 (0:00:00.026) 0:00:21.805 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:47:49 +0000 (0:00:00.025) 0:00:21.831 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:47:49 +0000 (0:00:00.042) 0:00:21.873 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:49 +0000 (0:00:00.069) 0:00:21.943 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:49 +0000 (0:00:00.040) 0:00:21.984 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:49 +0000 (0:00:00.029) 0:00:22.014 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:49 +0000 (0:00:00.022) 0:00:22.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:49 +0000 (0:00:00.023) 0:00:22.060 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:50 +0000 (0:00:00.739) 0:00:22.799 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:51 +0000 (0:00:00.938) 0:00:23.738 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:51 +0000 (0:00:00.049) 0:00:23.787 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:51 +0000 (0:00:00.021) 0:00:23.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:51 +0000 (0:00:00.021) 0:00:23.830 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:51 +0000 (0:00:00.044) 0:00:23.874 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:51 +0000 (0:00:00.021) 0:00:23.896 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:51 +0000 (0:00:00.022) 0:00:23.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:51 +0000 (0:00:00.025) 0:00:23.943 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:51 +0000 (0:00:00.234) 0:00:24.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:51 +0000 (0:00:00.027) 0:00:24.205 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:51 +0000 (0:00:00.022) 0:00:24.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:51 +0000 (0:00:00.021) 0:00:24.249 ******* 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, 0208f78a-b780-4613-967d-7b15f2490914 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:51 +0000 (0:00:00.341) 0:00:24.590 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:51 +0000 (0:00:00.024) 0:00:24.614 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0208f78a-b780-4613-967d-7b15f2490914" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:52 +0000 (0:00:00.040) 0:00:24.655 ******* 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, 0208f78a-b780-4613-967d-7b15f2490914\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0208f78a-b780-4613-967d-7b15f2490914" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:52 +0000 (0:00:00.041) 0:00:24.697 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:52 +0000 (0:00:00.027) 0:00:24.724 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:47:52 +0000 (0:00:00.170) 0:00:24.894 ******* 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, 0208f78a-b780-4613-967d-7b15f2490914\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0208f78a-b780-4613-967d-7b15f2490914" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:47:52 +0000 (0:00:00.024) 0:00:24.919 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:52 +0000 (0:00:00.037) 0:00:24.956 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:52 +0000 (0:00:00.044) 0:00:25.001 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:52 +0000 (0:00:00.036) 0:00:25.037 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:52 +0000 (0:00:00.026) 0:00:25.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:52 +0000 (0:00:00.024) 0:00:25.088 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:53 +0000 (0:00:00.730) 0:00:25.819 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:54 +0000 (0:00:00.949) 0:00:26.769 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:54 +0000 (0:00:00.022) 0:00:26.791 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:54 +0000 (0:00:00.022) 0:00:26.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:54 +0000 (0:00:00.022) 0:00:26.836 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:54 +0000 (0:00:00.043) 0:00:26.880 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:54 +0000 (0:00:00.022) 0:00:26.903 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:54 +0000 (0:00:00.023) 0:00:26.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:54 +0000 (0:00:00.026) 0:00:26.953 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:54 +0000 (0:00:00.233) 0:00:27.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:54 +0000 (0:00:00.026) 0:00:27.214 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:54 +0000 (0:00:00.021) 0:00:27.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:54 +0000 (0:00:00.021) 0:00:27.257 ******* 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, 0208f78a-b780-4613-967d-7b15f2490914 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:54 +0000 (0:00:00.289) 0:00:27.546 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:54 +0000 (0:00:00.024) 0:00:27.570 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0208f78a-b780-4613-967d-7b15f2490914 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:54 +0000 (0:00:00.023) 0:00:27.594 ******* 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, 0208f78a-b780-4613-967d-7b15f2490914 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0208f78a-b780-4613-967d-7b15f2490914 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:55 +0000 (0:00:00.057) 0:00:27.651 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:55 +0000 (0:00:00.022) 0:00:27.674 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:47:55 +0000 (0:00:00.131) 0:00:27.805 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 19:47:55 +0000 (0:00:00.043) 0:00:27.849 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:55 +0000 (0:00:00.043) 0:00:27.893 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:55 +0000 (0:00:00.042) 0:00:27.935 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:55 +0000 (0:00:00.030) 0:00:27.965 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:55 +0000 (0:00:00.023) 0:00:27.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:55 +0000 (0:00:00.022) 0:00:28.011 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:47:56 +0000 (0:00:00.722) 0:00:28.733 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:47:57 +0000 (0:00:00.957) 0:00:29.691 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:47:57 +0000 (0:00:00.024) 0:00:29.715 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:47:57 +0000 (0:00:00.031) 0:00:29.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:47:57 +0000 (0:00:00.052) 0:00:29.799 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:47:57 +0000 (0:00:00.051) 0:00:29.851 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:47:57 +0000 (0:00:00.023) 0:00:29.874 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:47:57 +0000 (0:00:00.029) 0:00:29.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:47:57 +0000 (0:00:00.028) 0:00:29.933 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:47:57 +0000 (0:00:00.235) 0:00:30.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:47:57 +0000 (0:00:00.028) 0:00:30.197 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:47:57 +0000 (0:00:00.022) 0:00:30.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:47:57 +0000 (0:00:00.021) 0:00:30.241 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:47:57 +0000 (0:00:00.361) 0:00:30.603 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:47:57 +0000 (0:00:00.023) 0:00:30.626 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:47:58 +0000 (0:00:00.025) 0:00:30.651 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:47:58 +0000 (0:00:00.024) 0:00:30.676 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:47:58 +0000 (0:00:00.023) 0:00:30.700 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:47:58 +0000 (0:00:00.133) 0:00:30.834 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:47:58 +0000 (0:00:00.052) 0:00:30.886 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:47:58 +0000 (0:00:00.035) 0:00:30.922 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508071.8820431, "block_size": 4096, "blocks": 0, "ctime": 1707508071.881043, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1707508071.881043, "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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:47:58 +0000 (0:00:00.139) 0:00:31.061 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 19:47:58 +0000 (0:00:00.025) 0:00:31.086 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:47:58 +0000 (0:00:00.038) 0:00:31.125 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:47:58 +0000 (0:00:00.023) 0:00:31.149 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:47:58 +0000 (0:00:00.134) 0:00:31.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:47:58 +0000 (0:00:00.054) 0:00:31.338 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023544", "end": "2024-02-09 19:47:58.843340", "rc": 1, "start": "2024-02-09 19:47:58.819796" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:47:58 +0000 (0:00:00.159) 0:00:31.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:47:58 +0000 (0:00:00.030) 0:00:31.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:47:58 +0000 (0:00:00.024) 0:00:31.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:47:58 +0000 (0:00:00.027) 0:00:31.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:47:58 +0000 (0:00:00.027) 0:00:31.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 19:47:59 +0000 (0:00:00.023) 0:00:31.632 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:47:59 +0000 (0:00:00.030) 0:00:31.663 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:47:59 +0000 (0:00:00.022) 0:00:31.686 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:47:59 +0000 (0:00:00.025) 0:00:31.711 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:47:59 +0000 (0:00:00.045) 0:00:31.757 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.085552", "end": "2024-02-09 19:47:59.333109", "rc": 1, "start": "2024-02-09 19:47:59.247557" } STDOUT: Connection 'statebr' (0208f78a-b780-4613-967d-7b15f2490914) successfully deleted. STDERR: (process:27112): GLib-GIO-WARNING **: 19:47:59.309: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:27112): GLib-GIO-WARNING **: 19:47:59.309: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/35 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:103 Friday 09 February 2024 19:47:59 +0000 (0:00:00.230) 0:00:31.987 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:47:59 +0000 (0:00:00.037) 0:00:32.025 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:47:59 +0000 (0:00:00.025) 0:00:32.050 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:47:59 +0000 (0:00:00.050) 0:00:32.100 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:47:59 +0000 (0:00:00.069) 0:00:32.170 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:47:59 +0000 (0:00:00.035) 0:00:32.205 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004087", "end": "2024-02-09 19:47:59.692123", "rc": 0, "start": "2024-02-09 19:47:59.688036" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:47:59 +0000 (0:00:00.140) 0:00:32.345 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:47:59 +0000 (0:00:00.025) 0:00:32.371 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:47:59 +0000 (0:00:00.024) 0:00:32.396 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:47:59 +0000 (0:00:00.048) 0:00:32.444 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:47:59 +0000 (0:00:00.052) 0:00:32.497 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:47:59 +0000 (0:00:00.047) 0:00:32.544 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:47:59 +0000 (0:00:00.029) 0:00:32.573 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:47:59 +0000 (0:00:00.023) 0:00:32.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:47:59 +0000 (0:00:00.021) 0:00:32.618 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:00 +0000 (0:00:00.733) 0:00:33.351 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:01 +0000 (0:00:00.933) 0:00:34.285 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:01 +0000 (0:00:00.026) 0:00:34.312 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:01 +0000 (0:00:00.027) 0:00:34.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:01 +0000 (0:00:00.031) 0:00:34.370 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:01 +0000 (0:00:00.052) 0:00:34.423 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:01 +0000 (0:00:00.027) 0:00:34.451 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:01 +0000 (0:00:00.025) 0:00:34.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:01 +0000 (0:00:00.029) 0:00:34.505 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:02 +0000 (0:00:00.250) 0:00:34.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:02 +0000 (0:00:00.077) 0:00:34.834 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:02 +0000 (0:00:00.024) 0:00:34.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:02 +0000 (0:00:00.025) 0:00:34.884 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:02 +0000 (0:00:00.343) 0:00:35.228 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:02 +0000 (0:00:00.023) 0:00:35.251 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:02 +0000 (0:00:00.025) 0:00:35.277 ******* 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, 81696ed0-487c-4a7a-932e-8df85c10789a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:02 +0000 (0:00:00.024) 0:00:35.301 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:02 +0000 (0:00:00.022) 0:00:35.324 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:48:02 +0000 (0:00:00.138) 0:00:35.462 ******* 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, 81696ed0-487c-4a7a-932e-8df85c10789a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:48:02 +0000 (0:00:00.025) 0:00:35.488 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:02 +0000 (0:00:00.040) 0:00:35.529 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:02 +0000 (0:00:00.040) 0:00:35.570 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:02 +0000 (0:00:00.026) 0:00:35.596 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:02 +0000 (0:00:00.023) 0:00:35.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:03 +0000 (0:00:00.022) 0:00:35.642 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:03 +0000 (0:00:00.786) 0:00:36.428 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:04 +0000 (0:00:00.938) 0:00:37.366 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:04 +0000 (0:00:00.025) 0:00:37.392 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:04 +0000 (0:00:00.025) 0:00:37.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:04 +0000 (0:00:00.040) 0:00:37.458 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:04 +0000 (0:00:00.081) 0:00:37.539 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:04 +0000 (0:00:00.025) 0:00:37.565 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:04 +0000 (0:00:00.025) 0:00:37.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:05 +0000 (0:00:00.061) 0:00:37.651 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:05 +0000 (0:00:00.239) 0:00:37.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:05 +0000 (0:00:00.029) 0:00:37.921 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:05 +0000 (0:00:00.025) 0:00:37.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:05 +0000 (0:00:00.024) 0:00:37.970 ******* 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, 81696ed0-487c-4a7a-932e-8df85c10789a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:05 +0000 (0:00:00.303) 0:00:38.274 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:05 +0000 (0:00:00.043) 0:00:38.317 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:05 +0000 (0:00:00.033) 0:00:38.351 ******* 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, 81696ed0-487c-4a7a-932e-8df85c10789a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81696ed0-487c-4a7a-932e-8df85c10789a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:05 +0000 (0:00:00.057) 0:00:38.409 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:05 +0000 (0:00:00.036) 0:00:38.445 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 19:48:05 +0000 (0:00:00.149) 0:00:38.595 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:06 +0000 (0:00:00.036) 0:00:38.632 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:06 +0000 (0:00:00.044) 0:00:38.677 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:06 +0000 (0:00:00.028) 0:00:38.706 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:06 +0000 (0:00:00.023) 0:00:38.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:06 +0000 (0:00:00.058) 0:00:38.789 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:06 +0000 (0:00:00.734) 0:00:39.523 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:07 +0000 (0:00:00.947) 0:00:40.471 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:07 +0000 (0:00:00.024) 0:00:40.495 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:07 +0000 (0:00:00.022) 0:00:40.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:07 +0000 (0:00:00.022) 0:00:40.540 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:07 +0000 (0:00:00.043) 0:00:40.584 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:07 +0000 (0:00:00.022) 0:00:40.606 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:07 +0000 (0:00:00.021) 0:00:40.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:08 +0000 (0:00:00.054) 0:00:40.682 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:08 +0000 (0:00:00.234) 0:00:40.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:08 +0000 (0:00:00.028) 0:00:40.945 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:08 +0000 (0:00:00.022) 0:00:40.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:08 +0000 (0:00:00.022) 0:00:40.990 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:08 +0000 (0:00:00.326) 0:00:41.317 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:08 +0000 (0:00:00.022) 0:00:41.339 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:08 +0000 (0:00:00.023) 0:00:41.363 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:08 +0000 (0:00:00.025) 0:00:41.389 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:08 +0000 (0:00:00.021) 0:00:41.411 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:48:08 +0000 (0:00:00.131) 0:00:41.543 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 19:48:08 +0000 (0:00:00.042) 0:00:41.585 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:08 +0000 (0:00:00.041) 0:00:41.627 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:09 +0000 (0:00:00.080) 0:00:41.708 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:09 +0000 (0:00:00.041) 0:00:41.750 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:09 +0000 (0:00:00.029) 0:00:41.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:09 +0000 (0:00:00.023) 0:00:41.802 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:09 +0000 (0:00:00.719) 0:00:42.522 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:10 +0000 (0:00:00.956) 0:00:43.479 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:10 +0000 (0:00:00.025) 0:00:43.505 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:10 +0000 (0:00:00.023) 0:00:43.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:10 +0000 (0:00:00.082) 0:00:43.611 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:11 +0000 (0:00:00.056) 0:00:43.668 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:11 +0000 (0:00:00.041) 0:00:43.710 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:11 +0000 (0:00:00.023) 0:00:43.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:11 +0000 (0:00:00.032) 0:00:43.766 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:11 +0000 (0:00:00.245) 0:00:44.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:11 +0000 (0:00:00.038) 0:00:44.050 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:11 +0000 (0:00:00.027) 0:00:44.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:11 +0000 (0:00:00.041) 0:00:44.119 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:11 +0000 (0:00:00.410) 0:00:44.530 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:11 +0000 (0:00:00.024) 0:00:44.554 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:11 +0000 (0:00:00.025) 0:00:44.580 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:11 +0000 (0:00:00.025) 0:00:44.606 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:12 +0000 (0:00:00.022) 0:00:44.629 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:48:12 +0000 (0:00:00.133) 0:00:44.762 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 19:48:12 +0000 (0:00:00.085) 0:00:44.848 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:48:12 +0000 (0:00:00.043) 0:00:44.891 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:48:12 +0000 (0:00:00.029) 0:00:44.921 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:48:12 +0000 (0:00:00.136) 0:00:45.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:48:12 +0000 (0:00:00.021) 0:00:45.080 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021485", "end": "2024-02-09 19:48:12.583270", "rc": 1, "start": "2024-02-09 19:48:12.561785" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:48:12 +0000 (0:00:00.157) 0:00:45.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:48:12 +0000 (0:00:00.025) 0:00:45.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:48:12 +0000 (0:00:00.022) 0:00:45.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:48:12 +0000 (0:00:00.023) 0:00:45.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:48:12 +0000 (0:00:00.024) 0:00:45.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 19:48:12 +0000 (0:00:00.024) 0:00:45.357 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:48:12 +0000 (0:00:00.027) 0:00:45.384 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:48:12 +0000 (0:00:00.044) 0:00:45.429 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:48:12 +0000 (0:00:00.035) 0:00:45.464 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:48:13 +0000 (0:00:00.175) 0:00:45.640 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:48:13 +0000 (0:00:00.025) 0:00:45.665 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:48:13 +0000 (0:00:00.025) 0:00:45.691 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:48:13 +0000 (0:00:00.043) 0:00:45.734 ******* 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.047254", "end": "2024-02-09 19:48:13.264110", "rc": 1, "start": "2024-02-09 19:48:13.216856" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tests_states.yml:126 Friday 09 February 2024 19:48:13 +0000 (0:00:00.182) 0:00:45.917 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:48:13 +0000 (0:00:00.037) 0:00:45.955 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:48:13 +0000 (0:00:00.024) 0:00:45.979 ******* 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:48:13 +0000 (0:00:00.046) 0:00:46.025 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:48:13 +0000 (0:00:00.035) 0:00:46.061 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:48:13 +0000 (0:00:00.035) 0:00:46.097 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004033", "end": "2024-02-09 19:48:13.582154", "rc": 0, "start": "2024-02-09 19:48:13.578121" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:48:13 +0000 (0:00:00.139) 0:00:46.237 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:48:13 +0000 (0:00:00.024) 0:00:46.261 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:48:13 +0000 (0:00:00.023) 0:00:46.285 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:48:13 +0000 (0:00:00.101) 0:00:46.386 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:13 +0000 (0:00:00.040) 0:00:46.427 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:13 +0000 (0:00:00.040) 0:00:46.467 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:13 +0000 (0:00:00.027) 0:00:46.495 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:13 +0000 (0:00:00.023) 0:00:46.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:13 +0000 (0:00:00.024) 0:00:46.544 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:14 +0000 (0:00:00.724) 0:00:47.268 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:15 +0000 (0:00:00.958) 0:00:48.227 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:15 +0000 (0:00:00.022) 0:00:48.250 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:15 +0000 (0:00:00.021) 0:00:48.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:15 +0000 (0:00:00.021) 0:00:48.293 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:15 +0000 (0:00:00.045) 0:00:48.338 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:15 +0000 (0:00:00.023) 0:00:48.362 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:15 +0000 (0:00:00.022) 0:00:48.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:15 +0000 (0:00:00.026) 0:00:48.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:16 +0000 (0:00:00.230) 0:00:48.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:16 +0000 (0:00:00.026) 0:00:48.667 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:16 +0000 (0:00:00.021) 0:00:48.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:16 +0000 (0:00:00.022) 0:00:48.711 ******* 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, 3d4a969a-be65-4c56-950f-a6b836c0f623 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:16 +0000 (0:00:00.341) 0:00:49.052 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:16 +0000 (0:00:00.024) 0:00:49.077 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3d4a969a-be65-4c56-950f-a6b836c0f623" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:16 +0000 (0:00:00.025) 0:00:49.103 ******* 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, 3d4a969a-be65-4c56-950f-a6b836c0f623\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3d4a969a-be65-4c56-950f-a6b836c0f623" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:16 +0000 (0:00:00.061) 0:00:49.165 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:16 +0000 (0:00:00.022) 0:00:49.187 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:48:16 +0000 (0:00:00.133) 0:00:49.321 ******* 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, 3d4a969a-be65-4c56-950f-a6b836c0f623\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3d4a969a-be65-4c56-950f-a6b836c0f623" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:48:16 +0000 (0:00:00.026) 0:00:49.347 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:16 +0000 (0:00:00.052) 0:00:49.400 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:16 +0000 (0:00:00.051) 0:00:49.451 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:16 +0000 (0:00:00.029) 0:00:49.481 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:16 +0000 (0:00:00.025) 0:00:49.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:16 +0000 (0:00:00.027) 0:00:49.533 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:17 +0000 (0:00:00.726) 0:00:50.260 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:18 +0000 (0:00:00.952) 0:00:51.212 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:18 +0000 (0:00:00.025) 0:00:51.238 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:18 +0000 (0:00:00.023) 0:00:51.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:18 +0000 (0:00:00.021) 0:00:51.283 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:18 +0000 (0:00:00.044) 0:00:51.327 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:18 +0000 (0:00:00.023) 0:00:51.350 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:18 +0000 (0:00:00.023) 0:00:51.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:18 +0000 (0:00:00.027) 0:00:51.401 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:19 +0000 (0:00:00.231) 0:00:51.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:19 +0000 (0:00:00.027) 0:00:51.661 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:19 +0000 (0:00:00.024) 0:00:51.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:19 +0000 (0:00:00.023) 0:00:51.709 ******* 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, 3d4a969a-be65-4c56-950f-a6b836c0f623 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:19 +0000 (0:00:00.291) 0:00:52.001 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:19 +0000 (0:00:00.066) 0:00:52.068 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3d4a969a-be65-4c56-950f-a6b836c0f623 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:19 +0000 (0:00:00.025) 0:00:52.093 ******* 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, 3d4a969a-be65-4c56-950f-a6b836c0f623 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3d4a969a-be65-4c56-950f-a6b836c0f623 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:19 +0000 (0:00:00.026) 0:00:52.120 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:19 +0000 (0:00:00.022) 0:00:52.142 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 19:48:19 +0000 (0:00:00.132) 0:00:52.275 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:19 +0000 (0:00:00.038) 0:00:52.313 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:19 +0000 (0:00:00.043) 0:00:52.357 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:19 +0000 (0:00:00.028) 0:00:52.385 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:19 +0000 (0:00:00.025) 0:00:52.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:19 +0000 (0:00:00.027) 0:00:52.437 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:20 +0000 (0:00:00.732) 0:00:53.170 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:21 +0000 (0:00:00.969) 0:00:54.139 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:21 +0000 (0:00:00.024) 0:00:54.164 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:21 +0000 (0:00:00.022) 0:00:54.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:21 +0000 (0:00:00.021) 0:00:54.208 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:21 +0000 (0:00:00.044) 0:00:54.252 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:21 +0000 (0:00:00.021) 0:00:54.274 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:21 +0000 (0:00:00.022) 0:00:54.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:21 +0000 (0:00:00.025) 0:00:54.322 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:21 +0000 (0:00:00.232) 0:00:54.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:21 +0000 (0:00:00.026) 0:00:54.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:21 +0000 (0:00:00.023) 0:00:54.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:21 +0000 (0:00:00.023) 0:00:54.628 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:22 +0000 (0:00:00.452) 0:00:55.081 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:22 +0000 (0:00:00.023) 0:00:55.104 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:22 +0000 (0:00:00.024) 0:00:55.128 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:22 +0000 (0:00:00.025) 0:00:55.154 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:22 +0000 (0:00:00.022) 0:00:55.176 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:48:22 +0000 (0:00:00.131) 0:00:55.308 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 19:48:22 +0000 (0:00:00.041) 0:00:55.349 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:48:22 +0000 (0:00:00.036) 0:00:55.386 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:48:22 +0000 (0:00:00.041) 0:00:55.427 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:48:22 +0000 (0:00:00.028) 0:00:55.455 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:48:22 +0000 (0:00:00.022) 0:00:55.478 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:48:22 +0000 (0:00:00.022) 0:00:55.500 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:48:23 +0000 (0:00:00.717) 0:00:56.217 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:48:24 +0000 (0:00:00.931) 0:00:57.148 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:48:24 +0000 (0:00:00.024) 0:00:57.173 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:48:24 +0000 (0:00:00.027) 0:00:57.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:48:24 +0000 (0:00:00.021) 0:00:57.222 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:48:24 +0000 (0:00:00.043) 0:00:57.266 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:48:24 +0000 (0:00:00.021) 0:00:57.287 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:48:24 +0000 (0:00:00.021) 0:00:57.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:48:24 +0000 (0:00:00.025) 0:00:57.334 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:48:24 +0000 (0:00:00.234) 0:00:57.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:48:24 +0000 (0:00:00.053) 0:00:57.622 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:48:25 +0000 (0:00:00.021) 0:00:57.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:48:25 +0000 (0:00:00.023) 0:00:57.667 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:48:25 +0000 (0:00:00.307) 0:00:57.975 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:48:25 +0000 (0:00:00.022) 0:00:57.997 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:48:25 +0000 (0:00:00.022) 0:00:58.020 ******* 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-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:48:25 +0000 (0:00:00.024) 0:00:58.044 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:48:25 +0000 (0:00:00.021) 0:00:58.066 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:48:25 +0000 (0:00:00.130) 0:00:58.196 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 19:48:25 +0000 (0:00:00.043) 0:00:58.240 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:48:25 +0000 (0:00:00.036) 0:00:58.276 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:48:25 +0000 (0:00:00.021) 0:00:58.297 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:48:25 +0000 (0:00:00.134) 0:00:58.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:48:25 +0000 (0:00:00.021) 0:00:58.453 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020998", "end": "2024-02-09 19:48:25.956834", "rc": 1, "start": "2024-02-09 19:48:25.935836" } 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:48:26 +0000 (0:00:00.187) 0:00:58.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:48:26 +0000 (0:00:00.022) 0:00:58.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:48:26 +0000 (0:00:00.024) 0:00:58.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:48:26 +0000 (0:00:00.025) 0:00:58.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:48:26 +0000 (0:00:00.023) 0:00:58.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 19:48:26 +0000 (0:00:00.024) 0:00:58.761 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 19:48:26 +0000 (0:00:00.023) 0:00:58.785 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.684549", "end": "2024-02-09 19:48:26.948623", "rc": 0, "start": "2024-02-09 19:48:26.264074" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 19:48:26 +0000 (0:00:00.819) 0:00:59.604 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 19:48:26 +0000 (0:00:00.023) 0:00:59.627 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:48:27 +0000 (0:00:00.023) 0:00:59.651 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:48:27 +0000 (0:00:00.044) 0:00:59.695 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:48:27 +0000 (0:00:00.038) 0:00:59.733 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:48:27 +0000 (0:00:00.147) 0:00:59.881 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:48:27 +0000 (0:00:00.071) 0:00:59.953 ******* 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-bond_options_rewritep96bhyz9/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:48:27 +0000 (0:00:00.023) 0:00:59.976 ******* included: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:48:27 +0000 (0:00:00.041) 0:01:00.018 ******* 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.047237", "end": "2024-02-09 19:48:27.546262", "rc": 1, "start": "2024-02-09 19:48:27.499025" } 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 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 09 February 2024 19:48:27 +0000 (0:00:00.168) 0:01:00.187 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.85s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.33s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.96s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritep96bhyz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritep96bhyz9/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. ---^---^---^---^---^---