# 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_rewrite8febexeq/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_rewrite8febexeq/tests/tests_states_nm.yml:6 Tuesday 13 February 2024 14:04:20 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tests_states_nm.yml:9 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.659) 0:00:00.671 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.024) 0:00:00.695 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.240) 0:00:00.935 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.260) 0:00:01.195 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.032) 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_rewrite8febexeq/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.029) 0:00:01.257 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.041) 0:00:01.299 ****** 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_rewrite8febexeq/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 14:04:21 +0000 (0:00:00.238) 0:00:01.538 ****** 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_rewrite8febexeq/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.452) 0:00:01.990 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176756", "end": "2024-02-13 14:04:22.627045", "rc": 0, "start": "2024-02-13 14:04:22.450289" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.305) 0:00:02.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.014) 0:00:02.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tests_states_nm.yml:11 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.012) 0:00:02.322 ****** 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_rewrite8febexeq/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.022) 0:00:02.344 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.403) 0:00:02.748 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.017) 0:00:02.765 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.022) 0:00:02.788 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.018) 0:00:02.806 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.036) 0:00:02.842 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.028) 0:00:02.871 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.033) 0:00:02.904 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-02-13 14:04:23.369455", "rc": 0, "start": "2024-02-13 14:04:23.366031" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.127) 0:00:03.031 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.012) 0:00:03.044 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.010) 0:00:03.054 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.021) 0:00:03.076 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010926", "end": "2024-02-13 14:04:23.551404", "rc": 1, "start": "2024-02-13 14:04:23.540478" } 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_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.164) 0:00:03.241 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.017) 0:00:03.258 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.143) 0:00:03.402 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.050) 0:00:03.452 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.036) 0:00:03.489 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.035) 0:00:03.524 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.071) 0:00:03.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.011) 0:00:03.607 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.010) 0:00:03.618 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.010) 0:00:03.628 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:24 +0000 (0:00:00.802) 0:00:04.431 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:25 +0000 (0:00:01.110) 0:00:05.541 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:25 +0000 (0:00:00.023) 0:00:05.565 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:25 +0000 (0:00:00.020) 0:00:05.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:25 +0000 (0:00:00.028) 0:00:05.613 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.045) 0:00:05.658 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.020) 0:00:05.679 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.028) 0:00:05.708 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.025) 0:00:05.733 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.382) 0:00:06.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.035) 0:00:06.151 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.040) 0:00:06.192 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.039) 0:00:06.231 ****** 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, abdcd732-b36c-4d2b-bf09-582bb34c2397 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.448) 0:00:06.680 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.021) 0:00:06.701 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abdcd732-b36c-4d2b-bf09-582bb34c2397" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.024) 0:00:06.725 ****** 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, abdcd732-b36c-4d2b-bf09-582bb34c2397\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abdcd732-b36c-4d2b-bf09-582bb34c2397" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.022) 0:00:06.748 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.043) 0:00:06.792 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.182) 0:00:06.974 ****** 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, abdcd732-b36c-4d2b-bf09-582bb34c2397\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abdcd732-b36c-4d2b-bf09-582bb34c2397" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.022) 0:00:06.997 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.039) 0:00:07.037 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.036) 0:00:07.073 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.021) 0:00:07.094 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833066.9505756, "block_size": 4096, "blocks": 8, "ctime": 1707833066.9495757, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833066.9495757, "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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.135) 0:00:07.230 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.063) 0:00:07.293 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026079", "end": "2024-02-13 14:04:27.781130", "rc": 0, "start": "2024-02-13 14:04:27.755051" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.164) 0:00:07.458 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.025) 0:00:07.483 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.021) 0:00:07.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.023) 0:00:07.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.021) 0:00:07.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.022) 0:00:07.573 ****** 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_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.024) 0:00:07.597 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.048) 0:00:07.646 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.023) 0:00:07.670 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.042) 0:00:07.712 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.035) 0:00:07.748 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833066.9565756, "block_size": 4096, "blocks": 0, "ctime": 1707833066.9525757, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17664, "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": 1707833066.9525757, "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_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.133) 0:00:07.881 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.026) 0:00:07.908 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.020) 0:00:07.929 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.038) 0:00:07.968 ****** 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.079899", "end": "2024-02-13 14:04:28.505855", "rc": 1, "start": "2024-02-13 14:04:28.425956" } STDOUT: Connection 'statebr' (abdcd732-b36c-4d2b-bf09-582bb34c2397) successfully deleted. STDERR: (process:29131): GLib-GIO-WARNING **: 14:04:28.485: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:29131): GLib-GIO-WARNING **: 14:04:28.485: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/73 but no object proxy exists (process:29131): GLib-GIO-WARNING **: 14:04:28.485: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 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_rewrite8febexeq/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.208) 0:00:08.176 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.038) 0:00:08.215 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.028) 0:00:08.243 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.049) 0:00:08.292 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.081) 0:00:08.374 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.051) 0:00:08.425 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2024-02-13 14:04:28.891899", "rc": 0, "start": "2024-02-13 14:04:28.888165" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.138) 0:00:08.563 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.023) 0:00:08.587 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:04:28 +0000 (0:00:00.022) 0:00:08.609 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.041) 0:00:08.650 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007864", "end": "2024-02-13 14:04:29.116230", "rc": 1, "start": "2024-02-13 14:04:29.108366" } 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_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.153) 0:00:08.803 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.037) 0:00:08.841 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.181) 0:00:09.022 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.022) 0:00:09.045 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.038) 0:00:09.083 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.044) 0:00:09.128 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.137) 0:00:09.266 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.053) 0:00:09.320 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.050) 0:00:09.370 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:29 +0000 (0:00:00.041) 0:00:09.412 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:30 +0000 (0:00:00.737) 0:00:10.150 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.941) 0:00:11.092 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.026) 0:00:11.118 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.022) 0:00:11.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.020) 0:00:11.161 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.087) 0:00:11.249 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.022) 0:00:11.272 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.048) 0:00:11.320 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.043) 0:00:11.363 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:31 +0000 (0:00:00.243) 0:00:11.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.055) 0:00:11.662 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.035) 0:00:11.698 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.021) 0:00:11.719 ****** 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, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.308) 0:00:12.028 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.028) 0:00:12.057 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.025) 0:00:12.082 ****** 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, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.025) 0:00:12.107 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.024) 0:00:12.132 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.131) 0:00:12.263 ****** 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, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.048) 0:00:12.311 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.113) 0:00:12.424 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:32 +0000 (0:00:00.043) 0:00:12.468 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.232) 0:00:12.700 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.041) 0:00:12.742 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.066) 0:00:12.809 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.050) 0:00:12.859 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833072.3296413, "block_size": 4096, "blocks": 8, "ctime": 1707833072.3296413, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833072.3296413, "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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.209) 0:00:13.069 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.026) 0:00:13.095 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021534", "end": "2024-02-13 14:04:33.605934", "rc": 0, "start": "2024-02-13 14:04:33.584400" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.190) 0:00:13.286 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.044) 0:00:13.330 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.055) 0:00:13.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.034) 0:00:13.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.027) 0:00:13.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.024) 0:00:13.472 ****** 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_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.025) 0:00:13.498 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.026) 0:00:13.524 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.049) 0:00:13.574 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.019) 0:00:13.594 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:04:33 +0000 (0:00:00.021) 0:00:13.615 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.041) 0:00:13.657 ****** 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.049681", "end": "2024-02-13 14:04:34.169524", "rc": 1, "start": "2024-02-13 14:04:34.119843" } STDOUT: Connection 'statebr' (c927fe6f-9fcd-4598-b87d-d8cc51ce9b5a) 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_rewrite8febexeq/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.191) 0:00:13.848 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.039) 0:00:13.887 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.050) 0:00:13.938 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.053) 0:00:13.992 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.043) 0:00:14.036 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.035) 0:00:14.071 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-02-13 14:04:34.541146", "rc": 0, "start": "2024-02-13 14:04:34.537668" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.144) 0:00:14.215 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.032) 0:00:14.248 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.023) 0:00:14.272 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.062) 0:00:14.334 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.045) 0:00:14.380 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.040) 0:00:14.420 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.031) 0:00:14.451 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.026) 0:00:14.477 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.048) 0:00:14.525 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.715) 0:00:15.240 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.955) 0:00:16.195 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.075) 0:00:16.271 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.030) 0:00:16.302 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.025) 0:00:16.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.056) 0:00:16.384 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.040) 0:00:16.424 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.024) 0:00:16.448 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.056) 0:00:16.505 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.289) 0:00:16.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.026) 0:00:16.821 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.023) 0:00:16.845 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.022) 0:00:16.868 ****** 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, 9c26415f-13f6-4c31-ace9-83a195dc908d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.323) 0:00:17.191 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.022) 0:00:17.213 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c26415f-13f6-4c31-ace9-83a195dc908d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.025) 0:00:17.239 ****** 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, 9c26415f-13f6-4c31-ace9-83a195dc908d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c26415f-13f6-4c31-ace9-83a195dc908d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.026) 0:00:17.266 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.033) 0:00:17.300 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.137) 0:00:17.438 ****** 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, 9c26415f-13f6-4c31-ace9-83a195dc908d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c26415f-13f6-4c31-ace9-83a195dc908d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.100) 0:00:17.538 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.044) 0:00:17.582 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.042) 0:00:17.625 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.041) 0:00:17.667 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.026) 0:00:17.693 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.025) 0:00:17.719 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.020) 0:00:17.740 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.722) 0:00:18.462 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:39 +0000 (0:00:01.010) 0:00:19.472 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.022) 0:00:19.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.020) 0:00:19.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.019) 0:00:19.534 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.045) 0:00:19.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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.030) 0:00:19.610 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:39 +0000 (0:00:00.030) 0:00:19.641 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.026) 0:00:19.667 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.225) 0:00:19.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.024) 0:00:19.917 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.022) 0:00:19.940 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.022) 0:00:19.962 ****** 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, 9c26415f-13f6-4c31-ace9-83a195dc908d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.289) 0:00:20.251 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.032) 0:00:20.283 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c26415f-13f6-4c31-ace9-83a195dc908d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.024) 0:00:20.308 ****** 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, 9c26415f-13f6-4c31-ace9-83a195dc908d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c26415f-13f6-4c31-ace9-83a195dc908d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.048) 0:00:20.356 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.021) 0:00:20.378 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.129) 0:00:20.508 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.046) 0:00:20.554 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:40 +0000 (0:00:00.038) 0:00:20.592 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833077.4757044, "block_size": 4096, "blocks": 0, "ctime": 1707833077.4717045, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17664, "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": 1707833077.4717045, "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_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.134) 0:00:20.727 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.023) 0:00:20.750 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.034) 0:00:20.785 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.020) 0:00:20.805 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833077.5287051, "block_size": 4096, "blocks": 8, "ctime": 1707833077.4697044, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833077.4697044, "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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.131) 0:00:20.937 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.021) 0:00:20.959 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022763", "end": "2024-02-13 14:04:41.440894", "rc": 0, "start": "2024-02-13 14:04:41.418131" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.165) 0:00:21.124 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.027) 0:00:21.152 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.024) 0:00:21.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.064) 0:00:21.241 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.040) 0:00:21.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.023) 0:00:21.306 ****** 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_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.022) 0:00:21.329 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.027) 0:00:21.356 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.023) 0:00:21.380 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.019) 0:00:21.399 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.021) 0:00:21.421 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.038) 0:00:21.459 ****** 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.082233", "end": "2024-02-13 14:04:42.003986", "rc": 1, "start": "2024-02-13 14:04:41.921753" } STDOUT: Connection 'statebr' (9c26415f-13f6-4c31-ace9-83a195dc908d) successfully deleted. STDERR: (process:29846): GLib-GIO-WARNING **: 14:04:41.983: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 but no object proxy exists (process:29846): GLib-GIO-WARNING **: 14:04:41.984: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/75 but no object proxy exists (process:29846): GLib-GIO-WARNING **: 14:04:41.984: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/50 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.244) 0:00:21.704 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.057) 0:00:21.762 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.024) 0:00:21.786 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.045) 0:00:21.832 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.058) 0:00:21.890 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.088) 0:00:21.979 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003774", "end": "2024-02-13 14:04:42.443942", "rc": 0, "start": "2024-02-13 14:04:42.440168" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.141) 0:00:22.121 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.025) 0:00:22.147 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.024) 0:00:22.172 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.050) 0:00:22.222 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.046) 0:00:22.268 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.044) 0:00:22.313 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.036) 0:00:22.349 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.022) 0:00:22.371 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.026) 0:00:22.398 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:43 +0000 (0:00:00.690) 0:00:23.089 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.951) 0:00:24.040 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.021) 0:00:24.062 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.037) 0:00:24.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.043) 0:00:24.142 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.045) 0:00:24.188 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.042) 0:00:24.231 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.043) 0:00:24.275 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.038) 0:00:24.313 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.241) 0:00:24.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.032) 0:00:24.587 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.023) 0:00:24.610 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.027) 0:00:24.637 ****** 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, 02e92bd0-1ffe-4342-b343-aba25f4559bd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.367) 0:00:25.005 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.061) 0:00:25.066 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02e92bd0-1ffe-4342-b343-aba25f4559bd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.026) 0:00:25.093 ****** 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, 02e92bd0-1ffe-4342-b343-aba25f4559bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02e92bd0-1ffe-4342-b343-aba25f4559bd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.052) 0:00:25.145 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.034) 0:00:25.180 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.161) 0:00:25.341 ****** 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, 02e92bd0-1ffe-4342-b343-aba25f4559bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02e92bd0-1ffe-4342-b343-aba25f4559bd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.042) 0:00:25.384 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.044) 0:00:25.428 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.059) 0:00:25.488 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.041) 0:00:25.529 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.024) 0:00:25.554 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.048) 0:00:25.602 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:46 +0000 (0:00:00.701) 0:00:26.303 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.962) 0:00:27.265 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.025) 0:00:27.291 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.025) 0:00:27.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.038) 0:00:27.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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.053) 0:00:27.408 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.022) 0:00:27.430 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.021) 0:00:27.452 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.028) 0:00:27.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.234) 0:00:27.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.062) 0:00:27.778 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.031) 0:00:27.809 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.034) 0:00:27.844 ****** 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, 02e92bd0-1ffe-4342-b343-aba25f4559bd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.341) 0:00:28.186 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.023) 0:00:28.209 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02e92bd0-1ffe-4342-b343-aba25f4559bd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.042) 0:00:28.252 ****** 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, 02e92bd0-1ffe-4342-b343-aba25f4559bd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02e92bd0-1ffe-4342-b343-aba25f4559bd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.038) 0:00:28.291 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.023) 0:00:28.314 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.165) 0:00:28.480 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.044) 0:00:28.525 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.044) 0:00:28.569 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.042) 0:00:28.611 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.026) 0:00:28.637 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:49 +0000 (0:00:00.024) 0:00:28.662 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:49 +0000 (0:00:00.025) 0:00:28.688 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:49 +0000 (0:00:00.706) 0:00:29.394 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.924) 0:00:30.318 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.021) 0:00:30.340 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.022) 0:00:30.362 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.021) 0:00:30.383 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.043) 0:00:30.426 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.021) 0:00:30.448 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.022) 0:00:30.470 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:50 +0000 (0:00:00.025) 0:00:30.496 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.226) 0:00:30.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.024) 0:00:30.747 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.046) 0:00:30.793 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.021) 0:00:30.814 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.319) 0:00:31.134 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.051) 0:00:31.185 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.052) 0:00:31.238 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.044) 0:00:31.283 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.035) 0:00:31.318 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.160) 0:00:31.478 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.074) 0:00:31.552 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:51 +0000 (0:00:00.060) 0:00:31.613 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833085.2647998, "block_size": 4096, "blocks": 0, "ctime": 1707833085.2638, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17666, "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": 1707833085.2638, "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_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.155) 0:00:31.768 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.026) 0:00:31.795 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.036) 0:00:31.832 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.022) 0:00:31.854 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.173) 0:00:32.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.023) 0:00:32.051 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022550", "end": "2024-02-13 14:04:52.582166", "rc": 1, "start": "2024-02-13 14:04:52.559616" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.209) 0:00:32.261 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.032) 0:00:32.293 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.028) 0:00:32.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.037) 0:00:32.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.034) 0:00:32.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.048) 0:00:32.443 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.039) 0:00:32.482 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.037) 0:00:32.520 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.022) 0:00:32.542 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:04:52 +0000 (0:00:00.042) 0:00:32.585 ****** 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.081886", "end": "2024-02-13 14:04:53.126426", "rc": 1, "start": "2024-02-13 14:04:53.044540" } STDOUT: Connection 'statebr' (02e92bd0-1ffe-4342-b343-aba25f4559bd) successfully deleted. STDERR: (process:30466): GLib-GIO-WARNING **: 14:04:53.101: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 but no object proxy exists (process:30466): GLib-GIO-WARNING **: 14:04:53.104: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/77 but no object proxy exists (process:30466): GLib-GIO-WARNING **: 14:04:53.104: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/51 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_rewrite8febexeq/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.212) 0:00:32.798 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.036) 0:00:32.835 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.022) 0:00:32.857 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.077) 0:00:32.935 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.037) 0:00:32.973 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.050) 0:00:33.023 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-02-13 14:04:53.486809", "rc": 0, "start": "2024-02-13 14:04:53.483289" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.137) 0:00:33.160 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.025) 0:00:33.186 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.043) 0:00:33.229 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.066) 0:00:33.295 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.045) 0:00:33.340 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.058) 0:00:33.398 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.036) 0:00:33.435 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.048) 0:00:33.484 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:53 +0000 (0:00:00.028) 0:00:33.512 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:54 +0000 (0:00:00.801) 0:00:34.314 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.948) 0:00:35.262 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.029) 0:00:35.292 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.036) 0:00:35.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.051) 0:00:35.380 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.066) 0:00:35.447 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.042) 0:00:35.489 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.034) 0:00:35.523 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:55 +0000 (0:00:00.030) 0:00:35.554 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.232) 0:00:35.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.024) 0:00:35.811 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.019) 0:00:35.831 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.043) 0:00:35.874 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.334) 0:00:36.208 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.035) 0:00:36.243 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.025) 0:00:36.269 ****** 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, 223eae76-4e34-4d67-99b8-817dbb9e471a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.033) 0:00:36.303 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.041) 0:00:36.344 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.167) 0:00:36.511 ****** 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, 223eae76-4e34-4d67-99b8-817dbb9e471a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.034) 0:00:36.546 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.037) 0:00:36.583 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:56 +0000 (0:00:00.054) 0:00:36.637 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:04:57 +0000 (0:00:00.072) 0:00:36.710 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:04:57 +0000 (0:00:00.029) 0:00:36.739 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:04:57 +0000 (0:00:00.026) 0:00:36.766 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:04:57 +0000 (0:00:00.719) 0:00:37.486 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.966) 0:00:38.453 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.048) 0:00:38.501 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.025) 0:00:38.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.021) 0:00:38.548 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.043) 0:00:38.592 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:04:58 +0000 (0:00:00.021) 0:00:38.613 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.044) 0:00:38.657 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.028) 0:00:38.686 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.336) 0:00:39.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.069) 0:00:39.092 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.036) 0:00:39.128 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.039) 0:00:39.168 ****** 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, 223eae76-4e34-4d67-99b8-817dbb9e471a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.322) 0:00:39.491 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.021) 0:00:39.512 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.022) 0:00:39.535 ****** 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, 223eae76-4e34-4d67-99b8-817dbb9e471a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 223eae76-4e34-4d67-99b8-817dbb9e471a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.023) 0:00:39.559 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:04:59 +0000 (0:00:00.021) 0:00:39.580 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.139) 0:00:39.720 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.037) 0:00:39.757 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.043) 0:00:39.800 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.027) 0:00:39.828 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.022) 0:00:39.851 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.024) 0:00:39.875 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:00 +0000 (0:00:00.733) 0:00:40.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:02 +0000 (0:00:01.044) 0:00:41.654 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.022) 0:00:41.676 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.026) 0:00:41.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.023) 0:00:41.725 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.045) 0:00:41.771 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.033) 0:00:41.804 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.039) 0:00:41.844 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.030) 0:00:41.874 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.242) 0:00:42.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.026) 0:00:42.143 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.039) 0:00:42.183 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.022) 0:00:42.205 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.365) 0:00:42.570 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.049) 0:00:42.620 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:02 +0000 (0:00:00.024) 0:00:42.644 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.029) 0:00:42.674 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.024) 0:00:42.699 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.139) 0:00:42.838 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.045) 0:00:42.884 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.039) 0:00:42.923 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.038) 0:00:42.962 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.037) 0:00:42.999 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.041) 0:00:43.040 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:03 +0000 (0:00:00.025) 0:00:43.065 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:04 +0000 (0:00:00.693) 0:00:43.759 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.965) 0:00:44.724 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.023) 0:00:44.747 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.020) 0:00:44.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.020) 0:00:44.788 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.042) 0:00:44.830 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.019) 0:00:44.850 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.020) 0:00:44.870 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.023) 0:00:44.893 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.227) 0:00:45.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.027) 0:00:45.148 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.021) 0:00:45.170 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.024) 0:00:45.195 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.411) 0:00:45.606 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:05 +0000 (0:00:00.022) 0:00:45.629 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.022) 0:00:45.652 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.023) 0:00:45.676 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.022) 0:00:45.698 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.135) 0:00:45.834 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.046) 0:00:45.880 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.057) 0:00:45.938 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.024) 0:00:45.962 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.137) 0:00:46.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.021) 0:00:46.120 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020146", "end": "2024-02-13 14:05:06.611237", "rc": 1, "start": "2024-02-13 14:05:06.591091" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.172) 0:00:46.293 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.028) 0:00:46.322 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.038) 0:00:46.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.066) 0:00:46.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.042) 0:00:46.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.048) 0:00:46.516 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.068) 0:00:46.585 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:05:06 +0000 (0:00:00.056) 0:00:46.642 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.046) 0:00:46.689 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.179) 0:00:46.869 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.047) 0:00:46.916 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.037) 0:00:46.954 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.052) 0:00:47.006 ****** 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.043872", "end": "2024-02-13 14:05:07.528545", "rc": 1, "start": "2024-02-13 14:05:07.484673" } 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_rewrite8febexeq/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.198) 0:00:47.204 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.053) 0:00:47.258 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.060) 0:00:47.319 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.068) 0:00:47.387 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.076) 0:00:47.463 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:05:07 +0000 (0:00:00.051) 0:00:47.515 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2024-02-13 14:05:07.996678", "rc": 0, "start": "2024-02-13 14:05:07.993188" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.154) 0:00:47.669 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.024) 0:00:47.693 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.024) 0:00:47.718 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.068) 0:00:47.786 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.069) 0:00:47.856 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.056) 0:00:47.912 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.037) 0:00:47.950 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.040) 0:00:47.991 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:08 +0000 (0:00:00.022) 0:00:48.013 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:09 +0000 (0:00:00.742) 0:00:48.755 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.941) 0:00:49.697 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.024) 0:00:49.721 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.022) 0:00:49.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.022) 0:00:49.767 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.042) 0:00:49.809 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.019) 0:00:49.829 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.020) 0:00:49.849 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.023) 0:00:49.872 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.232) 0:00:50.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.025) 0:00:50.130 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.048) 0:00:50.179 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.021) 0:00:50.201 ****** 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, a09b8794-9912-439c-8d8f-d25bfd749b23 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.331) 0:00:50.533 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.021) 0:00:50.554 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.022) 0:00:50.577 ****** 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, a09b8794-9912-439c-8d8f-d25bfd749b23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.022) 0:00:50.599 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:10 +0000 (0:00:00.020) 0:00:50.619 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.128) 0:00:50.748 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.024) 0:00:50.772 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.037) 0:00:50.809 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.039) 0:00:50.849 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.025) 0:00:50.874 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.020) 0:00:50.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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.020) 0:00:50.915 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:11 +0000 (0:00:00.685) 0:00:51.601 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:12 +0000 (0:00:00.949) 0:00:52.551 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:12 +0000 (0:00:00.024) 0:00:52.576 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:12 +0000 (0:00:00.024) 0:00:52.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:12 +0000 (0:00:00.035) 0:00:52.636 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.047) 0:00:52.684 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.043) 0:00:52.728 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.027) 0:00:52.756 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.035) 0:00:52.791 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.244) 0:00:53.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.065) 0:00:53.101 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.030) 0:00:53.132 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.021) 0:00:53.153 ****** 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, a09b8794-9912-439c-8d8f-d25bfd749b23 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.317) 0:00:53.471 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.022) 0:00:53.494 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.031) 0:00:53.525 ****** 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, a09b8794-9912-439c-8d8f-d25bfd749b23 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a09b8794-9912-439c-8d8f-d25bfd749b23 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.024) 0:00:53.549 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:13 +0000 (0:00:00.027) 0:00:53.577 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.128) 0:00:53.706 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.035) 0:00:53.741 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.038) 0:00:53.780 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.024) 0:00:53.804 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.019) 0:00:53.824 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.022) 0:00:53.846 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:14 +0000 (0:00:00.679) 0:00:54.525 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:15 +0000 (0:00:00.977) 0:00:55.503 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:15 +0000 (0:00:00.047) 0:00:55.550 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:15 +0000 (0:00:00.039) 0:00:55.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:15 +0000 (0:00:00.051) 0:00:55.641 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.094) 0:00:55.736 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.030) 0:00:55.766 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.031) 0:00:55.798 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.030) 0:00:55.829 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.236) 0:00:56.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.031) 0:00:56.096 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.021) 0:00:56.118 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.030) 0:00:56.149 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.408) 0:00:56.558 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.026) 0:00:56.584 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.024) 0:00:56.608 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:16 +0000 (0:00:00.023) 0:00:56.631 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.021) 0:00:56.653 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.174) 0:00:56.828 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.063) 0:00:56.892 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.042) 0:00:56.934 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.048) 0:00:56.982 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.029) 0:00:57.012 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.022) 0:00:57.035 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:05:17 +0000 (0:00:00.021) 0:00:57.056 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:05:18 +0000 (0:00:00.693) 0:00:57.750 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.945) 0:00:58.696 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.024) 0:00:58.721 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.023) 0:00:58.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.023) 0:00:58.768 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.060) 0:00:58.829 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.024) 0:00:58.853 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.022) 0:00:58.875 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.024) 0:00:58.900 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.233) 0:00:59.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.030) 0:00:59.165 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.159) 0:00:59.324 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:05:19 +0000 (0:00:00.038) 0:00:59.363 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.310) 0:00:59.673 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.021) 0:00:59.694 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.022) 0:00:59.717 ****** 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_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.021) 0:00:59.738 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.020) 0:00:59.758 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.128) 0:00:59.887 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.043) 0:00:59.930 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.036) 0:00:59.967 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.021) 0:00:59.989 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.130) 0:01:00.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.021) 0:01:00.141 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020168", "end": "2024-02-13 14:05:20.622050", "rc": 1, "start": "2024-02-13 14:05:20.601882" } 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.160) 0:01:00.301 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.092) 0:01:00.394 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.046) 0:01:00.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.024) 0:01:00.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.041) 0:01:00.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.083) 0:01:00.590 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 14:05:20 +0000 (0:00:00.041) 0:01:00.632 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.686509", "end": "2024-02-13 14:05:21.817797", "rc": 0, "start": "2024-02-13 14:05:21.131288" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 14:05:21 +0000 (0:00:00.872) 0:01:01.504 ****** 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_rewrite8febexeq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 14:05:21 +0000 (0:00:00.040) 0:01:01.545 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:05:21 +0000 (0:00:00.021) 0:01:01.567 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:05:21 +0000 (0:00:00.059) 0:01:01.626 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.035) 0:01:01.662 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.133) 0:01:01.796 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.023) 0:01:01.819 ****** 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_rewrite8febexeq/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.054) 0:01:01.874 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.045) 0:01:01.919 ****** 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.043023", "end": "2024-02-13 14:05:22.433789", "rc": 1, "start": "2024-02-13 14:05:22.390766" } 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 [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 14:05:22 +0000 (0:00:00.185) 0:01:02.105 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.472152", "end": "2024-02-13 14:05:23.040640", "rc": 0, "start": "2024-02-13 14:05:22.568488" } 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:82:ac:d7:97:a7 brd ff:ff:ff:ff:ff:ff inet 10.31.10.58/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3446sec preferred_lft 3446sec inet6 fe80::1082:acff:fed7:97a7/64 scope link valid_lft forever preferred_lft forever 12: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 62:fa:7c:df:c1:07 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.10.58 metric 100 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 CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1266 0 --:--:-- --:--:-- --:--:-- 1270 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1410 0 --:--:-- --:--:-- --:--:-- 1405 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 13 February 2024 14:05:23 +0000 (0:00:00.624) 0:01:02.729 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.38s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.13s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.04s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewrite8febexeq/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. ---^---^---^---^---^---