# 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_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 02:40:29 +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_rewrite2kjqp0w_/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.693) 0:00:00.706 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.029) 0:00:00.736 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.230) 0:00:00.966 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.219) 0:00:01.185 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.043) 0:00:01.228 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.017) 0:00:01.246 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.032) 0:00:01.279 **** 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_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.228) 0:00:01.508 **** 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_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.498) 0:00:02.006 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.194881", "end": "2024-02-14 02:40:31.818300", "rc": 0, "start": "2024-02-14 02:40:31.623419" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.315) 0:00:02.322 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.016) 0:00:02.339 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.009) 0:00:02.349 **** 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.011) 0:00:02.360 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.484) 0:00:02.844 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.027) 0:00:02.872 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.016) 0:00:02.889 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.022) 0:00:02.912 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.034) 0:00:02.947 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.016) 0:00:02.963 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.025) 0:00:02.989 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-02-14 02:40:32.613203", "rc": 0, "start": "2024-02-14 02:40:32.609732" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.136) 0:00:03.126 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.047) 0:00:03.173 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.030) 0:00:03.204 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.044) 0:00:03.249 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010895", "end": "2024-02-14 02:40:32.879630", "rc": 1, "start": "2024-02-14 02:40:32.868735" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.138) 0:00:03.388 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.017) 0:00:03.405 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.121) 0:00:03.526 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.017) 0:00:03.543 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.018) 0:00:03.562 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.031) 0:00:03.594 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.069) 0:00:03.663 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.014) 0:00:03.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.010) 0:00:03.687 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.014) 0:00:03.702 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:34 +0000 (0:00:00.917) 0:00:04.619 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:34 +0000 (0:00:00.838) 0:00:05.457 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:34 +0000 (0:00:00.024) 0:00:05.482 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.027) 0:00:05.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.020) 0:00:05.530 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.050) 0:00:05.580 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.035) 0:00:05.616 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.025) 0:00:05.642 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.029) 0:00:05.671 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.413) 0:00:06.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.039) 0:00:06.124 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.032) 0:00:06.156 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:35 +0000 (0:00:00.026) 0:00:06.183 **** 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, 49260396-37b0-4513-b3bd-0aea8f82931e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.498) 0:00:06.682 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.021) 0:00:06.703 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49260396-37b0-4513-b3bd-0aea8f82931e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.026) 0:00:06.729 **** 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, 49260396-37b0-4513-b3bd-0aea8f82931e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49260396-37b0-4513-b3bd-0aea8f82931e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.022) 0:00:06.751 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.049) 0:00:06.801 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.213) 0:00:07.015 **** 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, 49260396-37b0-4513-b3bd-0aea8f82931e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49260396-37b0-4513-b3bd-0aea8f82931e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.024) 0:00:07.039 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.052) 0:00:07.091 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.053) 0:00:07.145 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.021) 0:00:07.167 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878436.1868463, "block_size": 4096, "blocks": 8, "ctime": 1707878436.0908465, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878436.0908465, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.135) 0:00:07.302 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.039) 0:00:07.341 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024915", "end": "2024-02-14 02:40:37.025666", "rc": 0, "start": "2024-02-14 02:40:37.000751" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.215) 0:00:07.557 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.042) 0:00:07.599 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.032) 0:00:07.632 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.024) 0:00:07.657 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.079) 0:00:07.736 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.045) 0:00:07.782 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.029) 0:00:07.811 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.105) 0:00:07.917 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.049) 0:00:07.966 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.056) 0:00:08.023 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.047) 0:00:08.070 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878436.0938463, "block_size": 4096, "blocks": 0, "ctime": 1707878436.0928464, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17498, "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": 1707878436.0928464, "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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.141) 0:00:08.212 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.044) 0:00:08.257 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.045) 0:00:08.302 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.062) 0:00:08.364 **** 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.081095", "end": "2024-02-14 02:40:38.077020", "rc": 1, "start": "2024-02-14 02:40:37.995925" } STDOUT: Connection 'statebr' (49260396-37b0-4513-b3bd-0aea8f82931e) successfully deleted. STDERR: (process:22340): GLib-GIO-WARNING **: 02:40:38.056: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/27 but no object proxy exists (process:22340): GLib-GIO-WARNING **: 02:40:38.057: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/71 but no object proxy exists (process:22340): GLib-GIO-WARNING **: 02:40:38.057: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/43 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.259) 0:00:08.624 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.053) 0:00:08.677 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.073) 0:00:08.751 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.183) 0:00:08.934 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.075) 0:00:09.009 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.100) 0:00:09.110 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004948", "end": "2024-02-14 02:40:39.809241", "rc": 0, "start": "2024-02-14 02:40:38.804293" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:39 +0000 (0:00:01.213) 0:00:10.323 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.023) 0:00:10.347 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.022) 0:00:10.369 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.045) 0:00:10.415 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007236", "end": "2024-02-14 02:40:40.072588", "rc": 1, "start": "2024-02-14 02:40:40.065352" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.169) 0:00:10.585 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.057) 0:00:10.643 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.159) 0:00:10.803 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.032) 0:00:10.836 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.079) 0:00:10.915 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.079) 0:00:10.994 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.041) 0:00:11.036 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.038) 0:00:11.074 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.030) 0:00:11.104 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.036) 0:00:11.141 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.817) 0:00:11.958 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.657) 0:00:12.616 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.031) 0:00:12.648 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.050) 0:00:12.698 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.037) 0:00:12.736 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.059) 0:00:12.796 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.025) 0:00:12.822 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.024) 0:00:12.847 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.032) 0:00:12.880 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.226) 0:00:13.106 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.026) 0:00:13.133 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.024) 0:00:13.157 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.022) 0:00:13.180 **** 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, d7fe0c7b-9e34-4214-948e-72503e4943eb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.404) 0:00:13.585 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.029) 0:00:13.614 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7fe0c7b-9e34-4214-948e-72503e4943eb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.045) 0:00:13.659 **** 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, d7fe0c7b-9e34-4214-948e-72503e4943eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7fe0c7b-9e34-4214-948e-72503e4943eb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.025) 0:00:13.684 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.036) 0:00:13.721 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.132) 0:00:13.854 **** 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, d7fe0c7b-9e34-4214-948e-72503e4943eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7fe0c7b-9e34-4214-948e-72503e4943eb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.024) 0:00:13.878 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.076) 0:00:13.955 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.047) 0:00:14.003 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.138) 0:00:14.141 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.024) 0:00:14.166 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.055) 0:00:14.222 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.023) 0:00:14.245 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878443.0308275, "block_size": 4096, "blocks": 8, "ctime": 1707878443.0308275, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878443.0308275, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.141) 0:00:14.386 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.053) 0:00:14.440 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021011", "end": "2024-02-14 02:40:44.097195", "rc": 0, "start": "2024-02-14 02:40:44.076184" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.197) 0:00:14.638 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.050) 0:00:14.688 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.026) 0:00:14.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.023) 0:00:14.738 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.026) 0:00:14.765 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.035) 0:00:14.801 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.058) 0:00:14.859 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.071) 0:00:14.930 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.024) 0:00:14.954 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.030) 0:00:14.985 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.027) 0:00:15.012 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.069) 0:00:15.082 **** 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.047609", "end": "2024-02-14 02:40:44.786048", "rc": 1, "start": "2024-02-14 02:40:44.738439" } STDOUT: Connection 'statebr' (d7fe0c7b-9e34-4214-948e-72503e4943eb) 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.224) 0:00:15.306 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.040) 0:00:15.346 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.022) 0:00:15.368 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.043) 0:00:15.412 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.038) 0:00:15.450 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.034) 0:00:15.485 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003468", "end": "2024-02-14 02:40:45.109242", "rc": 0, "start": "2024-02-14 02:40:45.105774" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.165) 0:00:15.651 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.034) 0:00:15.685 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.038) 0:00:15.724 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.084) 0:00:15.809 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.073) 0:00:15.882 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.053) 0:00:15.936 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.026) 0:00:15.962 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.022) 0:00:15.984 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.022) 0:00:16.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.749) 0:00:16.757 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.658) 0:00:17.415 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.036) 0:00:17.452 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.062) 0:00:17.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.022) 0:00:17.537 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.046) 0:00:17.583 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.030) 0:00:17.614 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.021) 0:00:17.635 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.028) 0:00:17.663 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.342) 0:00:18.005 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.104) 0:00:18.110 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.038) 0:00:18.148 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.035) 0:00:18.184 **** 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, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.357) 0:00:18.541 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.021) 0:00:18.562 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.023) 0:00:18.586 **** 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, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.022) 0:00:18.609 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.021) 0:00:18.631 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.130) 0:00:18.761 **** 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, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.032) 0:00:18.793 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.081) 0:00:18.875 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.067) 0:00:18.942 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.042) 0:00:18.985 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.042) 0:00:19.027 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.031) 0:00:19.058 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.030) 0:00:19.089 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.777) 0:00:19.867 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.667) 0:00:20.535 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.069) 0:00:20.604 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.034) 0:00:20.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.022) 0:00:20.661 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.041) 0:00:20.703 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.022) 0:00:20.725 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.022) 0:00:20.747 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.046) 0:00:20.794 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.256) 0:00:21.050 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.025) 0:00:21.076 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.019) 0:00:21.096 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.021) 0:00:21.117 **** 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, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.297) 0:00:21.415 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.027) 0:00:21.442 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.024) 0:00:21.467 **** 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, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3b4db7e-2d3a-4699-b42d-6ff2b2946e37 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.054) 0:00:21.522 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.026) 0:00:21.549 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.144) 0:00:21.693 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.083) 0:00:21.777 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.056) 0:00:21.834 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878447.968814, "block_size": 4096, "blocks": 0, "ctime": 1707878447.967814, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17498, "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": 1707878447.967814, "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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.175) 0:00:22.009 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.064) 0:00:22.074 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.055) 0:00:22.129 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.022) 0:00:22.152 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878447.9668138, "block_size": 4096, "blocks": 8, "ctime": 1707878447.9658139, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878447.9658139, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.137) 0:00:22.290 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.024) 0:00:22.314 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022148", "end": "2024-02-14 02:40:51.959658", "rc": 0, "start": "2024-02-14 02:40:51.937510" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.160) 0:00:22.475 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.038) 0:00:22.514 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.060) 0:00:22.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.038) 0:00:22.612 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.044) 0:00:22.657 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.040) 0:00:22.698 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.050) 0:00:22.748 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.029) 0:00:22.778 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.103) 0:00:22.882 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.066) 0:00:22.948 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.026) 0:00:22.975 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.043) 0:00:23.018 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.078879", "end": "2024-02-14 02:40:52.721915", "rc": 1, "start": "2024-02-14 02:40:52.643036" } STDOUT: Connection 'statebr' (c3b4db7e-2d3a-4699-b42d-6ff2b2946e37) successfully deleted. STDERR: (process:23105): GLib-GIO-WARNING **: 02:40:52.698: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 but no object proxy exists (process:23105): GLib-GIO-WARNING **: 02:40:52.699: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/44 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.216) 0:00:23.235 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.038) 0:00:23.273 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.025) 0:00:23.298 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.046) 0:00:23.345 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.037) 0:00:23.383 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.038) 0:00:23.421 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003871", "end": "2024-02-14 02:40:53.044559", "rc": 0, "start": "2024-02-14 02:40:53.040688" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.149) 0:00:23.571 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.030) 0:00:23.601 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.026) 0:00:23.628 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.088) 0:00:23.716 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.070) 0:00:23.787 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.160) 0:00:23.948 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.056) 0:00:24.004 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.049) 0:00:24.054 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.036) 0:00:24.091 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.880) 0:00:24.971 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.810) 0:00:25.781 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.077) 0:00:25.859 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.071) 0:00:25.931 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.112) 0:00:26.044 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.073) 0:00:26.117 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.040) 0:00:26.158 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.033) 0:00:26.191 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.057) 0:00:26.249 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.320) 0:00:26.569 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.026) 0:00:26.596 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.029) 0:00:26.626 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.047) 0:00:26.673 **** 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, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.468) 0:00:27.142 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.023) 0:00:27.165 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.023) 0:00:27.189 **** 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, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.023) 0:00:27.212 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.022) 0:00:27.235 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.169) 0:00:27.404 **** 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, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.030) 0:00:27.435 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.050) 0:00:27.485 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.106) 0:00:27.592 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.055) 0:00:27.647 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.028) 0:00:27.675 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.044) 0:00:27.720 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.760) 0:00:28.481 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.727) 0:00:29.208 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.041) 0:00:29.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.045) 0:00:29.295 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.051) 0:00:29.347 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.086) 0:00:29.433 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.031) 0:00:29.465 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.068) 0:00:29.533 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.192) 0:00:29.725 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.400) 0:00:30.126 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.072) 0:00:30.198 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.046) 0:00:30.245 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.040) 0:00:30.286 **** 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, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.329) 0:00:30.615 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.024) 0:00:30.639 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.028) 0:00:30.668 **** 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, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b13fa4f-ca40-4554-b12c-b90b14c32f6c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.064) 0:00:30.732 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.025) 0:00:30.758 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.157) 0:00:30.915 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.059) 0:00:30.975 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.043) 0:00:31.018 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.049) 0:00:31.067 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.097) 0:00:31.165 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.023) 0:00:31.188 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.031) 0:00:31.219 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:01 +0000 (0:00:00.783) 0:00:32.003 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.716) 0:00:32.719 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.036) 0:00:32.755 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.030) 0:00:32.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.036) 0:00:32.822 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.083) 0:00:32.905 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.046) 0:00:32.952 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.032) 0:00:32.984 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.033) 0:00:33.018 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.298) 0:00:33.316 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.030) 0:00:33.347 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.039) 0:00:33.386 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.088) 0:00:33.475 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.328) 0:00:33.803 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.023) 0:00:33.826 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.022) 0:00:33.849 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.023) 0:00:33.873 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.022) 0:00:33.895 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.153) 0:00:34.049 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.060) 0:00:34.109 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.041) 0:00:34.151 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878456.5757902, "block_size": 4096, "blocks": 0, "ctime": 1707878456.5647902, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17500, "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": 1707878456.5647902, "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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.144) 0:00:34.295 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.057) 0:00:34.353 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.074) 0:00:34.428 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.129) 0:00:34.557 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.201) 0:00:34.758 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.027) 0:00:34.786 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022123", "end": "2024-02-14 02:41:04.430306", "rc": 1, "start": "2024-02-14 02:41:04.408183" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.163) 0:00:34.949 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.043) 0:00:34.993 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.030) 0:00:35.023 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.026) 0:00:35.050 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.045) 0:00:35.096 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.027) 0:00:35.124 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.052) 0:00:35.176 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.038) 0:00:35.215 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.070) 0:00:35.285 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.152) 0:00:35.437 **** 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.081160", "end": "2024-02-14 02:41:05.159476", "rc": 1, "start": "2024-02-14 02:41:05.078316" } STDOUT: Connection 'statebr' (9b13fa4f-ca40-4554-b12c-b90b14c32f6c) successfully deleted. STDERR: (process:23774): GLib-GIO-WARNING **: 02:41:05.138: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/29 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.252) 0:00:35.690 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.098) 0:00:35.788 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.039) 0:00:35.828 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.136) 0:00:35.965 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.062) 0:00:36.027 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.044) 0:00:36.071 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003695", "end": "2024-02-14 02:41:05.697760", "rc": 0, "start": "2024-02-14 02:41:05.694065" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.142) 0:00:36.214 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.040) 0:00:36.255 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.037) 0:00:36.292 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.080) 0:00:36.373 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.082) 0:00:36.456 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.051) 0:00:36.508 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.034) 0:00:36.542 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.066) 0:00:36.608 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.033) 0:00:36.642 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.915) 0:00:37.558 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.710) 0:00:38.268 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.033) 0:00:38.301 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.029) 0:00:38.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.024) 0:00:38.355 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.077) 0:00:38.432 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.033) 0:00:38.466 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.046) 0:00:38.512 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.058) 0:00:38.571 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.306) 0:00:38.877 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.030) 0:00:38.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.022) 0:00:38.930 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.021) 0:00:38.952 **** 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, b28de583-551c-4ced-b5f4-776048cb2f01 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.348) 0:00:39.300 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.022) 0:00:39.322 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28de583-551c-4ced-b5f4-776048cb2f01" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.022) 0:00:39.345 **** 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, b28de583-551c-4ced-b5f4-776048cb2f01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28de583-551c-4ced-b5f4-776048cb2f01" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.024) 0:00:39.369 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.022) 0:00:39.391 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.131) 0:00:39.523 **** 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, b28de583-551c-4ced-b5f4-776048cb2f01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28de583-551c-4ced-b5f4-776048cb2f01" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.023) 0:00:39.547 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.035) 0:00:39.582 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.041) 0:00:39.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.025) 0:00:39.650 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.021) 0:00:39.671 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.020) 0:00:39.692 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.779) 0:00:40.472 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.665) 0:00:41.137 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.038) 0:00:41.175 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.027) 0:00:41.202 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.060) 0:00:41.263 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.065) 0:00:41.329 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.050) 0:00:41.379 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.046) 0:00:41.426 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.030) 0:00:41.456 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.268) 0:00:41.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.037) 0:00:41.763 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.050) 0:00:41.813 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.034) 0:00:41.848 **** 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, b28de583-551c-4ced-b5f4-776048cb2f01 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.351) 0:00:42.199 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.100) 0:00:42.299 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b28de583-551c-4ced-b5f4-776048cb2f01 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.042) 0:00:42.342 **** 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, b28de583-551c-4ced-b5f4-776048cb2f01 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b28de583-551c-4ced-b5f4-776048cb2f01 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.031) 0:00:42.374 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.034) 0:00:42.408 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.173) 0:00:42.582 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.044) 0:00:42.627 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.105) 0:00:42.732 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.046) 0:00:42.779 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.050) 0:00:42.830 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.046) 0:00:42.876 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.903) 0:00:43.780 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.883) 0:00:44.664 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.152) 0:00:44.816 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.032) 0:00:44.849 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.117) 0:00:44.966 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.092) 0:00:45.059 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.038) 0:00:45.098 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.044) 0:00:45.142 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.041) 0:00:45.184 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.318) 0:00:45.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.070) 0:00:45.573 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.026) 0:00:45.600 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.064) 0:00:45.664 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.421) 0:00:46.086 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.032) 0:00:46.119 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.093) 0:00:46.212 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.074) 0:00:46.287 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.048) 0:00:46.335 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.195) 0:00:46.531 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.156) 0:00:46.687 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.075) 0:00:46.763 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.099) 0:00:46.862 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.065) 0:00:46.927 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.085) 0:00:47.013 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.056) 0:00:47.069 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.770) 0:00:47.839 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.878) 0:00:48.718 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.065) 0:00:48.783 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.045) 0:00:48.828 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.064) 0:00:48.893 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.191) 0:00:49.084 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.025) 0:00:49.110 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.038) 0:00:49.148 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.055) 0:00:49.204 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.375) 0:00:49.580 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.036) 0:00:49.617 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.024) 0:00:49.641 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.163) 0:00:49.804 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.562) 0:00:50.367 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.044) 0:00:50.412 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.043) 0:00:50.456 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.099) 0:00:50.556 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.058) 0:00:50.614 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.203) 0:00:50.818 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.083) 0:00:50.901 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.068) 0:00:50.970 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.163) 0:00:51.133 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.163) 0:00:51.297 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.036) 0:00:51.333 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021753", "end": "2024-02-14 02:41:20.973854", "rc": 1, "start": "2024-02-14 02:41:20.952101" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.155) 0:00:51.488 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.027) 0:00:51.516 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.026) 0:00:51.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.023) 0:00:51.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.024) 0:00:51.590 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.023) 0:00:51.613 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.024) 0:00:51.638 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.062) 0:00:51.701 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.047) 0:00:51.748 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.159) 0:00:51.907 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.045) 0:00:51.952 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.039) 0:00:51.992 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.193) 0:00:52.185 **** 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.044705", "end": "2024-02-14 02:41:21.854175", "rc": 1, "start": "2024-02-14 02:41:21.809470" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.203) 0:00:52.389 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.095) 0:00:52.484 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.064) 0:00:52.548 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.086) 0:00:52.635 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.121) 0:00:52.756 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.138) 0:00:52.894 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003682", "end": "2024-02-14 02:41:22.550227", "rc": 0, "start": "2024-02-14 02:41:22.546545" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.221) 0:00:53.115 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.089) 0:00:53.205 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.039) 0:00:53.244 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.089) 0:00:53.333 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.067) 0:00:53.401 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.111) 0:00:53.513 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.029) 0:00:53.542 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.080) 0:00:53.622 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.038) 0:00:53.661 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.844) 0:00:54.505 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.830) 0:00:55.335 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.038) 0:00:55.374 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.045) 0:00:55.420 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.082) 0:00:55.502 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.108) 0:00:55.611 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.091) 0:00:55.703 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.068) 0:00:55.772 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.044) 0:00:55.816 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.317) 0:00:56.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.153) 0:00:56.286 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.052) 0:00:56.339 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.051) 0:00:56.390 **** 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, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.429) 0:00:56.819 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.032) 0:00:56.852 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.075) 0:00:56.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, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.056) 0:00:56.984 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.076) 0:00:57.060 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.173) 0:00:57.234 **** 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, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.060) 0:00:57.295 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.070) 0:00:57.365 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.048) 0:00:57.414 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.027) 0:00:57.441 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.025) 0:00:57.467 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.031) 0:00:57.498 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.887) 0:00:58.386 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.708) 0:00:59.094 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.041) 0:00:59.136 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.048) 0:00:59.184 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.053) 0:00:59.237 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.090) 0:00:59.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.026) 0:00:59.354 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.035) 0:00:59.390 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.030) 0:00:59.420 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.250) 0:00:59.670 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.043) 0:00:59.714 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.039) 0:00:59.754 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.026) 0:00:59.780 **** 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, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.348) 0:01:00.129 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.062) 0:01:00.192 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.086) 0:01:00.278 **** 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, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3030a683-7aaf-461f-8a0a-9c9d5df9ce50 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.054) 0:01:00.333 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.042) 0:01:00.376 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.168) 0:01:00.544 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.105) 0:01:00.650 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.108) 0:01:00.759 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.058) 0:01:00.817 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.078) 0:01:00.895 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.063) 0:01:00.959 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:31 +0000 (0:00:00.767) 0:01:01.727 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:31 +0000 (0:00:00.668) 0:01:02.396 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.125) 0:01:02.521 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.062) 0:01:02.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.062) 0:01:02.646 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.154) 0:01:02.800 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.036) 0:01:02.837 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.058) 0:01:02.895 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.067) 0:01:02.962 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.367) 0:01:03.329 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.067) 0:01:03.396 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.114) 0:01:03.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.042) 0:01:03.553 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.434) 0:01:03.988 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.029) 0:01:04.017 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.028) 0:01:04.046 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.026) 0:01:04.072 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.046) 0:01:04.118 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.183) 0:01:04.301 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.097) 0:01:04.399 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.107) 0:01:04.506 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.122) 0:01:04.628 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.044) 0:01:04.673 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.029) 0:01:04.703 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.034) 0:01:04.737 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.786) 0:01:05.523 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.719) 0:01:06.242 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.045) 0:01:06.288 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.044) 0:01:06.332 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.053) 0:01:06.385 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.101) 0:01:06.487 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.055) 0:01:06.543 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.035) 0:01:06.579 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.030) 0:01:06.609 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.289) 0:01:06.899 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.086) 0:01:06.986 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.047) 0:01:07.033 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.044) 0:01:07.078 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.497) 0:01:07.575 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.035) 0:01:07.611 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.024) 0:01:07.635 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.042) 0:01:07.677 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.087) 0:01:07.765 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.220) 0:01:07.985 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.091) 0:01:08.077 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.111) 0:01:08.188 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.037) 0:01:08.226 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.183) 0:01:08.409 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.026) 0:01:08.435 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020122", "end": "2024-02-14 02:41:38.090634", "rc": 1, "start": "2024-02-14 02:41:38.070512" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.188) 0:01:08.624 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.026) 0:01:08.650 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.028) 0:01:08.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.054) 0:01:08.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.036) 0:01:08.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.048) 0:01:08.819 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.053) 0:01:08.873 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404922", "end": "2024-02-14 02:41:39.010445", "rc": 0, "start": "2024-02-14 02:41:38.605523" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.684) 0:01:09.557 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.062) 0:01:09.620 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.026) 0:01:09.646 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.068) 0:01:09.714 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.114) 0:01:09.829 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.273) 0:01:10.102 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.054) 0:01:10.157 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.092) 0:01:10.250 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.105) 0:01:10.355 **** 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.043730", "end": "2024-02-14 02:41:40.073435", "rc": 1, "start": "2024-02-14 02:41:40.029705" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.296) 0:01:10.652 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.008701", "end": "2024-02-14 02:41:40.370500", "rc": 0, "start": "2024-02-14 02:41:40.361799" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:70:f4:38:80:d5 brd ff:ff:ff:ff:ff:ff inet 10.31.8.244/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2730sec preferred_lft 2730sec inet6 fe80::1070:f4ff:fe38:80d5/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 02:61:cf:76:54:e5 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.244 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.276) 0:01:10.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.086) 0:01:11.015 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.10s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.70s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.49s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.33s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.18s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 1.03s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.90s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.82s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.81s /WORKDIR/git-bond_options_rewrite2kjqp0w_/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. ---^---^---^---^---^---