# 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-cihvevxt1o/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tests_states_nm.yml:5 Saturday 23 December 2023 13:31:24 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tests_states_nm.yml:9 Saturday 23 December 2023 13:31:24 +0000 (0:00:00.540) 0:00:00.552 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 13:31:24 +0000 (0:00:00.022) 0:00:00.574 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/el_repo_setup.yml:19 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.237) 0:00:00.812 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/el_repo_setup.yml:24 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.195) 0:00:01.008 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/el_repo_setup.yml:28 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.021) 0:00:01.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/el_repo_setup.yml:53 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.019) 0:00:01.048 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.032) 0:00:01.081 ***** 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-cihvevxt1o/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 13:31:25 +0000 (0:00:00.192) 0:00:01.274 ***** 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-cihvevxt1o/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.516) 0:00:01.791 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.174255", "end": "2023-12-23 13:31:26.481559", "rc": 0, "start": "2023-12-23 13:31:26.307304" } 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-cihvevxt1o/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.298) 0:00:02.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.010) 0:00:02.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/tests_states_nm.yml:11 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.009) 0:00:02.110 ***** 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-cihvevxt1o/tests/playbooks/tests_states.yml:3 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.010) 0:00:02.120 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tests_states.yml:11 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.379) 0:00:02.500 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tests_states.yml:22 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.011) 0:00:02.511 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.015) 0:00:02.527 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.020) 0:00:02.547 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:31:26 +0000 (0:00:00.045) 0:00:02.593 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:27 +0000 (0:00:00.028) 0:00:02.621 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:27 +0000 (0:00:00.041) 0:00:02.663 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004442", "end": "2023-12-23 13:31:28.190469", "rc": 0, "start": "2023-12-23 13:31:27.186027" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:28 +0000 (0:00:01.135) 0:00:03.799 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.012) 0:00:03.811 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.010) 0:00:03.822 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.020) 0:00:03.842 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010628", "end": "2023-12-23 13:31:28.366274", "rc": 1, "start": "2023-12-23 13:31:28.355646" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.129) 0:00:03.972 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.014) 0:00:03.986 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.118) 0:00:04.105 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.012) 0:00:04.118 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.017) 0:00:04.135 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.032) 0:00:04.168 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.069) 0:00:04.238 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.011) 0:00:04.249 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.009) 0:00:04.258 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:28 +0000 (0:00:00.009) 0:00:04.268 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:29 +0000 (0:00:00.771) 0:00:05.040 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:30 +0000 (0:00:01.229) 0:00:06.269 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.041) 0:00:06.310 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.023) 0:00:06.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.039) 0:00:06.374 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.059) 0:00:06.434 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.032) 0:00:06.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.033) 0:00:06.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:30 +0000 (0:00:00.028) 0:00:06.527 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.372) 0:00:06.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:06.924 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.035) 0:00:06.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.021) 0:00:06.982 ***** 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, 56b2e62f-3a60-4f68-ada8-c11d837e1774 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.424) 0:00:07.406 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.022) 0:00:07.429 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56b2e62f-3a60-4f68-ada8-c11d837e1774" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.023) 0:00:07.453 ***** 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, 56b2e62f-3a60-4f68-ada8-c11d837e1774\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56b2e62f-3a60-4f68-ada8-c11d837e1774" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.054) 0:00:07.507 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:31 +0000 (0:00:00.021) 0:00:07.528 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.178) 0:00:07.707 ***** 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, 56b2e62f-3a60-4f68-ada8-c11d837e1774\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56b2e62f-3a60-4f68-ada8-c11d837e1774" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.049) 0:00:07.756 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.056) 0:00:07.813 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.045) 0:00:07.858 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.022) 0:00:07.880 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338291.7320309, "block_size": 4096, "blocks": 8, "ctime": 1703338291.7310307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703338291.7310307, "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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.131) 0:00:08.012 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.028) 0:00:08.040 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023851", "end": "2023-12-23 13:31:32.579459", "rc": 0, "start": "2023-12-23 13:31:32.555608" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.157) 0:00:08.197 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.023) 0:00:08.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.023) 0:00:08.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.021) 0:00:08.266 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.022) 0:00:08.289 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.022) 0:00:08.311 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.056) 0:00:08.368 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.030) 0:00:08.399 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.028) 0:00:08.427 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.043) 0:00:08.471 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:32 +0000 (0:00:00.037) 0:00:08.509 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338291.7370307, "block_size": 4096, "blocks": 0, "ctime": 1703338291.7340307, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1703338291.7340307, "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-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.138) 0:00:08.647 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.027) 0:00:08.674 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.022) 0:00:08.696 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.041) 0:00:08.737 ***** 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.078221", "end": "2023-12-23 13:31:33.327984", "rc": 1, "start": "2023-12-23 13:31:33.249763" } STDOUT: Connection 'statebr' (56b2e62f-3a60-4f68-ada8-c11d837e1774) successfully deleted. STDERR: (process:20291): GLib-GIO-WARNING **: 13:31:33.309: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:20291): GLib-GIO-WARNING **: 13:31:33.309: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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-cihvevxt1o/tests/playbooks/tests_states.yml:45 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.207) 0:00:08.945 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.034) 0:00:08.979 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.021) 0:00:09.000 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.050) 0:00:09.051 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.067) 0:00:09.118 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.039) 0:00:09.157 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003623", "end": "2023-12-23 13:31:33.674278", "rc": 0, "start": "2023-12-23 13:31:33.670655" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.134) 0:00:09.291 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.022) 0:00:09.314 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.022) 0:00:09.336 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.043) 0:00:09.380 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007309", "end": "2023-12-23 13:31:33.905724", "rc": 1, "start": "2023-12-23 13:31:33.898415" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.144) 0:00:09.524 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:33 +0000 (0:00:00.038) 0:00:09.562 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.149) 0:00:09.712 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.023) 0:00:09.736 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.044) 0:00:09.780 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.069) 0:00:09.850 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.038) 0:00:09.889 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.027) 0:00:09.916 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.026) 0:00:09.943 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.021) 0:00:09.964 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.684) 0:00:10.648 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.911) 0:00:11.560 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.030) 0:00:11.590 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.064) 0:00:11.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.021) 0:00:11.676 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.043) 0:00:11.720 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.020) 0:00:11.741 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.022) 0:00:11.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.025) 0:00:11.789 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.226) 0:00:12.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.030) 0:00:12.046 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.034) 0:00:12.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.044) 0:00:12.125 ***** 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, f1712196-043f-42bf-8c04-eab35adb00d7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.337) 0:00:12.463 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.023) 0:00:12.487 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1712196-043f-42bf-8c04-eab35adb00d7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.023) 0:00:12.510 ***** 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, f1712196-043f-42bf-8c04-eab35adb00d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1712196-043f-42bf-8c04-eab35adb00d7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.038) 0:00:12.548 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.022) 0:00:12.570 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.127) 0:00:12.698 ***** 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, f1712196-043f-42bf-8c04-eab35adb00d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1712196-043f-42bf-8c04-eab35adb00d7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.022) 0:00:12.720 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.073) 0:00:12.793 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.038) 0:00:12.831 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.132) 0:00:12.964 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.029) 0:00:12.993 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.042) 0:00:13.035 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.023) 0:00:13.059 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338296.8160462, "block_size": 4096, "blocks": 8, "ctime": 1703338296.8160462, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703338296.8160462, "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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.135) 0:00:13.195 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.025) 0:00:13.221 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020911", "end": "2023-12-23 13:31:37.760128", "rc": 0, "start": "2023-12-23 13:31:37.739217" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.186) 0:00:13.407 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.052) 0:00:13.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.024) 0:00:13.484 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.033) 0:00:13.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.031) 0:00:13.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.030) 0:00:13.579 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.107) 0:00:13.686 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.054) 0:00:13.740 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.038) 0:00:13.779 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.024) 0:00:13.803 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.031) 0:00:13.834 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.041) 0:00:13.876 ***** 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.046521", "end": "2023-12-23 13:31:38.434941", "rc": 1, "start": "2023-12-23 13:31:38.388420" } STDOUT: Connection 'statebr' (f1712196-043f-42bf-8c04-eab35adb00d7) 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-cihvevxt1o/tests/playbooks/tests_states.yml:65 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.208) 0:00:14.084 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.049) 0:00:14.134 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.022) 0:00:14.156 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.042) 0:00:14.199 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.038) 0:00:14.237 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.075) 0:00:14.313 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004497", "end": "2023-12-23 13:31:39.844178", "rc": 0, "start": "2023-12-23 13:31:38.839681" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:39 +0000 (0:00:01.162) 0:00:15.476 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.032) 0:00:15.508 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.028) 0:00:15.537 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.047) 0:00:15.584 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.065) 0:00:15.649 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.063) 0:00:15.712 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.029) 0:00:15.742 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.030) 0:00:15.773 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.042) 0:00:15.815 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.693) 0:00:16.509 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.936) 0:00:17.445 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.029) 0:00:17.475 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.021) 0:00:17.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.025) 0:00:17.522 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.074) 0:00:17.597 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.022) 0:00:17.619 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.020) 0:00:17.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.024) 0:00:17.664 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.223) 0:00:17.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.029) 0:00:17.918 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.021) 0:00:17.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.020) 0:00:17.960 ***** 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, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.375) 0:00:18.336 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.020) 0:00:18.356 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.025) 0:00:18.382 ***** 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, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.026) 0:00:18.408 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.023) 0:00:18.431 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.131) 0:00:18.563 ***** 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, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.023) 0:00:18.586 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.039) 0:00:18.626 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.045) 0:00:18.672 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.049) 0:00:18.721 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.031) 0:00:18.753 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.035) 0:00:18.788 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.024) 0:00:18.813 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.676) 0:00:19.489 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:44 +0000 (0:00:00.919) 0:00:20.408 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:44 +0000 (0:00:00.039) 0:00:20.448 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:44 +0000 (0:00:00.028) 0:00:20.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:44 +0000 (0:00:00.080) 0:00:20.556 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.097) 0:00:20.654 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.040) 0:00:20.695 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.043) 0:00:20.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.026) 0:00:20.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.231) 0:00:20.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.039) 0:00:21.036 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.060) 0:00:21.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.025) 0:00:21.122 ***** 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, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.323) 0:00:21.445 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.021) 0:00:21.467 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.023) 0:00:21.490 ***** 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, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c96a604c-a176-4ba4-80c9-5bfe1cc24d2b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.021) 0:00:21.512 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:45 +0000 (0:00:00.020) 0:00:21.532 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.127) 0:00:21.660 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.043) 0:00:21.704 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.040) 0:00:21.744 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338302.674064, "block_size": 4096, "blocks": 0, "ctime": 1703338302.6690638, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1703338302.6690638, "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-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.140) 0:00:21.885 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.022) 0:00:21.908 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.034) 0:00:21.943 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.020) 0:00:21.963 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338302.6680639, "block_size": 4096, "blocks": 8, "ctime": 1703338302.667064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703338302.667064, "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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.184) 0:00:22.148 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.037) 0:00:22.185 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022143", "end": "2023-12-23 13:31:46.768411", "rc": 0, "start": "2023-12-23 13:31:46.746268" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.229) 0:00:22.415 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.035) 0:00:22.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.044) 0:00:22.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.046) 0:00:22.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:31:46 +0000 (0:00:00.031) 0:00:22.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.024) 0:00:22.597 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.030) 0:00:22.628 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.023) 0:00:22.651 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.023) 0:00:22.675 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.022) 0:00:22.698 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.030) 0:00:22.729 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.039) 0:00:22.768 ***** 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.078813", "end": "2023-12-23 13:31:47.362568", "rc": 1, "start": "2023-12-23 13:31:47.283755" } STDOUT: Connection 'statebr' (c96a604c-a176-4ba4-80c9-5bfe1cc24d2b) successfully deleted. STDERR: (process:21009): GLib-GIO-WARNING **: 13:31:47.341: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 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-cihvevxt1o/tests/playbooks/tests_states.yml:83 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.218) 0:00:22.987 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.109) 0:00:23.096 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.026) 0:00:23.123 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.048) 0:00:23.171 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.041) 0:00:23.213 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.050) 0:00:23.264 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2023-12-23 13:31:47.790977", "rc": 0, "start": "2023-12-23 13:31:47.787554" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.159) 0:00:23.423 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.025) 0:00:23.448 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.023) 0:00:23.472 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.071) 0:00:23.543 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:47 +0000 (0:00:00.038) 0:00:23.581 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:48 +0000 (0:00:00.041) 0:00:23.622 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:48 +0000 (0:00:00.026) 0:00:23.649 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:48 +0000 (0:00:00.020) 0:00:23.670 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:48 +0000 (0:00:00.053) 0:00:23.723 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:48 +0000 (0:00:00.688) 0:00:24.412 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.913) 0:00:25.325 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.021) 0:00:25.347 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.020) 0:00:25.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.019) 0:00:25.387 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.051) 0:00:25.438 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.026) 0:00:25.464 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.023) 0:00:25.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:49 +0000 (0:00:00.024) 0:00:25.512 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.282) 0:00:25.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.043) 0:00:25.838 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.028) 0:00:25.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.027) 0:00:25.895 ***** 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, 3ef922eb-6050-4910-a3b6-551f1dd26c5b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.336) 0:00:26.232 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.023) 0:00:26.255 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ef922eb-6050-4910-a3b6-551f1dd26c5b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.027) 0:00:26.283 ***** 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, 3ef922eb-6050-4910-a3b6-551f1dd26c5b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ef922eb-6050-4910-a3b6-551f1dd26c5b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.044) 0:00:26.327 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.020) 0:00:26.348 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.141) 0:00:26.490 ***** 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, 3ef922eb-6050-4910-a3b6-551f1dd26c5b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ef922eb-6050-4910-a3b6-551f1dd26c5b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.049) 0:00:26.540 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:50 +0000 (0:00:00.038) 0:00:26.578 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:51 +0000 (0:00:00.042) 0:00:26.621 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:51 +0000 (0:00:00.027) 0:00:26.648 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:51 +0000 (0:00:00.047) 0:00:26.696 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:51 +0000 (0:00:00.022) 0:00:26.718 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:51 +0000 (0:00:00.690) 0:00:27.409 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.959) 0:00:28.369 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.038) 0:00:28.407 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.030) 0:00:28.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.040) 0:00:28.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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.059) 0:00:28.538 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:52 +0000 (0:00:00.052) 0:00:28.590 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.054) 0:00:28.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.152) 0:00:28.797 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.293) 0:00:29.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.039) 0:00:29.130 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.040) 0:00:29.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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.032) 0:00:29.204 ***** 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, 3ef922eb-6050-4910-a3b6-551f1dd26c5b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.290) 0:00:29.494 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.027) 0:00:29.522 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ef922eb-6050-4910-a3b6-551f1dd26c5b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:53 +0000 (0:00:00.039) 0:00:29.562 ***** 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, 3ef922eb-6050-4910-a3b6-551f1dd26c5b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ef922eb-6050-4910-a3b6-551f1dd26c5b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.035) 0:00:29.597 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.045) 0:00:29.643 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.203) 0:00:29.846 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.068) 0:00:29.915 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.056) 0:00:29.972 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.108) 0:00:30.080 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.046) 0:00:30.127 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.024) 0:00:30.152 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:31:54 +0000 (0:00:00.052) 0:00:30.204 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:31:55 +0000 (0:00:00.693) 0:00:30.898 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.955) 0:00:31.853 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.024) 0:00:31.878 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.027) 0:00:31.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.027) 0:00:31.933 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.048) 0:00:31.981 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.022) 0:00:32.004 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.030) 0:00:32.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.114) 0:00:32.149 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.269) 0:00:32.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.039) 0:00:32.458 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.027) 0:00:32.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:31:56 +0000 (0:00:00.021) 0:00:32.507 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.322) 0:00:32.830 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.023) 0:00:32.853 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.022) 0:00:32.876 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.022) 0:00:32.899 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.025) 0:00:32.924 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.143) 0:00:33.068 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.063) 0:00:33.132 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.046) 0:00:33.178 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338310.5670877, "block_size": 4096, "blocks": 0, "ctime": 1703338310.5610876, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1703338310.5610876, "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-cihvevxt1o/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.139) 0:00:33.317 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.022) 0:00:33.340 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.089) 0:00:33.430 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:31:57 +0000 (0:00:00.032) 0:00:33.462 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.140) 0:00:33.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.021) 0:00:33.624 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022166", "end": "2023-12-23 13:31:58.158748", "rc": 1, "start": "2023-12-23 13:31:58.136582" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.152) 0:00:33.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.033) 0:00:33.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.047) 0:00:33.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.025) 0:00:33.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.035) 0:00:33.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.047) 0:00:33.966 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.030) 0:00:33.996 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.022) 0:00:34.019 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.065) 0:00:34.084 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.041) 0:00:34.126 ***** 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.090636", "end": "2023-12-23 13:31:58.769668", "rc": 1, "start": "2023-12-23 13:31:58.679032" } STDOUT: Connection 'statebr' (3ef922eb-6050-4910-a3b6-551f1dd26c5b) successfully deleted. STDERR: (process:21623): GLib-GIO-WARNING **: 13:31:58.746: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 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-cihvevxt1o/tests/playbooks/tests_states.yml:103 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.264) 0:00:34.390 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.084) 0:00:34.474 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.032) 0:00:34.506 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.051) 0:00:34.558 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:58 +0000 (0:00:00.034) 0:00:34.593 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:59 +0000 (0:00:00.038) 0:00:34.631 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004445", "end": "2023-12-23 13:32:00.156865", "rc": 0, "start": "2023-12-23 13:31:59.152420" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:32:00 +0000 (0:00:01.146) 0:00:35.777 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.026) 0:00:35.804 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.051) 0:00:35.856 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.046) 0:00:35.902 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.056) 0:00:35.959 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.077) 0:00:36.037 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.029) 0:00:36.066 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.029) 0:00:36.096 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:00 +0000 (0:00:00.024) 0:00:36.120 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:01 +0000 (0:00:00.707) 0:00:36.828 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.924) 0:00:37.753 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.032) 0:00:37.786 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.021) 0:00:37.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.025) 0:00:37.833 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.049) 0:00:37.882 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.028) 0:00:37.910 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.116) 0:00:38.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.026) 0:00:38.053 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.240) 0:00:38.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.029) 0:00:38.323 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.048) 0:00:38.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:02 +0000 (0:00:00.028) 0:00:38.400 ***** 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, c769e20e-47f2-4263-9c69-5a2b3db875fa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.329) 0:00:38.730 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.022) 0:00:38.752 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c769e20e-47f2-4263-9c69-5a2b3db875fa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.022) 0:00:38.775 ***** 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, c769e20e-47f2-4263-9c69-5a2b3db875fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c769e20e-47f2-4263-9c69-5a2b3db875fa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.025) 0:00:38.800 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.030) 0:00:38.831 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.159) 0:00:38.990 ***** 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, c769e20e-47f2-4263-9c69-5a2b3db875fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c769e20e-47f2-4263-9c69-5a2b3db875fa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.026) 0:00:39.017 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.042) 0:00:39.059 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.040) 0:00:39.100 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.083) 0:00:39.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.023) 0:00:39.207 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:03 +0000 (0:00:00.032) 0:00:39.239 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:04 +0000 (0:00:00.775) 0:00:40.014 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.916) 0:00:40.931 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.024) 0:00:40.955 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.022) 0:00:40.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.020) 0:00:40.998 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.042) 0:00:41.040 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.019) 0:00:41.060 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.043) 0:00:41.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.024) 0:00:41.128 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.242) 0:00:41.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.049) 0:00:41.420 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.031) 0:00:41.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:05 +0000 (0:00:00.038) 0:00:41.491 ***** 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, c769e20e-47f2-4263-9c69-5a2b3db875fa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.286) 0:00:41.778 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.023) 0:00:41.801 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c769e20e-47f2-4263-9c69-5a2b3db875fa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.025) 0:00:41.826 ***** 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, c769e20e-47f2-4263-9c69-5a2b3db875fa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c769e20e-47f2-4263-9c69-5a2b3db875fa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.026) 0:00:41.852 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.031) 0:00:41.883 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.136) 0:00:42.020 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.034) 0:00:42.055 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.039) 0:00:42.094 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.061) 0:00:42.155 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.048) 0:00:42.204 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:06 +0000 (0:00:00.029) 0:00:42.234 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:07 +0000 (0:00:00.674) 0:00:42.908 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.974) 0:00:43.883 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.077) 0:00:43.961 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.124) 0:00:44.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.073) 0:00:44.160 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.060) 0:00:44.220 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.064) 0:00:44.284 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.023) 0:00:44.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:08 +0000 (0:00:00.073) 0:00:44.381 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.242) 0:00:44.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.041) 0:00:44.665 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.038) 0:00:44.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.055) 0:00:44.760 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.396) 0:00:45.156 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.023) 0:00:45.180 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.031) 0:00:45.211 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.030) 0:00:45.241 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.032) 0:00:45.274 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.141) 0:00:45.416 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.042) 0:00:45.458 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.042) 0:00:45.501 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:09 +0000 (0:00:00.059) 0:00:45.561 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:10 +0000 (0:00:00.116) 0:00:45.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:10 +0000 (0:00:00.028) 0:00:45.705 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:10 +0000 (0:00:00.030) 0:00:45.736 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:10 +0000 (0:00:00.724) 0:00:46.461 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:11 +0000 (0:00:00.942) 0:00:47.403 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:11 +0000 (0:00:00.027) 0:00:47.431 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:11 +0000 (0:00:00.032) 0:00:47.463 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:11 +0000 (0:00:00.027) 0:00:47.491 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.122) 0:00:47.613 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.030) 0:00:47.644 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.072) 0:00:47.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.097) 0:00:47.814 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.279) 0:00:48.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.069) 0:00:48.162 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.045) 0:00:48.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:12 +0000 (0:00:00.026) 0:00:48.235 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.503) 0:00:48.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.099) 0:00:48.839 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.027) 0:00:48.867 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.028) 0:00:48.895 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.030) 0:00:48.926 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.137) 0:00:49.064 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.044) 0:00:49.108 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.038) 0:00:49.147 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.022) 0:00:49.169 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.147) 0:00:49.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:32:13 +0000 (0:00:00.077) 0:00:49.395 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021988", "end": "2023-12-23 13:32:13.982098", "rc": 1, "start": "2023-12-23 13:32:13.960110" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.205) 0:00:49.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.024) 0:00:49.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.026) 0:00:49.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.043) 0:00:49.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.024) 0:00:49.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.034) 0:00:49.753 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.039) 0:00:49.793 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.045) 0:00:49.838 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.037) 0:00:49.875 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.208) 0:00:50.083 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.058) 0:00:50.142 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.026) 0:00:50.169 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.041) 0:00:50.211 ***** 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.043681", "end": "2023-12-23 13:32:14.788603", "rc": 1, "start": "2023-12-23 13:32:14.744922" } 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-cihvevxt1o/tests/playbooks/tests_states.yml:126 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.205) 0:00:50.417 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.037) 0:00:50.454 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.027) 0:00:50.481 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.049) 0:00:50.531 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:32:14 +0000 (0:00:00.033) 0:00:50.564 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.033) 0:00:50.598 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2023-12-23 13:32:15.119354", "rc": 0, "start": "2023-12-23 13:32:15.115930" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.152) 0:00:50.751 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.027) 0:00:50.778 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.053) 0:00:50.832 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.045) 0:00:50.877 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.038) 0:00:50.916 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.072) 0:00:50.989 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.026) 0:00:51.016 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.020) 0:00:51.036 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:15 +0000 (0:00:00.020) 0:00:51.057 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:16 +0000 (0:00:00.703) 0:00:51.760 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.958) 0:00:52.719 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.039) 0:00:52.758 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.034) 0:00:52.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.024) 0:00:52.817 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.074) 0:00:52.892 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.051) 0:00:52.943 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.081) 0:00:53.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.066) 0:00:53.092 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.274) 0:00:53.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.037) 0:00:53.403 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.046) 0:00:53.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:17 +0000 (0:00:00.037) 0:00:53.487 ***** 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, 38b2708b-d454-46d0-8ab4-9e563881804e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.395) 0:00:53.882 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.034) 0:00:53.916 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b2708b-d454-46d0-8ab4-9e563881804e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.027) 0:00:53.944 ***** 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, 38b2708b-d454-46d0-8ab4-9e563881804e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b2708b-d454-46d0-8ab4-9e563881804e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.026) 0:00:53.971 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.022) 0:00:53.993 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.132) 0:00:54.126 ***** 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, 38b2708b-d454-46d0-8ab4-9e563881804e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b2708b-d454-46d0-8ab4-9e563881804e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.027) 0:00:54.153 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.051) 0:00:54.205 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.057) 0:00:54.262 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.035) 0:00:54.297 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.050) 0:00:54.348 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:18 +0000 (0:00:00.023) 0:00:54.371 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:19 +0000 (0:00:00.692) 0:00:55.064 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.909) 0:00:55.973 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.023) 0:00:55.997 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.020) 0:00:56.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.021) 0:00:56.040 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.043) 0:00:56.083 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.021) 0:00:56.104 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.051) 0:00:56.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.025) 0:00:56.181 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.231) 0:00:56.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.028) 0:00:56.441 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.027) 0:00:56.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:20 +0000 (0:00:00.033) 0:00:56.502 ***** 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, 38b2708b-d454-46d0-8ab4-9e563881804e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.294) 0:00:56.797 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.022) 0:00:56.819 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38b2708b-d454-46d0-8ab4-9e563881804e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.024) 0:00:56.843 ***** 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, 38b2708b-d454-46d0-8ab4-9e563881804e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38b2708b-d454-46d0-8ab4-9e563881804e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.035) 0:00:56.878 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.038) 0:00:56.917 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.129) 0:00:57.046 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.039) 0:00:57.086 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.039) 0:00:57.126 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.032) 0:00:57.158 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.061) 0:00:57.220 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:21 +0000 (0:00:00.065) 0:00:57.285 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:22 +0000 (0:00:00.697) 0:00:57.982 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.903) 0:00:58.886 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.023) 0:00:58.909 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.021) 0:00:58.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.025) 0:00:58.956 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.043) 0:00:59.000 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.023) 0:00:59.023 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.021) 0:00:59.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.045) 0:00:59.091 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.284) 0:00:59.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.045) 0:00:59.421 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.032) 0:00:59.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:23 +0000 (0:00:00.052) 0:00:59.506 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.404) 0:00:59.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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.024) 0:00:59.934 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.027) 0:00:59.961 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.025) 0:00:59.987 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.025) 0:01:00.013 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.147) 0:01:00.160 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.039) 0:01:00.200 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.035) 0:01:00.236 ***** included: /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.047) 0:01:00.283 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.051) 0:01:00.334 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.083) 0:01:00.418 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 23 December 2023 13:32:24 +0000 (0:00:00.025) 0:01:00.443 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 23 December 2023 13:32:25 +0000 (0:00:00.677) 0:01:01.121 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.914) 0:01:02.036 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.023) 0:01:02.059 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.022) 0:01:02.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.021) 0:01:02.103 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.042) 0:01:02.145 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.022) 0:01:02.168 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.068) 0:01:02.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.032) 0:01:02.268 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.227) 0:01:02.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.024) 0:01:02.520 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.024) 0:01:02.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 23 December 2023 13:32:26 +0000 (0:00:00.022) 0:01:02.568 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.304) 0:01:02.872 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.024) 0:01:02.896 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.023) 0:01:02.919 ***** 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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.025) 0:01:02.944 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.026) 0:01:02.971 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.126) 0:01:03.098 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.047) 0:01:03.145 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.054) 0:01:03.200 ***** 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.024) 0:01:03.224 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.171) 0:01:03.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.022) 0:01:03.419 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020304", "end": "2023-12-23 13:32:27.953508", "rc": 1, "start": "2023-12-23 13:32:27.933204" } 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-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 13:32:27 +0000 (0:00:00.152) 0:01:03.571 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.025) 0:01:03.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.039) 0:01:03.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.022) 0:01:03.658 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.022) 0:01:03.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.021) 0:01:03.702 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.027) 0:01:03.730 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.672300", "end": "2023-12-23 13:32:28.920353", "rc": 0, "start": "2023-12-23 13:32:28.248053" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.809) 0:01:04.540 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 December 2023 13:32:28 +0000 (0:00:00.034) 0:01:04.574 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.026) 0:01:04.601 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.070) 0:01:04.671 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.085) 0:01:04.757 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.140) 0:01:04.898 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.027) 0:01:04.925 ***** 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-cihvevxt1o/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.053) 0:01:04.979 ***** included: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 13:32:29 +0000 (0:00:00.056) 0:01:05.035 ***** 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.043931", "end": "2023-12-23 13:32:29.614951", "rc": 1, "start": "2023-12-23 13:32:29.571020" } 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 23 December 2023 13:32:29 +0000 (0:00:00.184) 0:01:05.220 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.86s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.39s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.23s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.20s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-weekly-cihvevxt1o/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.00s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-weekly-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/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-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihvevxt1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihvevxt1o/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. ---^---^---^---^---^---