# 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-weekly-cibsdzepp9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tests_states_nm.yml:6 Saturday 06 January 2024 13:55:48 +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-weekly-cibsdzepp9/tests/tests_states_nm.yml:9 Saturday 06 January 2024 13:55:49 +0000 (0:00:00.518) 0:00:00.530 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 13:55:49 +0000 (0:00:00.021) 0:00:00.552 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/el_repo_setup.yml:19 Saturday 06 January 2024 13:55:49 +0000 (0:00:00.231) 0:00:00.783 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/el_repo_setup.yml:24 Saturday 06 January 2024 13:55:49 +0000 (0:00:00.231) 0:00:01.015 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/el_repo_setup.yml:28 Saturday 06 January 2024 13:55:50 +0000 (0:00:00.031) 0:00:01.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/el_repo_setup.yml:53 Saturday 06 January 2024 13:55:50 +0000 (0:00:00.023) 0:00:01.070 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 13:55:50 +0000 (0:00:00.043) 0:00:01.113 ****** 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-weekly-cibsdzepp9/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 13:55:50 +0000 (0:00:00.195) 0:00:01.309 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 13:55:50 +0000 (0:00:00.471) 0:00:01.781 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179858", "end": "2024-01-06 13:55:51.038245", "rc": 0, "start": "2024-01-06 13:55:50.858387" } 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-weekly-cibsdzepp9/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.303) 0:00:02.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.010) 0:00:02.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/tests_states_nm.yml:11 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.009) 0:00:02.105 ****** 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-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.010) 0:00:02.115 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:11 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.383) 0:00:02.499 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:22 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.015) 0:00:02.515 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.016) 0:00:02.532 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.012) 0:00:02.545 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.032) 0:00:02.578 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.013) 0:00:02.591 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.012) 0:00:02.604 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003498", "end": "2024-01-06 13:55:51.683951", "rc": 0, "start": "2024-01-06 13:55:51.680453" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.125) 0:00:02.730 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.011) 0:00:02.742 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.010) 0:00:02.753 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.021) 0:00:02.774 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010961", "end": "2024-01-06 13:55:51.862165", "rc": 1, "start": "2024-01-06 13:55:51.851204" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.133) 0:00:02.908 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:55:51 +0000 (0:00:00.014) 0:00:02.922 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.122) 0:00:03.045 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.013) 0:00:03.058 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.019) 0:00:03.077 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.032) 0:00:03.110 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.073) 0:00:03.183 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.011) 0:00:03.195 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.009) 0:00:03.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.009) 0:00:03.214 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:55:52 +0000 (0:00:00.763) 0:00:03.978 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:55:54 +0000 (0:00:01.101) 0:00:05.080 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.029) 0:00:05.109 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.036) 0:00:05.146 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.029) 0:00:05.175 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.046) 0:00:05.222 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.021) 0:00:05.243 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.021) 0:00:05.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.030) 0:00:05.296 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.355) 0:00:05.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.024) 0:00:05.675 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.019) 0:00:05.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:55:54 +0000 (0:00:00.019) 0:00:05.714 ****** 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, defd2ec0-e3e0-436e-a9a2-d73f95075173 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.442) 0:00:06.157 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.178 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, defd2ec0-e3e0-436e-a9a2-d73f95075173" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.043) 0:00:06.222 ****** 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, defd2ec0-e3e0-436e-a9a2-d73f95075173\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, defd2ec0-e3e0-436e-a9a2-d73f95075173" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.022) 0:00:06.245 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.027) 0:00:06.272 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.179) 0:00:06.452 ****** 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, defd2ec0-e3e0-436e-a9a2-d73f95075173\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, defd2ec0-e3e0-436e-a9a2-d73f95075173" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.473 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.038) 0:00:06.512 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.034) 0:00:06.547 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.568 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549355.1139944, "block_size": 4096, "blocks": 8, "ctime": 1704549355.0319939, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704549355.0319939, "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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.134) 0:00:06.702 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.022) 0:00:06.724 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025299", "end": "2024-01-06 13:55:55.826490", "rc": 0, "start": "2024-01-06 13:55:55.801191" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.158) 0:00:06.882 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.024) 0:00:06.907 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.929 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.021) 0:00:06.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:55:55 +0000 (0:00:00.044) 0:00:07.016 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.023) 0:00:07.039 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.024) 0:00:07.064 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.022) 0:00:07.086 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.040) 0:00:07.126 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.032) 0:00:07.159 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549355.034994, "block_size": 4096, "blocks": 0, "ctime": 1704549355.033994, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17589, "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": 1704549355.033994, "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-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.137) 0:00:07.297 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.024) 0:00:07.321 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.021) 0:00:07.343 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.038) 0:00:07.382 ****** 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.079668", "end": "2024-01-06 13:55:56.540013", "rc": 1, "start": "2024-01-06 13:55:56.460345" } STDOUT: Connection 'statebr' (defd2ec0-e3e0-436e-a9a2-d73f95075173) successfully deleted. STDERR: (process:19315): GLib-GIO-WARNING **: 13:55:56.519: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:19315): GLib-GIO-WARNING **: 13:55:56.519: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/44 but no object proxy exists (process:19315): GLib-GIO-WARNING **: 13:55:56.519: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/23 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-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:45 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.213) 0:00:07.595 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.035) 0:00:07.631 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.023) 0:00:07.655 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.073) 0:00:07.728 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.034) 0:00:07.763 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.032) 0:00:07.796 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003725", "end": "2024-01-06 13:55:56.875518", "rc": 0, "start": "2024-01-06 13:55:56.871793" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.135) 0:00:07.932 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.023) 0:00:07.955 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.021) 0:00:07.977 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:55:56 +0000 (0:00:00.039) 0:00:08.017 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007314", "end": "2024-01-06 13:55:57.104236", "rc": 1, "start": "2024-01-06 13:55:57.096922" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.142) 0:00:08.159 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.033) 0:00:08.192 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.137) 0:00:08.329 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.024) 0:00:08.354 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.036) 0:00:08.390 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.077) 0:00:08.468 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.040) 0:00:08.508 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.033) 0:00:08.541 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.025) 0:00:08.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:55:57 +0000 (0:00:00.027) 0:00:08.594 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:55:58 +0000 (0:00:00.729) 0:00:09.324 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.934) 0:00:10.258 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.045) 0:00:10.304 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.027) 0:00:10.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.022) 0:00:10.354 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.046) 0:00:10.400 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.026) 0:00:10.427 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.022) 0:00:10.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.043) 0:00:10.492 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.231) 0:00:10.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.026) 0:00:10.751 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.023) 0:00:10.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:55:59 +0000 (0:00:00.019) 0:00:10.794 ****** 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, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.289) 0:00:11.083 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.020) 0:00:11.104 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:11.126 ****** 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, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.021) 0:00:11.148 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.019) 0:00:11.168 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.155) 0:00:11.324 ****** 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, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:11.346 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.041) 0:00:11.387 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.034) 0:00:11.422 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.136) 0:00:11.558 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.023) 0:00:11.582 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.036) 0:00:11.618 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.020) 0:00:11.639 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549360.01003, "block_size": 4096, "blocks": 8, "ctime": 1704549360.01003, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704549360.01003, "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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.132) 0:00:11.771 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:11.793 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022998", "end": "2024-01-06 13:56:00.893167", "rc": 0, "start": "2024-01-06 13:56:00.870169" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.156) 0:00:11.950 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:11.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:11.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:56:00 +0000 (0:00:00.022) 0:00:12.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.049) 0:00:12.068 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.022) 0:00:12.090 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.023) 0:00:12.114 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.023) 0:00:12.138 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.021) 0:00:12.159 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.020) 0:00:12.179 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.022) 0:00:12.201 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.042) 0:00:12.244 ****** 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.051313", "end": "2024-01-06 13:56:01.373521", "rc": 1, "start": "2024-01-06 13:56:01.322208" } STDOUT: Connection 'statebr' (d173c1fe-f02c-4a48-8ee9-5e59a2c5cc39) 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-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:65 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.189) 0:00:12.433 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.039) 0:00:12.473 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.031) 0:00:12.505 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.056) 0:00:12.561 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.034) 0:00:12.596 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.033) 0:00:12.630 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2024-01-06 13:56:01.712798", "rc": 0, "start": "2024-01-06 13:56:01.709269" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.162) 0:00:12.792 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.022) 0:00:12.815 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.023) 0:00:12.838 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.049) 0:00:12.888 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.042) 0:00:12.930 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.050) 0:00:12.981 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:01 +0000 (0:00:00.034) 0:00:13.015 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:02 +0000 (0:00:00.022) 0:00:13.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:02 +0000 (0:00:00.021) 0:00:13.060 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:02 +0000 (0:00:00.705) 0:00:13.765 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.956) 0:00:14.722 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.021) 0:00:14.743 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.019) 0:00:14.763 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.020) 0:00:14.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.042) 0:00:14.826 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.023) 0:00:14.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.022) 0:00:14.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:03 +0000 (0:00:00.024) 0:00:14.897 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.228) 0:00:15.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.025) 0:00:15.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.019) 0:00:15.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.019) 0:00:15.190 ****** 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, d096c8f4-68ac-43e2-bbe1-6d21993981ec TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.367) 0:00:15.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.026) 0:00:15.585 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d096c8f4-68ac-43e2-bbe1-6d21993981ec" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.024) 0:00:15.609 ****** 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, d096c8f4-68ac-43e2-bbe1-6d21993981ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d096c8f4-68ac-43e2-bbe1-6d21993981ec" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.038) 0:00:15.647 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.032) 0:00:15.680 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.141) 0:00:15.821 ****** 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, d096c8f4-68ac-43e2-bbe1-6d21993981ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d096c8f4-68ac-43e2-bbe1-6d21993981ec" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.022) 0:00:15.844 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.037) 0:00:15.882 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.038) 0:00:15.921 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.045) 0:00:15.966 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.027) 0:00:15.994 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:04 +0000 (0:00:00.021) 0:00:16.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:05 +0000 (0:00:00.021) 0:00:16.037 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:05 +0000 (0:00:00.701) 0:00:16.738 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.925) 0:00:17.663 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.022) 0:00:17.686 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.021) 0:00:17.707 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.021) 0:00:17.729 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.048) 0:00:17.777 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.031) 0:00:17.808 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.023) 0:00:17.832 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:06 +0000 (0:00:00.033) 0:00:17.865 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.258) 0:00:18.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.026) 0:00:18.150 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.021) 0:00:18.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.020) 0:00:18.192 ****** 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, d096c8f4-68ac-43e2-bbe1-6d21993981ec skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.286) 0:00:18.479 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.022) 0:00:18.501 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d096c8f4-68ac-43e2-bbe1-6d21993981ec skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.021) 0:00:18.523 ****** 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, d096c8f4-68ac-43e2-bbe1-6d21993981ec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d096c8f4-68ac-43e2-bbe1-6d21993981ec skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.022) 0:00:18.546 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.019) 0:00:18.566 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.133) 0:00:18.699 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.043) 0:00:18.743 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.038) 0:00:18.781 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549364.4450624, "block_size": 4096, "blocks": 0, "ctime": 1704549364.4410625, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17589, "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": 1704549364.4410625, "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-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.142) 0:00:18.924 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.025) 0:00:18.949 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:56:07 +0000 (0:00:00.071) 0:00:19.021 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.024) 0:00:19.045 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549364.4390624, "block_size": 4096, "blocks": 8, "ctime": 1704549364.4380624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704549364.4380624, "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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.144) 0:00:19.190 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.022) 0:00:19.212 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023222", "end": "2024-01-06 13:56:08.313431", "rc": 0, "start": "2024-01-06 13:56:08.290209" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.158) 0:00:19.370 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.025) 0:00:19.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.025) 0:00:19.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.023) 0:00:19.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.031) 0:00:19.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.024) 0:00:19.500 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.023) 0:00:19.524 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.024) 0:00:19.548 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.022) 0:00:19.571 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.019) 0:00:19.590 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.020) 0:00:19.611 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.038) 0:00:19.649 ****** 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.079762", "end": "2024-01-06 13:56:08.807652", "rc": 1, "start": "2024-01-06 13:56:08.727890" } STDOUT: Connection 'statebr' (d096c8f4-68ac-43e2-bbe1-6d21993981ec) 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-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:83 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.213) 0:00:19.863 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.043) 0:00:19.906 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.023) 0:00:19.929 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.045) 0:00:19.974 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:56:08 +0000 (0:00:00.034) 0:00:20.009 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.035) 0:00:20.044 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003726", "end": "2024-01-06 13:56:09.130422", "rc": 0, "start": "2024-01-06 13:56:09.126696" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.142) 0:00:20.187 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.026) 0:00:20.213 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.037) 0:00:20.251 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.066) 0:00:20.317 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.064) 0:00:20.381 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.084) 0:00:20.466 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.035) 0:00:20.502 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.024) 0:00:20.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:09 +0000 (0:00:00.023) 0:00:20.549 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:10 +0000 (0:00:00.688) 0:00:21.237 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.920) 0:00:22.158 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.022) 0:00:22.180 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.030) 0:00:22.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.023) 0:00:22.233 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.070) 0:00:22.304 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.022) 0:00:22.327 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.022) 0:00:22.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.037) 0:00:22.386 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.230) 0:00:22.616 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.025) 0:00:22.642 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.022) 0:00:22.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.021) 0:00:22.686 ****** 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, d259f4d5-6758-4493-86e6-eb6637b66ca6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:11 +0000 (0:00:00.327) 0:00:23.014 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.021) 0:00:23.035 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d259f4d5-6758-4493-86e6-eb6637b66ca6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.022) 0:00:23.058 ****** 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, d259f4d5-6758-4493-86e6-eb6637b66ca6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d259f4d5-6758-4493-86e6-eb6637b66ca6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.024) 0:00:23.082 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.021) 0:00:23.103 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.152) 0:00:23.256 ****** 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, d259f4d5-6758-4493-86e6-eb6637b66ca6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d259f4d5-6758-4493-86e6-eb6637b66ca6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.023) 0:00:23.280 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.076) 0:00:23.356 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.041) 0:00:23.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.026) 0:00:23.424 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.021) 0:00:23.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:12 +0000 (0:00:00.021) 0:00:23.467 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:13 +0000 (0:00:00.702) 0:00:24.170 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.921) 0:00:25.091 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.022) 0:00:25.114 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.046) 0:00:25.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.021) 0:00:25.182 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.042) 0:00:25.225 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.021) 0:00:25.247 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.022) 0:00:25.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.024) 0:00:25.294 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.229) 0:00:25.523 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.024) 0:00:25.548 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.019) 0:00:25.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.020) 0:00:25.587 ****** 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, d259f4d5-6758-4493-86e6-eb6637b66ca6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.280) 0:00:25.868 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.020) 0:00:25.888 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d259f4d5-6758-4493-86e6-eb6637b66ca6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.022) 0:00:25.910 ****** 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, d259f4d5-6758-4493-86e6-eb6637b66ca6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d259f4d5-6758-4493-86e6-eb6637b66ca6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.022) 0:00:25.933 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:14 +0000 (0:00:00.020) 0:00:25.954 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.128) 0:00:26.082 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.068) 0:00:26.151 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.039) 0:00:26.191 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.039) 0:00:26.231 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.027) 0:00:26.258 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.021) 0:00:26.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.022) 0:00:26.302 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:15 +0000 (0:00:00.699) 0:00:27.002 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:16 +0000 (0:00:00.950) 0:00:27.952 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:16 +0000 (0:00:00.023) 0:00:27.975 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:16 +0000 (0:00:00.020) 0:00:27.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:16 +0000 (0:00:00.020) 0:00:28.016 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.042) 0:00:28.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.020) 0:00:28.080 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.022) 0:00:28.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.025) 0:00:28.127 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.228) 0:00:28.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.025) 0:00:28.381 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.021) 0:00:28.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.021) 0:00:28.424 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.313) 0:00:28.738 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.020) 0:00:28.759 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.022) 0:00:28.781 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.050) 0:00:28.831 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.023) 0:00:28.854 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:56:17 +0000 (0:00:00.135) 0:00:28.990 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.044) 0:00:29.034 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.035) 0:00:29.069 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704549371.9121168, "block_size": 4096, "blocks": 0, "ctime": 1704549371.9081168, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17591, "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": 1704549371.9081168, "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-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.135) 0:00:29.205 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.023) 0:00:29.229 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.035) 0:00:29.265 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.020) 0:00:29.285 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.133) 0:00:29.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.022) 0:00:29.441 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022487", "end": "2024-01-06 13:56:18.540676", "rc": 1, "start": "2024-01-06 13:56:18.518189" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.154) 0:00:29.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.022) 0:00:29.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.051) 0:00:29.670 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.028) 0:00:29.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.030) 0:00:29.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.023) 0:00:29.753 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.035) 0:00:29.789 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.048) 0:00:29.837 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.036) 0:00:29.874 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:56:18 +0000 (0:00:00.046) 0:00:29.920 ****** 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.078858", "end": "2024-01-06 13:56:19.076283", "rc": 1, "start": "2024-01-06 13:56:18.997425" } STDOUT: Connection 'statebr' (d259f4d5-6758-4493-86e6-eb6637b66ca6) successfully deleted. STDERR: (process:20648): GLib-GIO-WARNING **: 13:56:19.054: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists (process:20648): GLib-GIO-WARNING **: 13:56:19.055: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/25 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:103 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.212) 0:00:30.132 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.035) 0:00:30.168 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.023) 0:00:30.192 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.047) 0:00:30.239 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.034) 0:00:30.274 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.046) 0:00:30.321 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-01-06 13:56:19.406523", "rc": 0, "start": "2024-01-06 13:56:19.403072" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.161) 0:00:30.482 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.025) 0:00:30.507 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.030) 0:00:30.538 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.047) 0:00:30.585 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.040) 0:00:30.625 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.045) 0:00:30.671 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.045) 0:00:30.717 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.022) 0:00:30.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:19 +0000 (0:00:00.021) 0:00:30.761 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:20 +0000 (0:00:00.704) 0:00:31.466 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.947) 0:00:32.413 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.022) 0:00:32.436 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.021) 0:00:32.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.020) 0:00:32.478 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.043) 0:00:32.521 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.020) 0:00:32.542 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.020) 0:00:32.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.030) 0:00:32.593 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.234) 0:00:32.827 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.029) 0:00:32.856 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.037) 0:00:32.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:21 +0000 (0:00:00.023) 0:00:32.917 ****** 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, d8ed3008-caa9-4d5f-9c69-171dd59df681 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.355) 0:00:33.272 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.020) 0:00:33.292 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8ed3008-caa9-4d5f-9c69-171dd59df681" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.023) 0:00:33.316 ****** 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, d8ed3008-caa9-4d5f-9c69-171dd59df681\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8ed3008-caa9-4d5f-9c69-171dd59df681" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.023) 0:00:33.340 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.023) 0:00:33.363 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.132) 0:00:33.496 ****** 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, d8ed3008-caa9-4d5f-9c69-171dd59df681\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8ed3008-caa9-4d5f-9c69-171dd59df681" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.022) 0:00:33.518 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.033) 0:00:33.552 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.040) 0:00:33.593 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.026) 0:00:33.620 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.022) 0:00:33.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:22 +0000 (0:00:00.022) 0:00:33.665 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:23 +0000 (0:00:00.741) 0:00:34.406 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.921) 0:00:35.328 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.022) 0:00:35.350 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.021) 0:00:35.372 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.024) 0:00:35.396 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.045) 0:00:35.442 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.021) 0:00:35.463 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.020) 0:00:35.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.023) 0:00:35.507 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.228) 0:00:35.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.024) 0:00:35.760 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.043) 0:00:35.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:24 +0000 (0:00:00.020) 0:00:35.823 ****** 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, d8ed3008-caa9-4d5f-9c69-171dd59df681 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.278) 0:00:36.102 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.021) 0:00:36.124 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d8ed3008-caa9-4d5f-9c69-171dd59df681 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.023) 0:00:36.148 ****** 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, d8ed3008-caa9-4d5f-9c69-171dd59df681 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d8ed3008-caa9-4d5f-9c69-171dd59df681 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.022) 0:00:36.170 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.020) 0:00:36.191 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.130) 0:00:36.321 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.035) 0:00:36.357 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.037) 0:00:36.394 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.026) 0:00:36.421 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.020) 0:00:36.441 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:25 +0000 (0:00:00.020) 0:00:36.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:26 +0000 (0:00:00.690) 0:00:37.152 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.919) 0:00:38.072 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.025) 0:00:38.097 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.025) 0:00:38.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.022) 0:00:38.145 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.043) 0:00:38.189 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.022) 0:00:38.211 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.021) 0:00:38.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.025) 0:00:38.258 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.233) 0:00:38.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.050) 0:00:38.542 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.021) 0:00:38.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.022) 0:00:38.587 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.323) 0:00:38.910 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.022) 0:00:38.932 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.023) 0:00:38.956 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.022) 0:00:38.979 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:27 +0000 (0:00:00.020) 0:00:38.999 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.136) 0:00:39.136 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.038) 0:00:39.174 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.038) 0:00:39.213 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.038) 0:00:39.252 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.025) 0:00:39.278 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.049) 0:00:39.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.021) 0:00:39.349 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:28 +0000 (0:00:00.684) 0:00:40.033 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:29 +0000 (0:00:00.922) 0:00:40.955 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:29 +0000 (0:00:00.021) 0:00:40.977 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:29 +0000 (0:00:00.021) 0:00:40.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:29 +0000 (0:00:00.019) 0:00:41.019 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.044) 0:00:41.063 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.022) 0:00:41.085 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.052) 0:00:41.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.025) 0:00:41.163 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.227) 0:00:41.390 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.024) 0:00:41.415 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.022) 0:00:41.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.030) 0:00:41.468 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.369) 0:00:41.837 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.021) 0:00:41.859 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.022) 0:00:41.881 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.022) 0:00:41.904 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:30 +0000 (0:00:00.019) 0:00:41.924 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.130) 0:00:42.054 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.038) 0:00:42.093 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.037) 0:00:42.130 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.052) 0:00:42.182 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.135) 0:00:42.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.021) 0:00:42.339 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020218", "end": "2024-01-06 13:56:31.433930", "rc": 1, "start": "2024-01-06 13:56:31.413712" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.150) 0:00:42.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.022) 0:00:42.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.021) 0:00:42.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.021) 0:00:42.555 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.024) 0:00:42.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.022) 0:00:42.602 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.023) 0:00:42.626 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.041) 0:00:42.667 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.033) 0:00:42.701 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.136) 0:00:42.837 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.024) 0:00:42.862 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.022) 0:00:42.884 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:56:31 +0000 (0:00:00.069) 0:00:42.954 ****** 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.043329", "end": "2024-01-06 13:56:32.073194", "rc": 1, "start": "2024-01-06 13:56:32.029865" } 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-weekly-cibsdzepp9/tests/playbooks/tests_states.yml:126 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.178) 0:00:43.133 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.038) 0:00:43.171 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.023) 0:00:43.194 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.047) 0:00:43.242 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.033) 0:00:43.276 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.041) 0:00:43.318 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003631", "end": "2024-01-06 13:56:32.413324", "rc": 0, "start": "2024-01-06 13:56:32.409693" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.152) 0:00:43.470 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.023) 0:00:43.493 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.022) 0:00:43.515 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.049) 0:00:43.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.062) 0:00:43.627 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.039) 0:00:43.666 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.026) 0:00:43.692 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.020) 0:00:43.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:32 +0000 (0:00:00.021) 0:00:43.735 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:33 +0000 (0:00:00.699) 0:00:44.434 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.921) 0:00:45.356 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.021) 0:00:45.377 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.048) 0:00:45.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.022) 0:00:45.447 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.042) 0:00:45.490 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.020) 0:00:45.510 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.020) 0:00:45.531 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.024) 0:00:45.555 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.234) 0:00:45.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.026) 0:00:45.817 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.021) 0:00:45.838 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:34 +0000 (0:00:00.020) 0:00:45.859 ****** 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, 59de0b95-42ba-4d72-af16-f4ffc3df359d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.327) 0:00:46.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.022) 0:00:46.209 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.025) 0:00:46.234 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.022) 0:00:46.257 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.022) 0:00:46.279 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.148) 0:00:46.428 ****** 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, 59de0b95-42ba-4d72-af16-f4ffc3df359d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.058) 0:00:46.486 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.036) 0:00:46.523 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.041) 0:00:46.564 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.031) 0:00:46.596 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.022) 0:00:46.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:35 +0000 (0:00:00.021) 0:00:46.639 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:36 +0000 (0:00:00.693) 0:00:47.333 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.957) 0:00:48.291 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.023) 0:00:48.314 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.020) 0:00:48.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.020) 0:00:48.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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.043) 0:00:48.399 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.021) 0:00:48.421 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.021) 0:00:48.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.025) 0:00:48.468 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.234) 0:00:48.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.025) 0:00:48.728 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.023) 0:00:48.751 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:37 +0000 (0:00:00.021) 0:00:48.773 ****** 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, 59de0b95-42ba-4d72-af16-f4ffc3df359d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.292) 0:00:49.065 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.021) 0:00:49.086 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.025) 0:00:49.112 ****** 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, 59de0b95-42ba-4d72-af16-f4ffc3df359d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59de0b95-42ba-4d72-af16-f4ffc3df359d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.023) 0:00:49.135 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.049) 0:00:49.184 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.130) 0:00:49.314 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.037) 0:00:49.352 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.043) 0:00:49.396 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.031) 0:00:49.427 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.021) 0:00:49.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:38 +0000 (0:00:00.022) 0:00:49.471 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:39 +0000 (0:00:00.705) 0:00:50.176 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.947) 0:00:51.124 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.044) 0:00:51.168 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.023) 0:00:51.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.026) 0:00:51.218 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.046) 0:00:51.264 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.025) 0:00:51.290 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.022) 0:00:51.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.026) 0:00:51.339 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.249) 0:00:51.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.036) 0:00:51.625 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.032) 0:00:51.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:40 +0000 (0:00:00.024) 0:00:51.682 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.374) 0:00:52.057 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.028) 0:00:52.085 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.025) 0:00:52.111 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.068) 0:00:52.179 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.027) 0:00:52.207 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.131) 0:00:52.338 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.054) 0:00:52.393 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.037) 0:00:52.431 ****** included: /WORKDIR/git-weekly-cibsdzepp9/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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.040) 0:00:52.471 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.029) 0:00:52.501 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.024) 0:00:52.525 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:56:41 +0000 (0:00:00.028) 0:00:52.553 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:56:42 +0000 (0:00:00.704) 0:00:53.258 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.944) 0:00:54.203 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.021) 0:00:54.224 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.019) 0:00:54.244 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.023) 0:00:54.268 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.051) 0:00:54.319 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.021) 0:00:54.341 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.022) 0:00:54.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.024) 0:00:54.388 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.252) 0:00:54.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.035) 0:00:54.676 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.026) 0:00:54.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:56:43 +0000 (0:00:00.022) 0:00:54.726 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.433) 0:00:55.160 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.125) 0:00:55.285 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.039) 0:00:55.325 ****** 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-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.033) 0:00:55.358 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.032) 0:00:55.391 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.142) 0:00:55.533 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.047) 0:00:55.581 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.071) 0:00:55.652 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.050) 0:00:55.703 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.211) 0:00:55.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:56:44 +0000 (0:00:00.043) 0:00:55.958 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020459", "end": "2024-01-06 13:56:45.057068", "rc": 1, "start": "2024-01-06 13:56:45.036609" } 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-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.189) 0:00:56.147 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.079) 0:00:56.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.040) 0:00:56.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.028) 0:00:56.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.025) 0:00:56.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.071) 0:00:56.393 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 06 January 2024 13:56:45 +0000 (0:00:00.025) 0:00:56.419 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.677353", "end": "2024-01-06 13:56:46.173839", "rc": 0, "start": "2024-01-06 13:56:45.496486" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.814) 0:00:57.234 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.054) 0:00:57.288 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.021) 0:00:57.310 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.044) 0:00:57.355 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.036) 0:00:57.391 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.141) 0:00:57.532 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.042) 0:00:57.574 ****** 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-weekly-cibsdzepp9/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.032) 0:00:57.607 ****** included: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cibsdzepp9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.054) 0:00:57.662 ****** 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.044979", "end": "2024-01-06 13:56:46.787277", "rc": 1, "start": "2024-01-06 13:56:46.742298" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Saturday 06 January 2024 13:56:46 +0000 (0:00:00.201) 0:00:57.863 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.82s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.28s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.18s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.14s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.95s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cibsdzepp9/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. ---^---^---^---^---^---