# 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_rewritejycikpsa/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_rewritejycikpsa/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.594) 0:00:00.606 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.021) 0:00:00.627 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.240) 0:00:00.868 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.200) 0:00:01.068 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.018) 0:00:01.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.016) 0:00:01.104 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.028) 0:00:01.132 **** 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_rewritejycikpsa/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.189) 0:00:01.321 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.475) 0:00:01.796 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190004", "end": "2024-02-14 17:18:05.145958", "rc": 0, "start": "2024-02-14 17:18:04.955954" } 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_rewritejycikpsa/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.320) 0:00:02.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.010) 0:00:02.127 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.009) 0:00:02.136 **** 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_rewritejycikpsa/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.009) 0:00:02.145 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.384) 0:00:02.530 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.009) 0:00:02.539 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.014) 0:00:02.554 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.010) 0:00:02.565 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.031) 0:00:02.596 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.013) 0:00:02.609 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.011) 0:00:02.620 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004202", "end": "2024-02-14 17:18:05.782752", "rc": 0, "start": "2024-02-14 17:18:05.778550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.131) 0:00:02.752 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.010) 0:00:02.763 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.010) 0:00:02.773 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.020) 0:00:02.794 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013359", "end": "2024-02-14 17:18:05.963338", "rc": 1, "start": "2024-02-14 17:18:05.949979" } 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_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.138) 0:00:02.932 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.015) 0:00:02.948 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.127) 0:00:03.075 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.011) 0:00:03.087 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.016) 0:00:03.103 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.030) 0:00:03.134 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.067) 0:00:03.201 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.011) 0:00:03.212 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.009) 0:00:03.221 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:06 +0000 (0:00:00.011) 0:00:03.233 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:07 +0000 (0:00:00.841) 0:00:04.075 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:08 +0000 (0:00:01.097) 0:00:05.172 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.021) 0:00:05.194 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.020) 0:00:05.214 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.019) 0:00:05.234 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.043) 0:00:05.277 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.029) 0:00:05.306 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.021) 0:00:05.328 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.025) 0:00:05.354 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.360) 0:00:05.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.024) 0:00:05.739 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.019) 0:00:05.758 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.019) 0:00:05.778 **** 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, 4dc869fb-862e-4c87-9329-356eb98bb3bc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.454) 0:00:06.232 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.019) 0:00:06.252 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4dc869fb-862e-4c87-9329-356eb98bb3bc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.019) 0:00:06.272 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4dc869fb-862e-4c87-9329-356eb98bb3bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4dc869fb-862e-4c87-9329-356eb98bb3bc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.040) 0:00:06.312 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.021) 0:00:06.333 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.184) 0:00:06.518 **** 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, 4dc869fb-862e-4c87-9329-356eb98bb3bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4dc869fb-862e-4c87-9329-356eb98bb3bc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.022) 0:00:06.540 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.038) 0:00:06.578 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.034) 0:00:06.613 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.018) 0:00:06.632 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931089.2737331, "block_size": 4096, "blocks": 8, "ctime": 1707931089.1847332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931089.1847332, "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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.135) 0:00:06.767 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.024) 0:00:06.792 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027939", "end": "2024-02-14 17:18:09.980583", "rc": 0, "start": "2024-02-14 17:18:09.952644" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.168) 0:00:06.960 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.022) 0:00:06.983 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.021) 0:00:07.004 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.021) 0:00:07.026 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.021) 0:00:07.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.053) 0:00:07.101 **** 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_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.030) 0:00:07.131 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.030) 0:00:07.162 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.022) 0:00:07.185 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.044) 0:00:07.230 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.036) 0:00:07.266 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931089.1917331, "block_size": 4096, "blocks": 0, "ctime": 1707931089.1877332, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17635, "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": 1707931089.1877332, "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_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.148) 0:00:07.415 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.023) 0:00:07.438 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.020) 0:00:07.458 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.039) 0:00:07.498 **** 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.087351", "end": "2024-02-14 17:18:10.746086", "rc": 1, "start": "2024-02-14 17:18:10.658735" } STDOUT: Connection 'statebr' (4dc869fb-862e-4c87-9329-356eb98bb3bc) successfully deleted. STDERR: (process:8805): GLib-GIO-WARNING **: 17:18:10.719: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 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_rewritejycikpsa/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.226) 0:00:07.724 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.034) 0:00:07.759 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.019) 0:00:07.779 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.068) 0:00:07.848 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.033) 0:00:07.882 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.032) 0:00:07.914 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004487", "end": "2024-02-14 17:18:11.076836", "rc": 0, "start": "2024-02-14 17:18:11.072349" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.144) 0:00:08.058 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.022) 0:00:08.080 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.020) 0:00:08.101 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.037) 0:00:08.139 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008485", "end": "2024-02-14 17:18:11.303388", "rc": 1, "start": "2024-02-14 17:18:11.294903" } 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_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.142) 0:00:08.282 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.032) 0:00:08.314 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.136) 0:00:08.451 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.021) 0:00:08.472 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.035) 0:00:08.507 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.059) 0:00:08.567 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.039) 0:00:08.606 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.025) 0:00:08.632 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.021) 0:00:08.653 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:11 +0000 (0:00:00.019) 0:00:08.673 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:12 +0000 (0:00:00.756) 0:00:09.430 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.953) 0:00:10.383 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.020) 0:00:10.404 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.423 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.443 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.040) 0:00:10.484 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.504 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.523 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.025) 0:00:10.548 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.238) 0:00:10.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.024) 0:00:10.811 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.830 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.019) 0:00:10.850 **** 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, 58a16142-b4bd-4c9a-9995-b202284ecb30 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.307) 0:00:11.158 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.019) 0:00:11.177 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58a16142-b4bd-4c9a-9995-b202284ecb30" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.020) 0:00:11.198 **** 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, 58a16142-b4bd-4c9a-9995-b202284ecb30\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58a16142-b4bd-4c9a-9995-b202284ecb30" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.021) 0:00:11.219 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.042) 0:00:11.262 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.133) 0:00:11.395 **** 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, 58a16142-b4bd-4c9a-9995-b202284ecb30\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58a16142-b4bd-4c9a-9995-b202284ecb30" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.021) 0:00:11.417 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.040) 0:00:11.457 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.032) 0:00:11.490 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.136) 0:00:11.626 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.023) 0:00:11.650 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.034) 0:00:11.685 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.021) 0:00:11.706 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931094.1597238, "block_size": 4096, "blocks": 8, "ctime": 1707931094.1597238, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931094.1597238, "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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.134) 0:00:11.841 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.021) 0:00:11.862 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023748", "end": "2024-02-14 17:18:15.040998", "rc": 0, "start": "2024-02-14 17:18:15.017250" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.157) 0:00:12.020 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.023) 0:00:12.044 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.021) 0:00:12.066 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.049) 0:00:12.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.024) 0:00:12.139 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.021) 0:00:12.161 **** 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_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.023) 0:00:12.185 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.021) 0:00:12.207 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.026) 0:00:12.233 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.019) 0:00:12.252 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.020) 0:00:12.273 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.037) 0:00:12.310 **** 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.051456", "end": "2024-02-14 17:18:15.517653", "rc": 1, "start": "2024-02-14 17:18:15.466197" } STDOUT: Connection 'statebr' (58a16142-b4bd-4c9a-9995-b202284ecb30) 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_rewritejycikpsa/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.186) 0:00:12.497 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.034) 0:00:12.531 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.023) 0:00:12.554 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.043) 0:00:12.598 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.034) 0:00:12.632 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.054) 0:00:12.686 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004041", "end": "2024-02-14 17:18:15.847853", "rc": 0, "start": "2024-02-14 17:18:15.843812" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.141) 0:00:12.828 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.021) 0:00:12.849 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.022) 0:00:12.872 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.038) 0:00:12.911 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:15 +0000 (0:00:00.034) 0:00:12.945 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:16 +0000 (0:00:00.038) 0:00:12.983 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:16 +0000 (0:00:00.024) 0:00:13.008 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:16 +0000 (0:00:00.019) 0:00:13.027 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:16 +0000 (0:00:00.019) 0:00:13.047 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:16 +0000 (0:00:00.731) 0:00:13.779 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.961) 0:00:14.740 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.021) 0:00:14.762 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.020) 0:00:14.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.020) 0:00:14.803 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.040) 0:00:14.844 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.019) 0:00:14.863 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.019) 0:00:14.883 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.022) 0:00:14.905 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.232) 0:00:15.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.024) 0:00:15.162 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.018) 0:00:15.181 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.038) 0:00:15.219 **** 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, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.330) 0:00:15.549 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.019) 0:00:15.569 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.020) 0:00:15.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, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.020) 0:00:15.611 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.019) 0:00:15.631 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.136) 0:00:15.767 **** 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, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.022) 0:00:15.789 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.037) 0:00:15.827 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.037) 0:00:15.864 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.040) 0:00:15.905 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.024) 0:00:15.930 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.020) 0:00:15.950 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.046) 0:00:15.997 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.742) 0:00:16.739 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.939) 0:00:17.679 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.021) 0:00:17.700 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.019) 0:00:17.720 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.020) 0:00:17.740 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.041) 0:00:17.782 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.019) 0:00:17.802 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.039) 0:00:17.841 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:20 +0000 (0:00:00.024) 0:00:17.865 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.230) 0:00:18.096 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.025) 0:00:18.121 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.021) 0:00:18.143 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.019) 0:00:18.162 **** 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, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.283) 0:00:18.446 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.020) 0:00:18.466 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.020) 0:00:18.487 **** 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, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a3d50f9-84b8-4d66-a880-f89a2c32c0f8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.020) 0:00:18.507 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.021) 0:00:18.528 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.132) 0:00:18.660 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.039) 0:00:18.700 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.032) 0:00:18.732 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931098.5187154, "block_size": 4096, "blocks": 0, "ctime": 1707931098.5177155, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17635, "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": 1707931098.5177155, "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_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.160) 0:00:18.893 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.022) 0:00:18.915 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:21 +0000 (0:00:00.035) 0:00:18.951 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.020) 0:00:18.972 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931098.5797153, "block_size": 4096, "blocks": 8, "ctime": 1707931098.5157154, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931098.5157154, "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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.136) 0:00:19.109 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.022) 0:00:19.131 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024675", "end": "2024-02-14 17:18:22.311284", "rc": 0, "start": "2024-02-14 17:18:22.286609" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.159) 0:00:19.291 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.022) 0:00:19.314 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.021) 0:00:19.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.021) 0:00:19.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.022) 0:00:19.380 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.021) 0:00:19.401 **** 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_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.021) 0:00:19.423 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.023) 0:00:19.446 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.022) 0:00:19.469 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.019) 0:00:19.488 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.020) 0:00:19.509 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.086) 0:00:19.595 **** 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.084497", "end": "2024-02-14 17:18:22.837082", "rc": 1, "start": "2024-02-14 17:18:22.752585" } STDOUT: Connection 'statebr' (0a3d50f9-84b8-4d66-a880-f89a2c32c0f8) 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_rewritejycikpsa/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.221) 0:00:19.817 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.034) 0:00:19.851 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.020) 0:00:19.872 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.041) 0:00:19.914 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.033) 0:00:19.947 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.032) 0:00:19.979 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004457", "end": "2024-02-14 17:18:23.141776", "rc": 0, "start": "2024-02-14 17:18:23.137319" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.142) 0:00:20.122 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.022) 0:00:20.144 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.021) 0:00:20.165 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.038) 0:00:20.204 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.065) 0:00:20.270 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.040) 0:00:20.311 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.025) 0:00:20.336 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.020) 0:00:20.356 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.019) 0:00:20.376 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.748) 0:00:21.124 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.961) 0:00:22.085 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.022) 0:00:22.108 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.020) 0:00:22.128 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.019) 0:00:22.148 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.045) 0:00:22.193 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.021) 0:00:22.214 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.027) 0:00:22.242 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.027) 0:00:22.269 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.239) 0:00:22.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.025) 0:00:22.534 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.021) 0:00:22.555 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.020) 0:00:22.575 **** 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, e0cf9524-91eb-443a-bd68-7e0f34ee77f5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.338) 0:00:22.914 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.019) 0:00:22.934 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0cf9524-91eb-443a-bd68-7e0f34ee77f5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.020) 0:00:22.954 **** 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, e0cf9524-91eb-443a-bd68-7e0f34ee77f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0cf9524-91eb-443a-bd68-7e0f34ee77f5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.020) 0:00:22.974 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.018) 0:00:22.993 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.129) 0:00:23.123 **** 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, e0cf9524-91eb-443a-bd68-7e0f34ee77f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0cf9524-91eb-443a-bd68-7e0f34ee77f5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.022) 0:00:23.145 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.032) 0:00:23.177 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.039) 0:00:23.217 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.025) 0:00:23.243 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.019) 0:00:23.262 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.019) 0:00:23.281 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:27 +0000 (0:00:00.744) 0:00:24.026 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.956) 0:00:24.982 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.021) 0:00:25.003 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.019) 0:00:25.023 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.019) 0:00:25.042 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.040) 0:00:25.082 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.019) 0:00:25.102 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.019) 0:00:25.121 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.022) 0:00:25.143 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.233) 0:00:25.376 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.024) 0:00:25.401 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.020) 0:00:25.421 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.020) 0:00:25.442 **** 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, e0cf9524-91eb-443a-bd68-7e0f34ee77f5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.287) 0:00:25.729 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.020) 0:00:25.750 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0cf9524-91eb-443a-bd68-7e0f34ee77f5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.046) 0:00:25.797 **** 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, e0cf9524-91eb-443a-bd68-7e0f34ee77f5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0cf9524-91eb-443a-bd68-7e0f34ee77f5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.022) 0:00:25.819 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:28 +0000 (0:00:00.020) 0:00:25.840 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.133) 0:00:25.973 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.036) 0:00:26.009 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.037) 0:00:26.046 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.037) 0:00:26.084 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.025) 0:00:26.109 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.021) 0:00:26.130 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.020) 0:00:26.151 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.728) 0:00:26.879 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.962) 0:00:27.841 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.022) 0:00:27.864 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.021) 0:00:27.886 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.021) 0:00:27.907 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.041) 0:00:27.948 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.019) 0:00:27.968 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.019) 0:00:27.987 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.025) 0:00:28.012 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.231) 0:00:28.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.024) 0:00:28.268 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.019) 0:00:28.287 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.045) 0:00:28.333 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.320) 0:00:28.653 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.021) 0:00:28.674 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.020) 0:00:28.695 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.020) 0:00:28.716 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.019) 0:00:28.736 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.138) 0:00:28.874 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:18:31 +0000 (0:00:00.049) 0:00:28.924 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.036) 0:00:28.960 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931105.8746998, "block_size": 4096, "blocks": 0, "ctime": 1707931105.8737, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17637, "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": 1707931105.8737, "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_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.140) 0:00:29.101 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.021) 0:00:29.122 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.033) 0:00:29.156 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.020) 0:00:29.176 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.159) 0:00:29.336 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.021) 0:00:29.358 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024907", "end": "2024-02-14 17:18:32.538108", "rc": 1, "start": "2024-02-14 17:18:32.513201" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.159) 0:00:29.517 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.022) 0:00:29.540 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.021) 0:00:29.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.020) 0:00:29.582 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.020) 0:00:29.603 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.021) 0:00:29.624 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.021) 0:00:29.645 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.020) 0:00:29.666 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.022) 0:00:29.688 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.039) 0:00:29.727 **** 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.084155", "end": "2024-02-14 17:18:32.968365", "rc": 1, "start": "2024-02-14 17:18:32.884210" } STDOUT: Connection 'statebr' (e0cf9524-91eb-443a-bd68-7e0f34ee77f5) successfully deleted. STDERR: (process:10140): GLib-GIO-WARNING **: 17:18:32.945: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/27 but no object proxy exists (process:10140): GLib-GIO-WARNING **: 17:18:32.945: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/68 but no object proxy exists (process:10140): GLib-GIO-WARNING **: 17:18:32.945: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/50 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_rewritejycikpsa/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:18:32 +0000 (0:00:00.220) 0:00:29.948 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.035) 0:00:29.983 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.020) 0:00:30.004 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.089) 0:00:30.093 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.034) 0:00:30.127 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.032) 0:00:30.160 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004554", "end": "2024-02-14 17:18:33.320471", "rc": 0, "start": "2024-02-14 17:18:33.315917" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.140) 0:00:30.301 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.022) 0:00:30.323 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.021) 0:00:30.344 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.041) 0:00:30.386 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.032) 0:00:30.418 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.036) 0:00:30.455 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.024) 0:00:30.480 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.019) 0:00:30.500 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.018) 0:00:30.518 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.764) 0:00:31.282 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.942) 0:00:32.225 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.022) 0:00:32.247 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.019) 0:00:32.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.020) 0:00:32.288 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.042) 0:00:32.330 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.019) 0:00:32.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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.020) 0:00:32.370 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.024) 0:00:32.394 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.276) 0:00:32.670 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.025) 0:00:32.696 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.020) 0:00:32.716 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.020) 0:00:32.737 **** 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, 16c7a43f-4e1c-4189-96a6-2797894d7bed TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.340) 0:00:33.078 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.023) 0:00:33.101 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.025) 0:00:33.126 **** 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, 16c7a43f-4e1c-4189-96a6-2797894d7bed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.025) 0:00:33.152 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.025) 0:00:33.178 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.139) 0:00:33.317 **** 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, 16c7a43f-4e1c-4189-96a6-2797894d7bed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.022) 0:00:33.340 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.033) 0:00:33.373 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.038) 0:00:33.412 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.055) 0:00:33.467 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.021) 0:00:33.489 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:36 +0000 (0:00:00.021) 0:00:33.510 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:37 +0000 (0:00:00.758) 0:00:34.269 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.955) 0:00:35.224 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.020) 0:00:35.245 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.019) 0:00:35.264 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.019) 0:00:35.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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.061) 0:00:35.345 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.020) 0:00:35.365 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.022) 0:00:35.388 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.024) 0:00:35.412 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.232) 0:00:35.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.024) 0:00:35.669 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.021) 0:00:35.691 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.019) 0:00:35.711 **** 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, 16c7a43f-4e1c-4189-96a6-2797894d7bed skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.283) 0:00:35.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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.020) 0:00:36.015 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.024) 0:00:36.039 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16c7a43f-4e1c-4189-96a6-2797894d7bed skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.023) 0:00:36.062 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.019) 0:00:36.082 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.130) 0:00:36.213 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.033) 0:00:36.247 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.058) 0:00:36.305 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.025) 0:00:36.331 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.019) 0:00:36.350 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.021) 0:00:36.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:40 +0000 (0:00:00.727) 0:00:37.099 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.937) 0:00:38.036 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.021) 0:00:38.057 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.019) 0:00:38.076 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.041) 0:00:38.118 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.042) 0:00:38.160 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.019) 0:00:38.180 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.019) 0:00:38.200 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.023) 0:00:38.223 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.232) 0:00:38.456 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.024) 0:00:38.480 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.033) 0:00:38.514 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.023) 0:00:38.537 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.320) 0:00:38.858 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.019) 0:00:38.878 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.021) 0:00:38.899 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.021) 0:00:38.920 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:41 +0000 (0:00:00.019) 0:00:38.940 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.130) 0:00:39.070 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.063) 0:00:39.134 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.038) 0:00:39.173 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.037) 0:00:39.210 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.024) 0:00:39.235 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.020) 0:00:39.255 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.021) 0:00:39.277 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.724) 0:00:40.001 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.960) 0:00:40.961 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.022) 0:00:40.983 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.020) 0:00:41.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.020) 0:00:41.024 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.042) 0:00:41.067 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.019) 0:00:41.087 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.019) 0:00:41.106 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.022) 0:00:41.128 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.228) 0:00:41.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.026) 0:00:41.384 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.019) 0:00:41.403 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.019) 0:00:41.422 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.363) 0:00:41.786 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.019) 0:00:41.805 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.020) 0:00:41.825 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.044) 0:00:41.870 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.021) 0:00:41.891 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.130) 0:00:42.022 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.041) 0:00:42.064 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.036) 0:00:42.101 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.026) 0:00:42.127 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.135) 0:00:42.262 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.019) 0:00:42.282 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023109", "end": "2024-02-14 17:18:45.458494", "rc": 1, "start": "2024-02-14 17:18:45.435385" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.154) 0:00:42.437 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.024) 0:00:42.461 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.021) 0:00:42.483 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.021) 0:00:42.504 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.020) 0:00:42.525 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.020) 0:00:42.546 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.023) 0:00:42.569 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.066) 0:00:42.635 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.034) 0:00:42.670 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.137) 0:00:42.807 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.022) 0:00:42.830 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.020) 0:00:42.851 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.037) 0:00:42.888 **** 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.045385", "end": "2024-02-14 17:18:46.088615", "rc": 1, "start": "2024-02-14 17:18:46.043230" } 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_rewritejycikpsa/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.179) 0:00:43.067 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.034) 0:00:43.102 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.020) 0:00:43.122 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.042) 0:00:43.165 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.032) 0:00:43.197 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.058) 0:00:43.256 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003892", "end": "2024-02-14 17:18:46.414790", "rc": 0, "start": "2024-02-14 17:18:46.410898" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.138) 0:00:43.395 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.021) 0:00:43.416 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.020) 0:00:43.437 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.041) 0:00:43.479 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.038) 0:00:43.517 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.039) 0:00:43.557 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.025) 0:00:43.583 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.021) 0:00:43.604 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.020) 0:00:43.624 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:47 +0000 (0:00:00.732) 0:00:44.356 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.965) 0:00:45.322 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.030) 0:00:45.352 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.042) 0:00:45.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.024) 0:00:45.420 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.043) 0:00:45.463 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.020) 0:00:45.484 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.019) 0:00:45.503 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.025) 0:00:45.529 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.234) 0:00:45.764 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.025) 0:00:45.789 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.019) 0:00:45.808 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:48 +0000 (0:00:00.043) 0:00:45.852 **** 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, c69b5377-89a1-4456-aa7d-882caad17f80 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.346) 0:00:46.199 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.021) 0:00:46.220 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c69b5377-89a1-4456-aa7d-882caad17f80" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.022) 0:00:46.243 **** 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, c69b5377-89a1-4456-aa7d-882caad17f80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c69b5377-89a1-4456-aa7d-882caad17f80" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.021) 0:00:46.265 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.019) 0:00:46.285 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.134) 0:00:46.419 **** 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, c69b5377-89a1-4456-aa7d-882caad17f80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c69b5377-89a1-4456-aa7d-882caad17f80" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.022) 0:00:46.441 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.034) 0:00:46.476 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.038) 0:00:46.514 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.024) 0:00:46.539 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.019) 0:00:46.558 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:49 +0000 (0:00:00.019) 0:00:46.578 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:50 +0000 (0:00:00.750) 0:00:47.328 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.939) 0:00:48.267 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.020) 0:00:48.288 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.327 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.041) 0:00:48.369 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.389 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.408 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.023) 0:00:48.432 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.253) 0:00:48.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.024) 0:00:48.710 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.729 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:51 +0000 (0:00:00.019) 0:00:48.748 **** 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, c69b5377-89a1-4456-aa7d-882caad17f80 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.284) 0:00:49.033 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.021) 0:00:49.054 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c69b5377-89a1-4456-aa7d-882caad17f80 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.021) 0:00:49.076 **** 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, c69b5377-89a1-4456-aa7d-882caad17f80 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c69b5377-89a1-4456-aa7d-882caad17f80 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.022) 0:00:49.098 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.019) 0:00:49.117 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.129) 0:00:49.247 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.034) 0:00:49.282 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.037) 0:00:49.320 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.024) 0:00:49.344 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.020) 0:00:49.364 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:52 +0000 (0:00:00.046) 0:00:49.411 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:53 +0000 (0:00:00.730) 0:00:50.142 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.937) 0:00:51.079 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.020) 0:00:51.100 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.019) 0:00:51.120 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.019) 0:00:51.139 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.042) 0:00:51.181 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.021) 0:00:51.202 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.019) 0:00:51.222 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.043) 0:00:51.266 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.233) 0:00:51.499 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.025) 0:00:51.525 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.019) 0:00:51.544 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.019) 0:00:51.564 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:54 +0000 (0:00:00.380) 0:00:51.945 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.021) 0:00:51.966 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.021) 0:00:51.987 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.021) 0:00:52.009 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.019) 0:00:52.028 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.132) 0:00:52.161 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.035) 0:00:52.197 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.032) 0:00:52.229 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.060) 0:00:52.290 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.025) 0:00:52.316 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.019) 0:00:52.336 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:55 +0000 (0:00:00.019) 0:00:52.355 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:56 +0000 (0:00:00.733) 0:00:53.089 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.933) 0:00:54.023 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.022) 0:00:54.045 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.021) 0:00:54.066 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.039) 0:00:54.106 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.042) 0:00:54.148 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.020) 0:00:54.169 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.023) 0:00:54.192 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.024) 0:00:54.216 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.248) 0:00:54.464 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.024) 0:00:54.488 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.022) 0:00:54.511 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.019) 0:00:54.530 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.298) 0:00:54.829 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.019) 0:00:54.849 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.020) 0:00:54.869 **** 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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.020) 0:00:54.890 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:57 +0000 (0:00:00.019) 0:00:54.909 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.133) 0:00:55.043 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.067) 0:00:55.110 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.035) 0:00:55.146 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.021) 0:00:55.167 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.135) 0:00:55.302 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.019) 0:00:55.322 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021348", "end": "2024-02-14 17:18:58.497982", "rc": 1, "start": "2024-02-14 17:18:58.476634" } 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.154) 0:00:55.477 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.021) 0:00:55.498 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.021) 0:00:55.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.020) 0:00:55.539 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.020) 0:00:55.560 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.020) 0:00:55.580 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:18:58 +0000 (0:00:00.022) 0:00:55.602 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.697014", "end": "2024-02-14 17:18:59.455853", "rc": 0, "start": "2024-02-14 17:18:58.758839" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.857) 0:00:56.459 **** 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_rewritejycikpsa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.020) 0:00:56.480 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.020) 0:00:56.501 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.039) 0:00:56.541 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.033) 0:00:56.574 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.135) 0:00:56.710 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.023) 0:00:56.733 **** 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_rewritejycikpsa/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.020) 0:00:56.754 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:59 +0000 (0:00:00.043) 0:00:56.797 **** 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.050761", "end": "2024-02-14 17:19:00.004522", "rc": 1, "start": "2024-02-14 17:18:59.953761" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:19:00 +0000 (0:00:00.187) 0:00:56.984 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008781", "end": "2024-02-14 17:19:00.148217", "rc": 0, "start": "2024-02-14 17:19:00.139436" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:7d:3b:c4:08:97 brd ff:ff:ff:ff:ff:ff inet 10.31.11.178/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3387sec preferred_lft 3387sec inet6 fe80::107d:3bff:fec4:897/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.178 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:19:00 +0000 (0:00:00.144) 0:00:57.128 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.668437", "end": "2024-02-14 17:19:00.958093", "rc": 0, "start": "2024-02-14 17:19:00.289656" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 708 0 --:--:-- --:--:-- --:--:-- 709 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1406 0 --:--:-- --:--:-- --:--:-- 1405 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 14 February 2024 17:19:00 +0000 (0:00:00.799) 0:00:57.927 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.34s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.14s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.04s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.95s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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_rewritejycikpsa/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. ---^---^---^---^---^---