# 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_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.521) 0:00:00.533 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.022) 0:00:00.556 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.223) 0:00:00.779 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.187) 0:00:00.966 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.020) 0:00:00.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.017) 0:00:01.004 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.030) 0:00:01.035 ****** 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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.179) 0:00:01.214 ****** 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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.439) 0:00:01.654 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192679", "end": "2024-02-06 22:22:28.226006", "rc": 0, "start": "2024-02-06 22:22:28.033327" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.312) 0:00:01.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.010) 0:00:01.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.009) 0:00:01.987 ****** 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.010) 0:00:01.998 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.388) 0:00:02.386 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.011) 0:00:02.398 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.016) 0:00:02.414 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.012) 0:00:02.426 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.032) 0:00:02.459 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.013) 0:00:02.473 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.012) 0:00:02.485 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003394", "end": "2024-02-06 22:22:28.864792", "rc": 0, "start": "2024-02-06 22:22:28.861398" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.118) 0:00:02.604 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.011) 0:00:02.616 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.010) 0:00:02.627 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.019) 0:00:02.647 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010562", "end": "2024-02-06 22:22:29.034204", "rc": 1, "start": "2024-02-06 22:22:29.023642" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.126) 0:00:02.773 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.015) 0:00:02.788 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.118) 0:00:02.906 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.012) 0:00:02.918 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.018) 0:00:02.937 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.031) 0:00:02.968 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.067) 0:00:03.035 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.011) 0:00:03.046 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.009) 0:00:03.056 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.009) 0:00:03.065 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.812) 0:00:03.878 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.798) 0:00:04.676 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.021) 0:00:04.697 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.020) 0:00:04.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.020) 0:00:04.739 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.041) 0:00:04.781 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.020) 0:00:04.801 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.019) 0:00:04.821 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.023) 0:00:04.844 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.354) 0:00:05.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.023) 0:00:05.222 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.020) 0:00:05.243 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.019) 0:00:05.263 ****** 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, d064199b-721b-4604-8707-fa718237fd8a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.438) 0:00:05.701 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.023) 0:00:05.725 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d064199b-721b-4604-8707-fa718237fd8a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.022) 0:00:05.748 ****** 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, d064199b-721b-4604-8707-fa718237fd8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d064199b-721b-4604-8707-fa718237fd8a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.045) 0:00:05.793 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.021) 0:00:05.815 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.177) 0:00:05.993 ****** 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, d064199b-721b-4604-8707-fa718237fd8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d064199b-721b-4604-8707-fa718237fd8a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.022) 0:00:06.015 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.038) 0:00:06.054 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.036) 0:00:06.090 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.020) 0:00:06.110 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258151.8870134, "block_size": 4096, "blocks": 8, "ctime": 1707258151.8860133, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4429250, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258151.8860133, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.129) 0:00:06.240 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.024) 0:00:06.265 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022980", "end": "2024-02-06 22:22:32.668016", "rc": 0, "start": "2024-02-06 22:22:32.645036" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.155) 0:00:06.420 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.023) 0:00:06.444 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.023) 0:00:06.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.023) 0:00:06.490 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.024) 0:00:06.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.023) 0:00:06.539 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.049) 0:00:06.588 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.025) 0:00:06.613 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.022) 0:00:06.635 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.042) 0:00:06.678 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:32 +0000 (0:00:00.035) 0:00:06.713 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258151.897013, "block_size": 4096, "blocks": 0, "ctime": 1707258151.8890133, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1707258151.8890133, "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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.133) 0:00:06.846 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.024) 0:00:06.870 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.023) 0:00:06.894 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.040) 0:00:06.934 ****** 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.082964", "end": "2024-02-06 22:22:33.397103", "rc": 1, "start": "2024-02-06 22:22:33.314139" } STDOUT: Connection 'statebr' (d064199b-721b-4604-8707-fa718237fd8a) successfully deleted. STDERR: (process:23031): GLib-GIO-WARNING **: 22:22:33.374: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/12 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.212) 0:00:07.147 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.035) 0:00:07.182 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.021) 0:00:07.203 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.042) 0:00:07.245 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.055) 0:00:07.301 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.033) 0:00:07.334 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2024-02-06 22:22:33.717441", "rc": 0, "start": "2024-02-06 22:22:33.713900" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.134) 0:00:07.468 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.021) 0:00:07.490 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.021) 0:00:07.511 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.038) 0:00:07.549 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007400", "end": "2024-02-06 22:22:33.935872", "rc": 1, "start": "2024-02-06 22:22:33.928472" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.136) 0:00:07.686 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.035) 0:00:07.721 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.132) 0:00:07.853 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.025) 0:00:07.879 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.041) 0:00:07.921 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.062) 0:00:07.983 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.038) 0:00:08.022 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.025) 0:00:08.047 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.019) 0:00:08.067 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.019) 0:00:08.086 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.758) 0:00:08.844 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.636) 0:00:09.481 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.021) 0:00:09.502 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.041) 0:00:09.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.021) 0:00:09.565 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.044) 0:00:09.610 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.039) 0:00:09.650 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.023) 0:00:09.674 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.040) 0:00:09.714 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.254) 0:00:09.968 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.028) 0:00:09.997 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.022) 0:00:10.020 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.019) 0:00:10.040 ****** 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, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.302) 0:00:10.342 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.021) 0:00:10.363 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.025) 0:00:10.389 ****** 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, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.025) 0:00:10.414 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.023) 0:00:10.438 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.139) 0:00:10.577 ****** 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, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c45a3c15-41ed-4248-b8da-d5e7b18c2a9c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.022) 0:00:10.600 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.086) 0:00:10.686 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.035) 0:00:10.722 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.130) 0:00:10.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.023) 0:00:10.875 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.036) 0:00:10.911 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.020) 0:00:10.932 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258156.5638268, "block_size": 4096, "blocks": 8, "ctime": 1707258156.5638268, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258156.5638268, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.128) 0:00:11.060 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.022) 0:00:11.083 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022562", "end": "2024-02-06 22:22:37.483150", "rc": 0, "start": "2024-02-06 22:22:37.460588" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.151) 0:00:11.234 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.024) 0:00:11.259 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.024) 0:00:11.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.026) 0:00:11.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.025) 0:00:11.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.022) 0:00:11.358 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.046) 0:00:11.404 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.023) 0:00:11.428 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.021) 0:00:11.449 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.019) 0:00:11.469 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.020) 0:00:11.489 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.038) 0:00:11.527 ****** 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.045053", "end": "2024-02-06 22:22:37.950662", "rc": 1, "start": "2024-02-06 22:22:37.905609" } STDOUT: Connection 'statebr' (c45a3c15-41ed-4248-b8da-d5e7b18c2a9c) 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.172) 0:00:11.700 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.034) 0:00:11.735 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.020) 0:00:11.755 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.043) 0:00:11.798 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.031) 0:00:11.830 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.030) 0:00:11.861 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004561", "end": "2024-02-06 22:22:39.243732", "rc": 0, "start": "2024-02-06 22:22:38.239171" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:39 +0000 (0:00:01.132) 0:00:12.993 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.022) 0:00:13.015 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.021) 0:00:13.037 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.036) 0:00:13.074 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.036) 0:00:13.110 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.047) 0:00:13.157 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.025) 0:00:13.183 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.021) 0:00:13.205 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.021) 0:00:13.226 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.756) 0:00:13.983 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.630) 0:00:14.613 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.020) 0:00:14.634 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.020) 0:00:14.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.024) 0:00:14.678 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.046) 0:00:14.725 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.030) 0:00:14.755 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.021) 0:00:14.776 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.025) 0:00:14.802 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.224) 0:00:15.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.023) 0:00:15.050 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.021) 0:00:15.072 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.045) 0:00:15.117 ****** 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, eed01021-9b36-4d62-929c-b07ee769d318 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.325) 0:00:15.443 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.022) 0:00:15.465 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed01021-9b36-4d62-929c-b07ee769d318" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.022) 0:00:15.488 ****** 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, eed01021-9b36-4d62-929c-b07ee769d318\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed01021-9b36-4d62-929c-b07ee769d318" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.024) 0:00:15.512 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.020) 0:00:15.533 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.132) 0:00:15.666 ****** 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, eed01021-9b36-4d62-929c-b07ee769d318\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed01021-9b36-4d62-929c-b07ee769d318" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.023) 0:00:15.689 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.040) 0:00:15.730 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.040) 0:00:15.770 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.040) 0:00:15.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.025) 0:00:15.836 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.021) 0:00:15.858 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.020) 0:00:15.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.787) 0:00:16.666 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.650) 0:00:17.317 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.026) 0:00:17.344 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.034) 0:00:17.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.021) 0:00:17.399 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.041) 0:00:17.441 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.019) 0:00:17.460 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.019) 0:00:17.480 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.027) 0:00:17.507 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.247) 0:00:17.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.024) 0:00:17.778 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.020) 0:00:17.799 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.019) 0:00:17.818 ****** 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, eed01021-9b36-4d62-929c-b07ee769d318 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.273) 0:00:18.092 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.021) 0:00:18.113 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eed01021-9b36-4d62-929c-b07ee769d318 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.022) 0:00:18.136 ****** 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, eed01021-9b36-4d62-929c-b07ee769d318 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eed01021-9b36-4d62-929c-b07ee769d318 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.021) 0:00:18.157 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.024) 0:00:18.182 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.126) 0:00:18.308 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.039) 0:00:18.347 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.032) 0:00:18.380 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258161.6376245, "block_size": 4096, "blocks": 0, "ctime": 1707258161.6366246, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1707258161.6366246, "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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.132) 0:00:18.512 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.023) 0:00:18.535 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.056) 0:00:18.592 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.020) 0:00:18.613 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258161.6356246, "block_size": 4096, "blocks": 8, "ctime": 1707258161.6346247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258161.6346247, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.129) 0:00:18.742 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.021) 0:00:18.764 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022997", "end": "2024-02-06 22:22:45.165274", "rc": 0, "start": "2024-02-06 22:22:45.142277" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.153) 0:00:18.918 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:18.941 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:18.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.022) 0:00:18.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:19.011 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.024) 0:00:19.035 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:19.058 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.024) 0:00:19.083 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:19.107 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.021) 0:00:19.128 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.025) 0:00:19.153 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.038) 0:00:19.192 ****** 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.082662", "end": "2024-02-06 22:22:45.654887", "rc": 1, "start": "2024-02-06 22:22:45.572225" } STDOUT: Connection 'statebr' (eed01021-9b36-4d62-929c-b07ee769d318) successfully deleted. STDERR: (process:23796): GLib-GIO-WARNING **: 22:22:45.633: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 but no object proxy exists (process:23796): GLib-GIO-WARNING **: 22:22:45.633: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/42 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.236) 0:00:19.428 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.036) 0:00:19.465 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.021) 0:00:19.486 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.041) 0:00:19.527 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.032) 0:00:19.560 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.035) 0:00:19.595 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003711", "end": "2024-02-06 22:22:45.976634", "rc": 0, "start": "2024-02-06 22:22:45.972923" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.132) 0:00:19.727 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.022) 0:00:19.750 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.023) 0:00:19.773 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.041) 0:00:19.815 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.037) 0:00:19.852 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.064) 0:00:19.916 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.025) 0:00:19.942 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.021) 0:00:19.964 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.021) 0:00:19.986 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.743) 0:00:20.729 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.632) 0:00:21.362 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.020) 0:00:21.382 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.021) 0:00:21.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.020) 0:00:21.424 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.047) 0:00:21.472 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.022) 0:00:21.494 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.044) 0:00:21.538 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.027) 0:00:21.566 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.238) 0:00:21.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.026) 0:00:21.831 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:21.852 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:21.874 ****** 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, 971be356-e3a3-404a-ad40-4b05f6afc608 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.330) 0:00:22.205 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:22.226 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.022) 0:00:22.249 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:22.270 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:22.292 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.128) 0:00:22.421 ****** 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, 971be356-e3a3-404a-ad40-4b05f6afc608\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:22.443 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.034) 0:00:22.477 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.064) 0:00:22.541 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.026) 0:00:22.568 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.022) 0:00:22.591 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.022) 0:00:22.613 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.754) 0:00:23.367 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.655) 0:00:24.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.022) 0:00:24.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.020) 0:00:24.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.020) 0:00:24.086 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.042) 0:00:24.129 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.052) 0:00:24.181 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.037) 0:00:24.219 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.033) 0:00:24.252 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.227) 0:00:24.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.025) 0:00:24.505 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.019) 0:00:24.525 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.019) 0:00:24.544 ****** 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, 971be356-e3a3-404a-ad40-4b05f6afc608 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.281) 0:00:24.826 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.026) 0:00:24.853 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.024) 0:00:24.877 ****** 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, 971be356-e3a3-404a-ad40-4b05f6afc608 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 971be356-e3a3-404a-ad40-4b05f6afc608 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.029) 0:00:24.906 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.019) 0:00:24.926 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.126) 0:00:25.052 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.043) 0:00:25.095 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.066) 0:00:25.162 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.038) 0:00:25.200 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.026) 0:00:25.227 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.019) 0:00:25.246 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.021) 0:00:25.268 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.743) 0:00:26.011 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.631) 0:00:26.643 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.023) 0:00:26.666 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.046) 0:00:26.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.021) 0:00:26.734 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.044) 0:00:26.779 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.021) 0:00:26.801 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.021) 0:00:26.822 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.024) 0:00:26.847 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.226) 0:00:27.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.024) 0:00:27.098 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.025) 0:00:27.124 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.021) 0:00:27.145 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.309) 0:00:27.455 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.023) 0:00:27.478 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.032) 0:00:27.511 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.042) 0:00:27.553 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.033) 0:00:27.587 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.136) 0:00:27.723 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.066) 0:00:27.789 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.037) 0:00:27.827 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258168.4033546, "block_size": 4096, "blocks": 0, "ctime": 1707258168.395355, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17516, "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": 1707258168.395355, "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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.137) 0:00:27.964 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.022) 0:00:27.987 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.035) 0:00:28.023 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.023) 0:00:28.046 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.129) 0:00:28.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.021) 0:00:28.197 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021537", "end": "2024-02-06 22:22:54.596814", "rc": 1, "start": "2024-02-06 22:22:54.575277" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.150) 0:00:28.347 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.022) 0:00:28.369 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.023) 0:00:28.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.030) 0:00:28.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.021) 0:00:28.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.028) 0:00:28.473 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.023) 0:00:28.497 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.045) 0:00:28.542 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.022) 0:00:28.564 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.039) 0:00:28.603 ****** 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.077405", "end": "2024-02-06 22:22:55.060835", "rc": 1, "start": "2024-02-06 22:22:54.983430" } STDOUT: Connection 'statebr' (971be356-e3a3-404a-ad40-4b05f6afc608) successfully deleted. STDERR: (process:24464): GLib-GIO-WARNING **: 22:22:55.039: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 but no object proxy exists (process:24464): GLib-GIO-WARNING **: 22:22:55.039: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/43 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.207) 0:00:28.811 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.035) 0:00:28.846 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.020) 0:00:28.867 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.045) 0:00:28.912 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.033) 0:00:28.946 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.032) 0:00:28.979 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003722", "end": "2024-02-06 22:22:55.361433", "rc": 0, "start": "2024-02-06 22:22:55.357711" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.135) 0:00:29.114 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.025) 0:00:29.139 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.025) 0:00:29.165 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.045) 0:00:29.210 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.060) 0:00:29.270 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.040) 0:00:29.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.027) 0:00:29.338 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.021) 0:00:29.359 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.021) 0:00:29.381 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.752) 0:00:30.133 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.649) 0:00:30.782 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.026) 0:00:30.809 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.055) 0:00:30.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.026) 0:00:30.891 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.051) 0:00:30.942 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.032) 0:00:30.975 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.029) 0:00:31.005 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.024) 0:00:31.030 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.220) 0:00:31.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.024) 0:00:31.275 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.021) 0:00:31.296 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.023) 0:00:31.320 ****** 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, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.327) 0:00:31.647 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.021) 0:00:31.668 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.021) 0:00:31.690 ****** 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, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.022) 0:00:31.712 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.020) 0:00:31.732 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.126) 0:00:31.859 ****** 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, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.050) 0:00:31.910 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.058) 0:00:31.969 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.052) 0:00:32.022 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.029) 0:00:32.052 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.021) 0:00:32.073 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.020) 0:00:32.094 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.741) 0:00:32.836 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.626) 0:00:33.462 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.045) 0:00:33.507 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.021) 0:00:33.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.020) 0:00:33.550 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.043) 0:00:33.593 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.020) 0:00:33.614 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.020) 0:00:33.635 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.024) 0:00:33.659 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.222) 0:00:33.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.026) 0:00:33.908 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.021) 0:00:33.930 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.020) 0:00:33.950 ****** 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, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.279) 0:00:34.230 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.022) 0:00:34.253 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.022) 0:00:34.275 ****** 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, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa8ed2ae-8f34-4ee7-84e9-1ca6b3b3e477 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.021) 0:00:34.297 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.020) 0:00:34.317 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.154) 0:00:34.472 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.035) 0:00:34.507 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.038) 0:00:34.546 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.026) 0:00:34.572 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.022) 0:00:34.595 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.021) 0:00:34.616 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.736) 0:00:35.353 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.642) 0:00:35.995 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.054) 0:00:36.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.023) 0:00:36.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.048) 0:00:36.122 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.045) 0:00:36.168 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.021) 0:00:36.189 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.022) 0:00:36.212 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.025) 0:00:36.237 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.228) 0:00:36.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.024) 0:00:36.490 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.021) 0:00:36.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.020) 0:00:36.531 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.310) 0:00:36.842 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:36.863 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.027) 0:00:36.891 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.022) 0:00:36.913 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:36.934 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.153) 0:00:37.088 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.041) 0:00:37.129 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.041) 0:00:37.170 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.039) 0:00:37.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.025) 0:00:37.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:37.256 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.020) 0:00:37.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.725) 0:00:38.003 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.658) 0:00:38.662 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.022) 0:00:38.684 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.022) 0:00:38.706 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:38.728 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.044) 0:00:38.773 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:38.794 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:38.815 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.024) 0:00:38.839 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.221) 0:00:39.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.025) 0:00:39.086 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.022) 0:00:39.108 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.023) 0:00:39.131 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.354) 0:00:39.486 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.020) 0:00:39.507 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.022) 0:00:39.529 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.051) 0:00:39.580 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:39.602 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.124) 0:00:39.726 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.038) 0:00:39.764 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.036) 0:00:39.800 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:39.822 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.128) 0:00:39.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:39.972 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020457", "end": "2024-02-06 22:23:06.371259", "rc": 1, "start": "2024-02-06 22:23:06.350802" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.149) 0:00:40.122 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:40.143 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:40.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.020) 0:00:40.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.020) 0:00:40.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.020) 0:00:40.226 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.023) 0:00:40.250 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.069) 0:00:40.319 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.034) 0:00:40.353 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.129) 0:00:40.482 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.031) 0:00:40.514 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.022) 0:00:40.536 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.041) 0:00:40.577 ****** 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.043298", "end": "2024-02-06 22:23:06.998406", "rc": 1, "start": "2024-02-06 22:23:06.955108" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.171) 0:00:40.749 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.039) 0:00:40.789 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.021) 0:00:40.810 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.042) 0:00:40.853 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.046) 0:00:40.900 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.036) 0:00:40.936 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-02-06 22:23:07.319756", "rc": 0, "start": "2024-02-06 22:23:07.316103" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.133) 0:00:41.069 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.024) 0:00:41.094 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.028) 0:00:41.123 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.065) 0:00:41.188 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.044) 0:00:41.233 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.050) 0:00:41.284 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.028) 0:00:41.312 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.022) 0:00:41.335 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.022) 0:00:41.357 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:08 +0000 (0:00:00.735) 0:00:42.093 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.662) 0:00:42.756 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.021) 0:00:42.778 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.021) 0:00:42.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.020) 0:00:42.819 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.045) 0:00:42.865 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.041) 0:00:42.906 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.022) 0:00:42.929 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.026) 0:00:42.956 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.228) 0:00:43.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.051) 0:00:43.236 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.038) 0:00:43.274 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.021) 0:00:43.296 ****** 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, 64bbac50-3aef-43f8-9242-b7d5dbf16da5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.408) 0:00:43.704 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.022) 0:00:43.727 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bbac50-3aef-43f8-9242-b7d5dbf16da5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.022) 0:00:43.749 ****** 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, 64bbac50-3aef-43f8-9242-b7d5dbf16da5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bbac50-3aef-43f8-9242-b7d5dbf16da5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.022) 0:00:43.771 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.021) 0:00:43.793 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.127) 0:00:43.920 ****** 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, 64bbac50-3aef-43f8-9242-b7d5dbf16da5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bbac50-3aef-43f8-9242-b7d5dbf16da5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.022) 0:00:43.943 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.035) 0:00:43.979 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.038) 0:00:44.017 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.025) 0:00:44.043 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.019) 0:00:44.062 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.019) 0:00:44.082 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.780) 0:00:44.862 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.638) 0:00:45.500 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.024) 0:00:45.525 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.024) 0:00:45.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.024) 0:00:45.574 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.046) 0:00:45.621 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.021) 0:00:45.642 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.020) 0:00:45.663 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.029) 0:00:45.693 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.222) 0:00:45.916 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.024) 0:00:45.940 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.020) 0:00:45.960 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.020) 0:00:45.980 ****** 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, 64bbac50-3aef-43f8-9242-b7d5dbf16da5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.299) 0:00:46.280 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.021) 0:00:46.302 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64bbac50-3aef-43f8-9242-b7d5dbf16da5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.022) 0:00:46.324 ****** 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, 64bbac50-3aef-43f8-9242-b7d5dbf16da5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64bbac50-3aef-43f8-9242-b7d5dbf16da5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.023) 0:00:46.348 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.021) 0:00:46.370 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.124) 0:00:46.494 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.035) 0:00:46.529 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.038) 0:00:46.568 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.026) 0:00:46.595 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.021) 0:00:46.616 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.021) 0:00:46.638 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.736) 0:00:47.375 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.665) 0:00:48.041 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.025) 0:00:48.066 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.026) 0:00:48.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.022) 0:00:48.115 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.061) 0:00:48.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.032) 0:00:48.210 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.024) 0:00:48.234 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.029) 0:00:48.264 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.252) 0:00:48.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.046) 0:00:48.563 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.025) 0:00:48.588 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.024) 0:00:48.613 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.395) 0:00:49.009 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.021) 0:00:49.030 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.021) 0:00:49.052 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.022) 0:00:49.074 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.020) 0:00:49.095 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.124) 0:00:49.219 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.040) 0:00:49.260 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.032) 0:00:49.292 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.036) 0:00:49.329 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.024) 0:00:49.354 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.019) 0:00:49.373 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.019) 0:00:49.393 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.738) 0:00:50.132 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.632) 0:00:50.764 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.022) 0:00:50.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.020) 0:00:50.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:50.829 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.042) 0:00:50.871 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.020) 0:00:50.892 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:50.914 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.023) 0:00:50.937 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.221) 0:00:51.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.025) 0:00:51.185 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.052) 0:00:51.237 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:51.258 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.294) 0:00:51.553 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.020) 0:00:51.574 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.022) 0:00:51.596 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:51.618 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.020) 0:00:51.639 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.125) 0:00:51.765 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.042) 0:00:51.807 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.036) 0:00:51.844 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.020) 0:00:51.865 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.129) 0:00:51.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.020) 0:00:52.015 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020277", "end": "2024-02-06 22:23:18.413738", "rc": 1, "start": "2024-02-06 22:23:18.393461" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.147) 0:00:52.163 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.050) 0:00:52.213 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.022) 0:00:52.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.029) 0:00:52.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.023) 0:00:52.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.023) 0:00:52.311 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.023) 0:00:52.335 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403983", "end": "2024-02-06 22:23:19.116692", "rc": 0, "start": "2024-02-06 22:23:18.712709" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.533) 0:00:52.869 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.023) 0:00:52.892 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.045) 0:00:52.938 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.042) 0:00:52.980 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.039) 0:00:53.019 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.142) 0:00:53.162 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.031) 0:00:53.194 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.024) 0:00:53.218 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.091) 0:00:53.309 ****** 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.045888", "end": "2024-02-06 22:23:19.734391", "rc": 1, "start": "2024-02-06 22:23:19.688503" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.167) 0:00:53.477 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.83s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.27s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.14s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.05s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.92s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---