# 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_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 22:11:38 +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_rewrite_0hcmnrd/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.573) 0:00:00.585 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.023) 0:00:00.609 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.229) 0:00:00.838 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.199) 0:00:01.038 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.022) 0:00:01.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.022) 0:00:01.083 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.043) 0:00:01.127 ****** 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_rewrite_0hcmnrd/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:11:39 +0000 (0:00:00.199) 0:00:01.326 ****** 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_rewrite_0hcmnrd/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.465) 0:00:01.792 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178407", "end": "2024-02-06 22:11:40.517778", "rc": 0, "start": "2024-02-06 22:11:40.339371" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.323) 0:00:02.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.015) 0:00:02.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.026) 0:00:02.158 ****** 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.009) 0:00:02.168 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:11:40 +0000 (0:00:00.386) 0:00:02.554 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.010) 0:00:02.564 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.015) 0:00:02.580 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.010) 0:00:02.591 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.033) 0:00:02.625 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.013) 0:00:02.638 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.013) 0:00:02.652 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2024-02-06 22:11:41.198339", "rc": 0, "start": "2024-02-06 22:11:41.194863" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.151) 0:00:02.803 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.026) 0:00:02.830 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.015) 0:00:02.846 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.023) 0:00:02.869 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011011", "end": "2024-02-06 22:11:41.426106", "rc": 1, "start": "2024-02-06 22:11:41.415095" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.133) 0:00:03.003 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.014) 0:00:03.017 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.123) 0:00:03.141 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.014) 0:00:03.156 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.037) 0:00:03.194 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.038) 0:00:03.232 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.084) 0:00:03.317 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.063) 0:00:03.380 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.015) 0:00:03.396 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:11:41 +0000 (0:00:00.079) 0:00:03.475 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:11:42 +0000 (0:00:00.831) 0:00:04.306 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:11:43 +0000 (0:00:01.120) 0:00:05.427 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:11:43 +0000 (0:00:00.023) 0:00:05.450 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:11:43 +0000 (0:00:00.019) 0:00:05.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:11:43 +0000 (0:00:00.020) 0:00:05.490 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:11:43 +0000 (0:00:00.041) 0:00:05.532 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:11:43 +0000 (0:00:00.021) 0:00:05.553 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.021) 0:00:05.574 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.024) 0:00:05.599 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.359) 0:00:05.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.024) 0:00:05.983 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.021) 0:00:06.005 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.027) 0:00:06.032 ****** 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, 04d27f55-dd28-44fc-8438-b18df88965d4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.479) 0:00:06.512 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:11:44 +0000 (0:00:00.021) 0:00:06.534 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04d27f55-dd28-44fc-8438-b18df88965d4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.044) 0:00:06.579 ****** 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, 04d27f55-dd28-44fc-8438-b18df88965d4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04d27f55-dd28-44fc-8438-b18df88965d4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.025) 0:00:06.604 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.022) 0:00:06.626 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.187) 0:00:06.814 ****** 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, 04d27f55-dd28-44fc-8438-b18df88965d4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04d27f55-dd28-44fc-8438-b18df88965d4" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.023) 0:00:06.837 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.045) 0:00:06.882 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.040) 0:00:06.923 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.022) 0:00:06.946 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257504.9342818, "block_size": 4096, "blocks": 8, "ctime": 1707257504.8512845, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707257504.8512845, "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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.141) 0:00:07.088 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.022) 0:00:07.110 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026220", "end": "2024-02-06 22:11:45.683930", "rc": 0, "start": "2024-02-06 22:11:45.657710" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.165) 0:00:07.276 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.024) 0:00:07.300 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.028) 0:00:07.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.041) 0:00:07.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.028) 0:00:07.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.085) 0:00:07.484 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.024) 0:00:07.508 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.027) 0:00:07.535 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:11:45 +0000 (0:00:00.023) 0:00:07.558 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.042) 0:00:07.601 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.034) 0:00:07.635 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257504.8542845, "block_size": 4096, "blocks": 0, "ctime": 1707257504.8532844, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1707257504.8532844, "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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.140) 0:00:07.776 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.023) 0:00:07.800 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.021) 0:00:07.821 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.040) 0:00:07.861 ****** 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.087070", "end": "2024-02-06 22:11:46.495789", "rc": 1, "start": "2024-02-06 22:11:46.408719" } STDOUT: Connection 'statebr' (04d27f55-dd28-44fc-8438-b18df88965d4) successfully deleted. STDERR: (process:27578): GLib-GIO-WARNING **: 22:11:46.473: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 but no object proxy exists (process:27578): GLib-GIO-WARNING **: 22:11:46.474: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/53 but no object proxy exists (process:27578): GLib-GIO-WARNING **: 22:11:46.474: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/39 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.240) 0:00:08.101 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.064) 0:00:08.165 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.021) 0:00:08.187 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.107) 0:00:08.294 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.054) 0:00:08.348 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.052) 0:00:08.400 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2024-02-06 22:11:46.959645", "rc": 0, "start": "2024-02-06 22:11:46.955765" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:11:46 +0000 (0:00:00.150) 0:00:08.550 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.023) 0:00:08.574 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.022) 0:00:08.596 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.040) 0:00:08.637 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007645", "end": "2024-02-06 22:11:47.195150", "rc": 1, "start": "2024-02-06 22:11:47.187505" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.147) 0:00:08.784 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.037) 0:00:08.821 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.152) 0:00:08.974 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.023) 0:00:08.998 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.039) 0:00:09.038 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.112) 0:00:09.150 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.040) 0:00:09.190 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.035) 0:00:09.226 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.024) 0:00:09.250 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:11:47 +0000 (0:00:00.027) 0:00:09.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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:11:48 +0000 (0:00:00.732) 0:00:10.010 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.958) 0:00:10.969 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.037) 0:00:11.006 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.024) 0:00:11.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.022) 0:00:11.052 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.049) 0:00:11.102 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.033) 0:00:11.136 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.021) 0:00:11.158 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.041) 0:00:11.199 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.247) 0:00:11.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.026) 0:00:11.473 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.021) 0:00:11.494 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:11:49 +0000 (0:00:00.046) 0:00:11.541 ****** 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, 394ee325-77e6-407f-9083-6cd44ba74770 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.298) 0:00:11.840 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.026) 0:00:11.866 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 394ee325-77e6-407f-9083-6cd44ba74770" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.023) 0:00:11.890 ****** 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, 394ee325-77e6-407f-9083-6cd44ba74770\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 394ee325-77e6-407f-9083-6cd44ba74770" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.026) 0:00:11.916 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.021) 0:00:11.938 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.168) 0:00:12.106 ****** 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, 394ee325-77e6-407f-9083-6cd44ba74770\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 394ee325-77e6-407f-9083-6cd44ba74770" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.023) 0:00:12.130 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.047) 0:00:12.178 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.036) 0:00:12.214 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.138) 0:00:12.352 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.023) 0:00:12.375 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.035) 0:00:12.411 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:11:50 +0000 (0:00:00.021) 0:00:12.432 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257510.2311032, "block_size": 4096, "blocks": 8, "ctime": 1707257510.2311032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707257510.2311032, "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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.133) 0:00:12.566 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.021) 0:00:12.587 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022765", "end": "2024-02-06 22:11:51.156150", "rc": 0, "start": "2024-02-06 22:11:51.133385" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.156) 0:00:12.744 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.026) 0:00:12.770 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.050) 0:00:12.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.034) 0:00:12.856 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.082) 0:00:12.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.025) 0:00:12.964 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.028) 0:00:12.993 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.022) 0:00:13.016 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.029) 0:00:13.045 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.022) 0:00:13.067 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.023) 0:00:13.091 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.053) 0:00:13.145 ****** 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.049929", "end": "2024-02-06 22:11:51.741487", "rc": 1, "start": "2024-02-06 22:11:51.691558" } STDOUT: Connection 'statebr' (394ee325-77e6-407f-9083-6cd44ba74770) 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.194) 0:00:13.340 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.043) 0:00:13.383 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.043) 0:00:13.427 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.045) 0:00:13.473 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:11:51 +0000 (0:00:00.039) 0:00:13.512 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.051) 0:00:13.564 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2024-02-06 22:11:52.112904", "rc": 0, "start": "2024-02-06 22:11:52.109349" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.168) 0:00:13.733 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.023) 0:00:13.756 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.045) 0:00:13.801 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.045) 0:00:13.847 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.040) 0:00:13.887 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.040) 0:00:13.928 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.026) 0:00:13.954 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.021) 0:00:13.976 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:11:52 +0000 (0:00:00.026) 0:00:14.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:11:53 +0000 (0:00:00.733) 0:00:14.736 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.990) 0:00:15.726 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.025) 0:00:15.752 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.022) 0:00:15.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.022) 0:00:15.796 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.043) 0:00:15.839 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.021) 0:00:15.861 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.020) 0:00:15.881 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.024) 0:00:15.905 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.238) 0:00:16.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.025) 0:00:16.170 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.032) 0:00:16.203 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:11:54 +0000 (0:00:00.021) 0:00:16.224 ****** 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, 78c85786-6628-4a7f-a01b-5fb762ca2a78 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.403) 0:00:16.627 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.034) 0:00:16.661 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 78c85786-6628-4a7f-a01b-5fb762ca2a78" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.036) 0:00:16.698 ****** 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, 78c85786-6628-4a7f-a01b-5fb762ca2a78\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 78c85786-6628-4a7f-a01b-5fb762ca2a78" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.041) 0:00:16.739 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.023) 0:00:16.763 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.144) 0:00:16.907 ****** 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, 78c85786-6628-4a7f-a01b-5fb762ca2a78\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 78c85786-6628-4a7f-a01b-5fb762ca2a78" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.026) 0:00:16.934 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.045) 0:00:16.979 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.052) 0:00:17.031 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.081) 0:00:17.113 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.029) 0:00:17.142 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.032) 0:00:17.175 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:11:55 +0000 (0:00:00.050) 0:00:17.225 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:11:56 +0000 (0:00:00.781) 0:00:18.007 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.964) 0:00:18.971 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.023) 0:00:18.994 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.029) 0:00:19.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.026) 0:00:19.051 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.056) 0:00:19.107 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.033) 0:00:19.140 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.024) 0:00:19.165 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.037) 0:00:19.202 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.235) 0:00:19.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.024) 0:00:19.463 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.046) 0:00:19.510 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:11:57 +0000 (0:00:00.023) 0:00:19.533 ****** 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, 78c85786-6628-4a7f-a01b-5fb762ca2a78 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.287) 0:00:19.821 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.039) 0:00:19.861 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 78c85786-6628-4a7f-a01b-5fb762ca2a78 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.024) 0:00:19.885 ****** 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, 78c85786-6628-4a7f-a01b-5fb762ca2a78 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 78c85786-6628-4a7f-a01b-5fb762ca2a78 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.026) 0:00:19.911 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.037) 0:00:19.949 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.169) 0:00:20.118 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.046) 0:00:20.164 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.037) 0:00:20.202 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257514.9549437, "block_size": 4096, "blocks": 0, "ctime": 1707257514.950944, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1707257514.950944, "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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.171) 0:00:20.374 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.024) 0:00:20.398 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.067) 0:00:20.466 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:11:58 +0000 (0:00:00.044) 0:00:20.510 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257514.949944, "block_size": 4096, "blocks": 8, "ctime": 1707257514.9489439, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707257514.9489439, "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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.164) 0:00:20.674 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.026) 0:00:20.700 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023150", "end": "2024-02-06 22:11:59.284380", "rc": 0, "start": "2024-02-06 22:11:59.261230" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.189) 0:00:20.890 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.030) 0:00:20.921 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.043) 0:00:20.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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.069) 0:00:21.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.072) 0:00:21.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.023) 0:00:21.130 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.024) 0:00:21.155 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.030) 0:00:21.185 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.022) 0:00:21.207 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.020) 0:00:21.227 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.022) 0:00:21.250 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.039) 0:00:21.290 ****** 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.076466", "end": "2024-02-06 22:11:59.916186", "rc": 1, "start": "2024-02-06 22:11:59.839720" } STDOUT: Connection 'statebr' (78c85786-6628-4a7f-a01b-5fb762ca2a78) successfully deleted. STDERR: (process:28291): GLib-GIO-WARNING **: 22:11:59.889: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 but no object proxy exists (process:28291): GLib-GIO-WARNING **: 22:11:59.889: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/40 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:11:59 +0000 (0:00:00.214) 0:00:21.504 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.074) 0:00:21.579 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.022) 0:00:21.602 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.042) 0:00:21.644 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.035) 0:00:21.680 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.043) 0:00:21.724 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003851", "end": "2024-02-06 22:12:00.274027", "rc": 0, "start": "2024-02-06 22:12:00.270176" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.139) 0:00:21.863 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.025) 0:00:21.889 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.023) 0:00:21.912 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.044) 0:00:21.956 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.036) 0:00:21.993 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.039) 0:00:22.033 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.025) 0:00:22.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.050) 0:00:22.109 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:00 +0000 (0:00:00.024) 0:00:22.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:01 +0000 (0:00:00.758) 0:00:22.892 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:02 +0000 (0:00:01.005) 0:00:23.897 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.022) 0:00:23.920 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.021) 0:00:23.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.022) 0:00:23.964 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.053) 0:00:24.018 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.037) 0:00:24.055 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.036) 0:00:24.092 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.066) 0:00:24.159 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.286) 0:00:24.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.029) 0:00:24.474 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.021) 0:00:24.496 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:02 +0000 (0:00:00.023) 0:00:24.520 ****** 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, 247bf4d3-8a6a-4442-be8e-c90e3ce94757 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.360) 0:00:24.880 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.041) 0:00:24.921 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 247bf4d3-8a6a-4442-be8e-c90e3ce94757" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.033) 0:00:24.955 ****** 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, 247bf4d3-8a6a-4442-be8e-c90e3ce94757\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 247bf4d3-8a6a-4442-be8e-c90e3ce94757" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.058) 0:00:25.014 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.032) 0:00:25.046 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.156) 0:00:25.202 ****** 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, 247bf4d3-8a6a-4442-be8e-c90e3ce94757\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 247bf4d3-8a6a-4442-be8e-c90e3ce94757" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.034) 0:00:25.237 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.035) 0:00:25.272 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.043) 0:00:25.316 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.068) 0:00:25.384 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.021) 0:00:25.406 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:03 +0000 (0:00:00.021) 0:00:25.427 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:04 +0000 (0:00:00.804) 0:00:26.232 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:05 +0000 (0:00:01.200) 0:00:27.432 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:05 +0000 (0:00:00.026) 0:00:27.459 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:05 +0000 (0:00:00.023) 0:00:27.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:05 +0000 (0:00:00.024) 0:00:27.506 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.069) 0:00:27.576 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.021) 0:00:27.598 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.022) 0:00:27.620 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.025) 0:00:27.646 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.237) 0:00:27.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.025) 0:00:27.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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.022) 0:00:27.931 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.036) 0:00:27.967 ****** 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, 247bf4d3-8a6a-4442-be8e-c90e3ce94757 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.414) 0:00:28.381 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.026) 0:00:28.408 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 247bf4d3-8a6a-4442-be8e-c90e3ce94757 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.023) 0:00:28.431 ****** 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, 247bf4d3-8a6a-4442-be8e-c90e3ce94757 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 247bf4d3-8a6a-4442-be8e-c90e3ce94757 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.022) 0:00:28.454 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:06 +0000 (0:00:00.029) 0:00:28.483 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.154) 0:00:28.638 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.038) 0:00:28.676 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.073) 0:00:28.750 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.050) 0:00:28.801 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.027) 0:00:28.829 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.022) 0:00:28.851 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:07 +0000 (0:00:00.020) 0:00:28.872 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:08 +0000 (0:00:00.768) 0:00:29.640 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:09 +0000 (0:00:01.084) 0:00:30.725 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.021) 0:00:30.746 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.076) 0:00:30.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.037) 0:00:30.860 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.074) 0:00:30.935 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.022) 0:00:30.958 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.029) 0:00:30.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.042) 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.241) 0:00:31.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.025) 0:00:31.297 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.029) 0:00:31.327 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:09 +0000 (0:00:00.021) 0:00:31.348 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.334) 0:00:31.683 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.020) 0:00:31.704 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.022) 0:00:31.727 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.023) 0:00:31.750 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.021) 0:00:31.771 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.166) 0:00:31.937 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.091) 0:00:32.029 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.036) 0:00:32.065 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257523.2276647, "block_size": 4096, "blocks": 0, "ctime": 1707257523.2236648, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "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": 1707257523.2236648, "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_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.177) 0:00:32.243 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.024) 0:00:32.268 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.036) 0:00:32.304 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.024) 0:00:32.329 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.178) 0:00:32.507 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:12:10 +0000 (0:00:00.021) 0:00:32.528 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.031411", "end": "2024-02-06 22:12:11.147774", "rc": 1, "start": "2024-02-06 22:12:11.116363" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.225) 0:00:32.754 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.029) 0:00:32.783 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.024) 0:00:32.808 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.033) 0:00:32.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.037) 0:00:32.879 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.038) 0:00:32.917 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.027) 0:00:32.945 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.055) 0:00:33.001 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.025) 0:00:33.027 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.045) 0:00:33.073 ****** 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.106374", "end": "2024-02-06 22:12:11.763907", "rc": 1, "start": "2024-02-06 22:12:11.657533" } STDOUT: Connection 'statebr' (247bf4d3-8a6a-4442-be8e-c90e3ce94757) successfully deleted. STDERR: (process:2224): GLib-GIO-WARNING **: 22:12:11.731: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:2224): GLib-GIO-WARNING **: 22:12:11.732: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/56 but no object proxy exists (process:2224): GLib-GIO-WARNING **: 22:12:11.732: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/41 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.280) 0:00:33.354 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.042) 0:00:33.396 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.024) 0:00:33.420 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.051) 0:00:33.472 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.036) 0:00:33.509 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:12:11 +0000 (0:00:00.034) 0:00:33.544 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-02-06 22:12:12.097178", "rc": 0, "start": "2024-02-06 22:12:12.093378" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.141) 0:00:33.686 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.021) 0:00:33.707 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.021) 0:00:33.729 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.089) 0:00:33.818 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.036) 0:00:33.855 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.040) 0:00:33.895 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.026) 0:00:33.922 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.022) 0:00:33.944 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:12 +0000 (0:00:00.021) 0:00:33.966 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:13 +0000 (0:00:00.882) 0:00:34.849 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:14 +0000 (0:00:01.512) 0:00:36.361 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.033) 0:00:36.394 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.032) 0:00:36.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.032) 0:00:36.459 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.044) 0:00:36.503 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.022) 0:00:36.526 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:14 +0000 (0:00:00.023) 0:00:36.549 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.028) 0:00:36.578 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.257) 0:00:36.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.033) 0:00:36.869 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.025) 0:00:36.895 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.023) 0:00:36.918 ****** 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, a56de3fa-e4db-4862-b6cc-e4e67643a040 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.350) 0:00:37.269 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.022) 0:00:37.292 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56de3fa-e4db-4862-b6cc-e4e67643a040" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.071) 0:00:37.363 ****** 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, a56de3fa-e4db-4862-b6cc-e4e67643a040\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56de3fa-e4db-4862-b6cc-e4e67643a040" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.032) 0:00:37.396 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:15 +0000 (0:00:00.026) 0:00:37.423 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.143) 0:00:37.566 ****** 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, a56de3fa-e4db-4862-b6cc-e4e67643a040\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56de3fa-e4db-4862-b6cc-e4e67643a040" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.029) 0:00:37.596 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.048) 0:00:37.645 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.042) 0:00:37.687 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.025) 0:00:37.713 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.020) 0:00:37.734 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.020) 0:00:37.754 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:16 +0000 (0:00:00.802) 0:00:38.556 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:18 +0000 (0:00:01.079) 0:00:39.636 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.024) 0:00:39.661 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.022) 0:00:39.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.023) 0:00:39.706 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.050) 0:00:39.756 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.033) 0:00:39.789 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.038) 0:00:39.828 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.025) 0:00:39.854 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.289) 0:00:40.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.024) 0:00:40.168 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.020) 0:00:40.189 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.019) 0:00:40.208 ****** 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, a56de3fa-e4db-4862-b6cc-e4e67643a040 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:18 +0000 (0:00:00.342) 0:00:40.551 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.022) 0:00:40.573 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56de3fa-e4db-4862-b6cc-e4e67643a040 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.023) 0:00:40.596 ****** 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, a56de3fa-e4db-4862-b6cc-e4e67643a040 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56de3fa-e4db-4862-b6cc-e4e67643a040 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.022) 0:00:40.619 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.023) 0:00:40.642 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.187) 0:00:40.830 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.035) 0:00:40.865 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.039) 0:00:40.904 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.027) 0:00:40.932 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.021) 0:00:40.954 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:19 +0000 (0:00:00.020) 0:00:40.974 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:20 +0000 (0:00:00.852) 0:00:41.827 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:21 +0000 (0:00:01.145) 0:00:42.972 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.038) 0:00:43.010 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.035) 0:00:43.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.046) 0:00:43.092 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.057) 0:00:43.150 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.023) 0:00:43.174 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.035) 0:00:43.209 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:21 +0000 (0:00:00.026) 0:00:43.235 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.336) 0:00:43.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.052) 0:00:43.624 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.056) 0:00:43.681 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.023) 0:00:43.705 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.467) 0:00:44.172 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.029) 0:00:44.201 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.034) 0:00:44.236 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.030) 0:00:44.266 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.032) 0:00:44.299 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.172) 0:00:44.471 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.042) 0:00:44.514 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:22 +0000 (0:00:00.042) 0:00:44.556 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:23 +0000 (0:00:00.068) 0:00:44.625 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:23 +0000 (0:00:00.052) 0:00:44.677 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:23 +0000 (0:00:00.053) 0:00:44.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:23 +0000 (0:00:00.043) 0:00:44.774 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:24 +0000 (0:00:01.096) 0:00:45.871 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:25 +0000 (0:00:01.166) 0:00:47.037 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.023) 0:00:47.061 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.021) 0:00:47.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.022) 0:00:47.105 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.044) 0:00:47.150 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.021) 0:00:47.171 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.027) 0:00:47.199 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.059) 0:00:47.258 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.259) 0:00:47.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:25 +0000 (0:00:00.025) 0:00:47.544 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.020) 0:00:47.565 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.020) 0:00:47.585 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.387) 0:00:47.973 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.040) 0:00:48.013 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.024) 0:00:48.038 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.038) 0:00:48.076 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.039) 0:00:48.115 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.139) 0:00:48.255 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.040) 0:00:48.295 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.036) 0:00:48.332 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.030) 0:00:48.363 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:12:26 +0000 (0:00:00.153) 0:00:48.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.064) 0:00:48.580 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021521", "end": "2024-02-06 22:12:27.147547", "rc": 1, "start": "2024-02-06 22:12:27.126026" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.162) 0:00:48.742 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.030) 0:00:48.772 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.030) 0:00:48.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.020) 0:00:48.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.023) 0:00:48.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.022) 0:00:48.871 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.023) 0:00:48.894 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.044) 0:00:48.939 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.050) 0:00:48.989 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.169) 0:00:49.159 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.030) 0:00:49.190 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.033) 0:00:49.223 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.047) 0:00:49.271 ****** 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.047545", "end": "2024-02-06 22:12:27.866640", "rc": 1, "start": "2024-02-06 22:12:27.819095" } 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_rewrite_0hcmnrd/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.211) 0:00:49.483 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.036) 0:00:49.519 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:12:27 +0000 (0:00:00.025) 0:00:49.545 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.055) 0:00:49.600 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.037) 0:00:49.637 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.034) 0:00:49.672 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003468", "end": "2024-02-06 22:12:28.228337", "rc": 0, "start": "2024-02-06 22:12:28.224869" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.151) 0:00:49.823 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.025) 0:00:49.848 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.024) 0:00:49.873 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.046) 0:00:49.920 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.038) 0:00:49.958 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.053) 0:00:50.012 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.079) 0:00:50.091 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.040) 0:00:50.132 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:28 +0000 (0:00:00.031) 0:00:50.163 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:29 +0000 (0:00:00.740) 0:00:50.904 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.936) 0:00:51.841 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.021) 0:00:51.862 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.020) 0:00:51.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.020) 0:00:51.903 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.043) 0:00:51.947 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.053) 0:00:52.001 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.028) 0:00:52.030 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.031) 0:00:52.062 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.234) 0:00:52.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.029) 0:00:52.326 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.021) 0:00:52.348 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:30 +0000 (0:00:00.022) 0:00:52.370 ****** 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, 694cda81-31ed-4ba8-b4c5-6124887b5701 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.336) 0:00:52.706 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.022) 0:00:52.729 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 694cda81-31ed-4ba8-b4c5-6124887b5701" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.022) 0:00:52.751 ****** 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, 694cda81-31ed-4ba8-b4c5-6124887b5701\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 694cda81-31ed-4ba8-b4c5-6124887b5701" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.023) 0:00:52.774 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.020) 0:00:52.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.132) 0:00:52.927 ****** 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, 694cda81-31ed-4ba8-b4c5-6124887b5701\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 694cda81-31ed-4ba8-b4c5-6124887b5701" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.022) 0:00:52.950 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.035) 0:00:52.985 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.099) 0:00:53.085 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.038) 0:00:53.123 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.023) 0:00:53.146 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:31 +0000 (0:00:00.022) 0:00:53.168 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:32 +0000 (0:00:00.750) 0:00:53.919 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.937) 0:00:54.857 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.024) 0:00:54.881 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.022) 0:00:54.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.021) 0:00:54.925 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.072) 0:00:54.997 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.022) 0:00:55.020 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.021) 0:00:55.042 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.024) 0:00:55.066 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.249) 0:00:55.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.028) 0:00:55.343 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.023) 0:00:55.367 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:33 +0000 (0:00:00.027) 0:00:55.394 ****** 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, 694cda81-31ed-4ba8-b4c5-6124887b5701 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.344) 0:00:55.739 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.031) 0:00:55.770 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 694cda81-31ed-4ba8-b4c5-6124887b5701 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.047) 0:00:55.817 ****** 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, 694cda81-31ed-4ba8-b4c5-6124887b5701 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 694cda81-31ed-4ba8-b4c5-6124887b5701 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.031) 0:00:55.848 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.023) 0:00:55.871 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.136) 0:00:56.008 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.034) 0:00:56.043 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.065) 0:00:56.108 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.026) 0:00:56.135 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.030) 0:00:56.165 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:34 +0000 (0:00:00.023) 0:00:56.188 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:35 +0000 (0:00:00.712) 0:00:56.901 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.932) 0:00:57.833 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.034) 0:00:57.867 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.028) 0:00:57.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.022) 0:00:57.919 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.056) 0:00:57.975 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.061) 0:00:58.037 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.028) 0:00:58.066 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.024) 0:00:58.090 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.226) 0:00:58.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.027) 0:00:58.345 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.023) 0:00:58.369 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:36 +0000 (0:00:00.021) 0:00:58.390 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.381) 0:00:58.771 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.021) 0:00:58.793 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.025) 0:00:58.818 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.022) 0:00:58.841 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.020) 0:00:58.861 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.144) 0:00:59.005 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.074) 0:00:59.079 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.084) 0:00:59.163 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.061) 0:00:59.225 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.031) 0:00:59.257 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.048) 0:00:59.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:12:37 +0000 (0:00:00.036) 0:00:59.342 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:12:38 +0000 (0:00:00.713) 0:01:00.055 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.929) 0:01:00.985 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.047) 0:01:01.033 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.021) 0:01:01.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.021) 0:01:01.075 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.042) 0:01:01.118 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.021) 0:01:01.139 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.028) 0:01:01.167 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.026) 0:01:01.194 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.282) 0:01:01.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.042) 0:01:01.519 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:12:39 +0000 (0:00:00.023) 0:01:01.543 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.029) 0:01:01.572 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.316) 0:01:01.889 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.023) 0:01:01.912 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.027) 0:01:01.940 ****** 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_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.033) 0:01:01.974 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.032) 0:01:02.006 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.208) 0:01:02.215 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.061) 0:01:02.276 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.045) 0:01:02.322 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.025) 0:01:02.347 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:12:40 +0000 (0:00:00.193) 0:01:02.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.043) 0:01:02.584 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020769", "end": "2024-02-06 22:12:41.157616", "rc": 1, "start": "2024-02-06 22:12:41.136847" } 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.161) 0:01:02.746 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.025) 0:01:02.771 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.049) 0:01:02.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.030) 0:01:02.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.044) 0:01:02.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.026) 0:01:02.922 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:12:41 +0000 (0:00:00.026) 0:01:02.949 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.687935", "end": "2024-02-06 22:12:42.182326", "rc": 0, "start": "2024-02-06 22:12:41.494391" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.849) 0:01:03.798 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.023) 0:01:03.822 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.029) 0:01:03.852 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.045) 0:01:03.897 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.036) 0:01:03.933 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.134) 0:01:04.068 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.028) 0:01:04.096 ****** 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_rewrite_0hcmnrd/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.029) 0:01:04.126 ****** included: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:12:42 +0000 (0:00:00.049) 0:01:04.175 ****** 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.045168", "end": "2024-02-06 22:12:42.767486", "rc": 1, "start": "2024-02-06 22:12:42.722318" } 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:12:42 +0000 (0:00:00.167) 0:01:04.343 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.93s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.51s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.38s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.20s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.12s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.10s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.09s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.01s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewrite_0hcmnrd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---