# 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-ciab1pm_le/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_nm.yml:5 Saturday 02 December 2023 14:03:12 +0000 (0:00:00.025) 0:00:00.025 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_nm.yml:9 Saturday 02 December 2023 14:03:12 +0000 (0:00:00.694) 0:00:00.720 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/tasks/el_repo_setup.yml:3 Saturday 02 December 2023 14:03:12 +0000 (0:00:00.035) 0:00:00.755 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:19 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.286) 0:00:01.042 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:24 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.282) 0:00:01.324 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:28 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.034) 0:00:01.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:53 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.041) 0:00:01.400 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:8 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.060) 0:00:01.460 ***** 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-ciab1pm_le/tests/tasks/enable_epel.yml:24 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.273) 0:00:01.734 ***** 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-ciab1pm_le/tests/tasks/enable_epel.yml:30 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.514) 0:00:02.249 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.212681", "end": "2023-12-02 14:03:14.725823", "rc": 0, "start": "2023-12-02 14:03:14.513142" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:35 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.360) 0:00:02.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:40 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.026) 0:00:02.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_nm.yml:11 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.034) 0:00:02.671 ***** 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-ciab1pm_le/tests/playbooks/tests_states.yml:3 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.037) 0:00:02.709 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:11 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.459) 0:00:03.168 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:22 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.034) 0:00:03.203 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.030) 0:00:03.233 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.028) 0:00:03.262 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.064) 0:00:03.326 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.028) 0:00:03.355 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.035) 0:00:03.390 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004016", "end": "2023-12-02 14:03:15.665430", "rc": 0, "start": "2023-12-02 14:03:15.661414" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.170) 0:00:03.561 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.033) 0:00:03.594 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.037) 0:00:03.631 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.047) 0:00:03.679 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012824", "end": "2023-12-02 14:03:15.955446", "rc": 1, "start": "2023-12-02 14:03:15.942622" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.163) 0:00:03.843 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.024) 0:00:03.868 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.165) 0:00:04.034 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.021) 0:00:04.055 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.031) 0:00:04.087 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.067) 0:00:04.154 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.119) 0:00:04.274 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.036) 0:00:04.310 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.031) 0:00:04.341 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.042) 0:00:04.383 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:17 +0000 (0:00:01.036) 0:00:05.420 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:18 +0000 (0:00:01.028) 0:00:06.448 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.053) 0:00:06.502 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.040) 0:00:06.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.044) 0:00:06.588 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.072) 0:00:06.660 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.031) 0:00:06.692 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.036) 0:00:06.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.044) 0:00:06.773 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:19 +0000 (0:00:00.487) 0:00:07.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:19 +0000 (0:00:00.039) 0:00:07.300 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:19 +0000 (0:00:00.031) 0:00:07.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:19 +0000 (0:00:00.030) 0:00:07.361 ***** 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, 5bb3c35f-e902-403f-8624-6bc2632dc869 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.642) 0:00:08.004 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.074) 0:00:08.079 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bb3c35f-e902-403f-8624-6bc2632dc869" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.059) 0:00:08.138 ***** 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, 5bb3c35f-e902-403f-8624-6bc2632dc869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bb3c35f-e902-403f-8624-6bc2632dc869" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.053) 0:00:08.192 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.042) 0:00:08.235 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.247) 0:00:08.482 ***** 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, 5bb3c35f-e902-403f-8624-6bc2632dc869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bb3c35f-e902-403f-8624-6bc2632dc869" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.037) 0:00:08.520 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.063) 0:00:08.583 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.069) 0:00:08.653 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.049) 0:00:08.703 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525800.076266, "block_size": 4096, "blocks": 8, "ctime": 1701525799.9782665, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525799.9782665, "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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.193) 0:00:08.897 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.050) 0:00:08.948 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027943", "end": "2023-12-02 14:03:21.247099", "rc": 0, "start": "2023-12-02 14:03:21.219156" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.240) 0:00:09.188 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.056) 0:00:09.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.080) 0:00:09.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.037) 0:00:09.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.078) 0:00:09.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.046) 0:00:09.489 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.045) 0:00:09.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.047) 0:00:09.582 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.045) 0:00:09.628 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.075) 0:00:09.703 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.069) 0:00:09.772 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525799.9822664, "block_size": 4096, "blocks": 0, "ctime": 1701525799.9812665, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17518, "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": 1701525799.9812665, "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-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.168) 0:00:09.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.036) 0:00:09.977 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.041) 0:00:10.018 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.076) 0:00:10.095 ***** 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.093772", "end": "2023-12-02 14:03:22.446897", "rc": 1, "start": "2023-12-02 14:03:22.353125" } STDOUT: Connection 'statebr' (5bb3c35f-e902-403f-8624-6bc2632dc869) successfully deleted. STDERR: (process:23052): GLib-GIO-WARNING **: 14:03:22.420: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/15 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-ciab1pm_le/tests/playbooks/tests_states.yml:45 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.264) 0:00:10.359 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.072) 0:00:10.432 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.070) 0:00:10.503 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.073) 0:00:10.576 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.062) 0:00:10.639 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.062) 0:00:10.701 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004261", "end": "2023-12-02 14:03:22.966159", "rc": 0, "start": "2023-12-02 14:03:22.961898" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.160) 0:00:10.862 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.028) 0:00:10.891 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.031) 0:00:10.922 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.069) 0:00:10.992 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008681", "end": "2023-12-02 14:03:23.260387", "rc": 1, "start": "2023-12-02 14:03:23.251706" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.175) 0:00:11.168 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.069) 0:00:11.237 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.159) 0:00:11.397 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.042) 0:00:11.439 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.093) 0:00:11.532 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.072) 0:00:11.605 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.071) 0:00:11.676 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.054) 0:00:11.730 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.033) 0:00:11.764 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.032) 0:00:11.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.882) 0:00:12.679 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.706) 0:00:13.386 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.075) 0:00:13.462 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.036) 0:00:13.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.044) 0:00:13.543 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.083) 0:00:13.627 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.034) 0:00:13.661 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.038) 0:00:13.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.041) 0:00:13.741 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.299) 0:00:14.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.046) 0:00:14.087 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.038) 0:00:14.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.042) 0:00:14.168 ***** 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, 11c60a62-bf51-497b-9305-a8aa685e6793 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.368) 0:00:14.537 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.037) 0:00:14.575 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11c60a62-bf51-497b-9305-a8aa685e6793" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.035) 0:00:14.610 ***** 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, 11c60a62-bf51-497b-9305-a8aa685e6793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11c60a62-bf51-497b-9305-a8aa685e6793" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.033) 0:00:14.644 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.041) 0:00:14.685 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.219) 0:00:14.904 ***** 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, 11c60a62-bf51-497b-9305-a8aa685e6793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11c60a62-bf51-497b-9305-a8aa685e6793" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.042) 0:00:14.947 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.085) 0:00:15.032 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.079) 0:00:15.111 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.176) 0:00:15.288 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.042) 0:00:15.330 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.065) 0:00:15.396 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.037) 0:00:15.434 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525806.615242, "block_size": 4096, "blocks": 8, "ctime": 1701525806.615242, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427527, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525806.615242, "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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.187) 0:00:15.621 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.036) 0:00:15.658 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024059", "end": "2023-12-02 14:03:27.949023", "rc": 0, "start": "2023-12-02 14:03:27.924964" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.211) 0:00:15.870 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.132) 0:00:16.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.075) 0:00:16.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.050) 0:00:16.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.092) 0:00:16.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.104) 0:00:16.326 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.047) 0:00:16.373 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.054) 0:00:16.427 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.079) 0:00:16.506 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.044) 0:00:16.551 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.063) 0:00:16.615 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.099) 0:00:16.715 ***** 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.049809", "end": "2023-12-02 14:03:29.020550", "rc": 1, "start": "2023-12-02 14:03:28.970741" } STDOUT: Connection 'statebr' (11c60a62-bf51-497b-9305-a8aa685e6793) 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-ciab1pm_le/tests/playbooks/tests_states.yml:65 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.202) 0:00:16.917 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.056) 0:00:16.974 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.034) 0:00:17.008 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.073) 0:00:17.082 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.062) 0:00:17.144 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.078) 0:00:17.223 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003933", "end": "2023-12-02 14:03:29.485817", "rc": 0, "start": "2023-12-02 14:03:29.481884" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.237) 0:00:17.461 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.044) 0:00:17.505 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.048) 0:00:17.554 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.085) 0:00:17.639 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.075) 0:00:17.714 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.072) 0:00:17.787 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.049) 0:00:17.837 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.051) 0:00:17.888 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.038) 0:00:17.927 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.824) 0:00:18.752 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.731) 0:00:19.483 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.042) 0:00:19.526 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.041) 0:00:19.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.040) 0:00:19.608 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.068) 0:00:19.676 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.038) 0:00:19.714 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.039) 0:00:19.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.060) 0:00:19.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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.301) 0:00:20.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.048) 0:00:20.164 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.036) 0:00:20.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.042) 0:00:20.243 ***** 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, 71445c03-2dba-4b01-8230-7ae4812b622a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.406) 0:00:20.650 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.077) 0:00:20.728 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71445c03-2dba-4b01-8230-7ae4812b622a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.042) 0:00:20.771 ***** 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, 71445c03-2dba-4b01-8230-7ae4812b622a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71445c03-2dba-4b01-8230-7ae4812b622a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.049) 0:00:20.820 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.044) 0:00:20.864 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.167) 0:00:21.032 ***** 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, 71445c03-2dba-4b01-8230-7ae4812b622a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71445c03-2dba-4b01-8230-7ae4812b622a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.056) 0:00:21.088 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.081) 0:00:21.170 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.059) 0:00:21.230 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.075) 0:00:21.306 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.064) 0:00:21.371 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.044) 0:00:21.415 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.049) 0:00:21.465 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.901) 0:00:22.367 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.695) 0:00:23.062 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.041) 0:00:23.104 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.028) 0:00:23.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.029) 0:00:23.162 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.063) 0:00:23.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.028) 0:00:23.254 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.031) 0:00:23.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.035) 0:00:23.321 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.262) 0:00:23.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.038) 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.028) 0:00:23.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.029) 0:00:23.680 ***** 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, 71445c03-2dba-4b01-8230-7ae4812b622a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.382) 0:00:24.063 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.035) 0:00:24.099 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 71445c03-2dba-4b01-8230-7ae4812b622a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.037) 0:00:24.137 ***** 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, 71445c03-2dba-4b01-8230-7ae4812b622a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 71445c03-2dba-4b01-8230-7ae4812b622a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.046) 0:00:24.183 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.046) 0:00:24.229 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.167) 0:00:24.397 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.061) 0:00:24.459 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.051) 0:00:24.510 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525812.6832194, "block_size": 4096, "blocks": 0, "ctime": 1701525812.6822195, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17518, "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": 1701525812.6822195, "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-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.168) 0:00:24.679 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.037) 0:00:24.716 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.055) 0:00:24.772 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.043) 0:00:24.815 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525812.7472193, "block_size": 4096, "blocks": 8, "ctime": 1701525812.6812196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525812.6812196, "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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.147) 0:00:24.963 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.055) 0:00:25.018 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024649", "end": "2023-12-02 14:03:37.294075", "rc": 0, "start": "2023-12-02 14:03:37.269426" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.171) 0:00:25.190 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.032) 0:00:25.223 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.030) 0:00:25.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.030) 0:00:25.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.040) 0:00:25.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.034) 0:00:25.357 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.033) 0:00:25.390 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.033) 0:00:25.424 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.029) 0:00:25.453 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.026) 0:00:25.479 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.026) 0:00:25.506 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.049) 0:00:25.556 ***** 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.089715", "end": "2023-12-02 14:03:37.897612", "rc": 1, "start": "2023-12-02 14:03:37.807897" } STDOUT: Connection 'statebr' (71445c03-2dba-4b01-8230-7ae4812b622a) successfully deleted. STDERR: (process:23818): GLib-GIO-WARNING **: 14:03:37.871: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/16 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-ciab1pm_le/tests/playbooks/tests_states.yml:83 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.262) 0:00:25.818 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.061) 0:00:25.880 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.086) 0:00:25.966 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.094) 0:00:26.060 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.092) 0:00:26.152 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.068) 0:00:26.221 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004205", "end": "2023-12-02 14:03:38.486849", "rc": 0, "start": "2023-12-02 14:03:38.482644" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.167) 0:00:26.389 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.032) 0:00:26.422 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.042) 0:00:26.464 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.071) 0:00:26.536 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.073) 0:00:26.609 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.077) 0:00:26.687 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.040) 0:00:26.727 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.031) 0:00:26.758 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.031) 0:00:26.790 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.922) 0:00:27.712 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.708) 0:00:28.421 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.040) 0:00:28.462 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.044) 0:00:28.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.041) 0:00:28.547 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.072) 0:00:28.620 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.048) 0:00:28.669 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.033) 0:00:28.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.046) 0:00:28.749 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.291) 0:00:29.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.066) 0:00:29.107 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.036) 0:00:29.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.034) 0:00:29.178 ***** 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, e8370ae6-70c2-4626-88bf-0a464434fcc5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.450) 0:00:29.629 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.083) 0:00:29.712 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8370ae6-70c2-4626-88bf-0a464434fcc5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.053) 0:00:29.766 ***** 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, e8370ae6-70c2-4626-88bf-0a464434fcc5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8370ae6-70c2-4626-88bf-0a464434fcc5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.038) 0:00:29.804 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.043) 0:00:29.848 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.206) 0:00:30.055 ***** 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, e8370ae6-70c2-4626-88bf-0a464434fcc5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8370ae6-70c2-4626-88bf-0a464434fcc5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.052) 0:00:30.107 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.075) 0:00:30.182 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.098) 0:00:30.281 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.055) 0:00:30.337 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.043) 0:00:30.380 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.087) 0:00:30.468 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.894) 0:00:31.362 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.850) 0:00:32.212 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.048) 0:00:32.261 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.043) 0:00:32.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.038) 0:00:32.343 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.080) 0:00:32.424 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.049) 0:00:32.473 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.033) 0:00:32.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.034) 0:00:32.541 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.287) 0:00:32.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.119) 0:00:32.948 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.060) 0:00:33.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.041) 0:00:33.049 ***** 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, e8370ae6-70c2-4626-88bf-0a464434fcc5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.344) 0:00:33.394 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.030) 0:00:33.424 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8370ae6-70c2-4626-88bf-0a464434fcc5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.034) 0:00:33.458 ***** 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, e8370ae6-70c2-4626-88bf-0a464434fcc5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8370ae6-70c2-4626-88bf-0a464434fcc5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.032) 0:00:33.491 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.038) 0:00:33.529 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.168) 0:00:33.698 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.077) 0:00:33.775 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.080) 0:00:33.856 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.076) 0:00:33.932 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.090) 0:00:34.023 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.106) 0:00:34.129 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.089) 0:00:34.219 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.840) 0:00:35.059 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.684) 0:00:35.744 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.040) 0:00:35.785 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.035) 0:00:35.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.040) 0:00:35.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.080) 0:00:35.940 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.027) 0:00:35.967 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.041) 0:00:36.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.048) 0:00:36.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.355) 0:00:36.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.053) 0:00:36.467 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.060) 0:00:36.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.040) 0:00:36.568 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.393) 0:00:36.961 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.040) 0:00:37.002 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.058) 0:00:37.060 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.056) 0:00:37.117 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.053) 0:00:37.170 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.146) 0:00:37.317 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.084) 0:00:37.401 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.066) 0:00:37.468 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525821.6361864, "block_size": 4096, "blocks": 0, "ctime": 1701525821.6351864, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17520, "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": 1701525821.6351864, "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-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.158) 0:00:37.626 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.060) 0:00:37.687 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.050) 0:00:37.737 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.031) 0:00:37.769 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.148) 0:00:37.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.034) 0:00:37.952 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024811", "end": "2023-12-02 14:03:50.231827", "rc": 1, "start": "2023-12-02 14:03:50.207016" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.175) 0:00:38.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.034) 0:00:38.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.040) 0:00:38.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.034) 0:00:38.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.031) 0:00:38.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.033) 0:00:38.302 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.031) 0:00:38.334 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.036) 0:00:38.370 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.042) 0:00:38.413 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.078) 0:00:38.492 ***** 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.084387", "end": "2023-12-02 14:03:50.828973", "rc": 1, "start": "2023-12-02 14:03:50.744586" } STDOUT: Connection 'statebr' (e8370ae6-70c2-4626-88bf-0a464434fcc5) successfully deleted. STDERR: (process:24489): GLib-GIO-WARNING **: 14:03:50.806: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/17 but no object proxy exists (process:24489): GLib-GIO-WARNING **: 14:03:50.806: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/46 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-ciab1pm_le/tests/playbooks/tests_states.yml:103 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.260) 0:00:38.752 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.052) 0:00:38.805 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.040) 0:00:38.845 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.065) 0:00:38.911 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.050) 0:00:38.962 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.046) 0:00:39.008 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004305", "end": "2023-12-02 14:03:51.262852", "rc": 0, "start": "2023-12-02 14:03:51.258547" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.159) 0:00:39.168 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.041) 0:00:39.209 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.034) 0:00:39.243 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.078) 0:00:39.322 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.064) 0:00:39.386 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.133) 0:00:39.519 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.052) 0:00:39.572 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.062) 0:00:39.634 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.046) 0:00:39.681 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.855) 0:00:40.536 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.742) 0:00:41.278 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.083) 0:00:41.362 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.041) 0:00:41.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.061) 0:00:41.464 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.083) 0:00:41.548 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.036) 0:00:41.584 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.081) 0:00:41.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.046) 0:00:41.712 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.265) 0:00:41.978 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.038) 0:00:42.016 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.032) 0:00:42.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.036) 0:00:42.085 ***** 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, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.388) 0:00:42.473 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.033) 0:00:42.507 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.032) 0:00:42.539 ***** 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, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.031) 0:00:42.571 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.029) 0:00:42.601 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.159) 0:00:42.760 ***** 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, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.059) 0:00:42.820 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.064) 0:00:42.885 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.135) 0:00:43.020 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.093) 0:00:43.114 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.042) 0:00:43.156 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.052) 0:00:43.208 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.883) 0:00:44.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.730) 0:00:44.822 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.037) 0:00:44.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.035) 0:00:44.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.047) 0:00:44.942 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.084) 0:00:45.027 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.046) 0:00:45.073 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.088) 0:00:45.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.039) 0:00:45.202 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.285) 0:00:45.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.048) 0:00:45.536 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.039) 0:00:45.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.035) 0:00:45.610 ***** 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, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.335) 0:00:45.946 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.037) 0:00:45.983 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.034) 0:00:46.018 ***** 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, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f739f98c-1b3b-4cbf-86bf-abb8b3e6a700 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.035) 0:00:46.053 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.038) 0:00:46.092 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.149) 0:00:46.241 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.054) 0:00:46.295 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.055) 0:00:46.351 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.079) 0:00:46.430 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.030) 0:00:46.461 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.032) 0:00:46.494 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.860) 0:00:47.354 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.729) 0:00:48.084 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.054) 0:00:48.138 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.038) 0:00:48.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.033) 0:00:48.211 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.065) 0:00:48.276 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.040) 0:00:48.317 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.078) 0:00:48.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.040) 0:00:48.436 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.288) 0:00:48.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.046) 0:00:48.772 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.051) 0:00:48.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.045) 0:00:48.868 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.391) 0:00:49.260 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.036) 0:00:49.297 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.056) 0:00:49.353 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.034) 0:00:49.388 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.040) 0:00:49.428 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.162) 0:00:49.591 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.070) 0:00:49.662 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.099) 0:00:49.761 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:02 +0000 (0:00:00.139) 0:00:49.900 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:02 +0000 (0:00:00.057) 0:00:49.958 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:02 +0000 (0:00:00.053) 0:00:50.011 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:02 +0000 (0:00:00.066) 0:00:50.078 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.897) 0:00:50.976 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.721) 0:00:51.697 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.039) 0:00:51.737 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.055) 0:00:51.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.050) 0:00:51.843 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.085) 0:00:51.928 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.040) 0:00:51.969 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.102) 0:00:52.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.071) 0:00:52.142 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.338) 0:00:52.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.045) 0:00:52.526 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.030) 0:00:52.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.037) 0:00:52.594 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.470) 0:00:53.064 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.084) 0:00:53.149 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.064) 0:00:53.213 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.049) 0:00:53.263 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.055) 0:00:53.318 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.168) 0:00:53.486 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.135) 0:00:53.621 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.076) 0:00:53.698 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.044) 0:00:53.742 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.167) 0:00:53.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.041) 0:00:53.951 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024306", "end": "2023-12-02 14:04:06.234033", "rc": 1, "start": "2023-12-02 14:04:06.209727" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.194) 0:00:54.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.058) 0:00:54.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.040) 0:00:54.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.049) 0:00:54.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.041) 0:00:54.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.039) 0:00:54.377 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.041) 0:00:54.418 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.066) 0:00:54.485 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.061) 0:00:54.547 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.161) 0:00:54.708 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.039) 0:00:54.748 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.033) 0:00:54.781 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.092) 0:00:54.874 ***** 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.047755", "end": "2023-12-02 14:04:07.173092", "rc": 1, "start": "2023-12-02 14:04:07.125337" } 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-ciab1pm_le/tests/playbooks/tests_states.yml:126 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.207) 0:00:55.081 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.069) 0:00:55.151 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.063) 0:00:55.214 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.101) 0:00:55.315 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.110) 0:00:55.425 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.092) 0:00:55.518 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005169", "end": "2023-12-02 14:04:08.786824", "rc": 0, "start": "2023-12-02 14:04:07.781655" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:04:08 +0000 (0:00:01.171) 0:00:56.689 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:04:08 +0000 (0:00:00.036) 0:00:56.726 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:04:08 +0000 (0:00:00.049) 0:00:56.775 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.127) 0:00:56.902 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.058) 0:00:56.960 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.066) 0:00:57.026 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.059) 0:00:57.086 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.041) 0:00:57.127 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.041) 0:00:57.168 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.816) 0:00:57.985 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.761) 0:00:58.747 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.093) 0:00:58.840 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.031) 0:00:58.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.042) 0:00:58.914 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.084) 0:00:58.999 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.038) 0:00:59.038 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.044) 0:00:59.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.044) 0:00:59.126 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.283) 0:00:59.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.048) 0:00:59.457 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.043) 0:00:59.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.054) 0:00:59.556 ***** 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, abe1cb68-89d4-4b91-8569-49bb906cd8aa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.396) 0:00:59.953 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.045) 0:00:59.998 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.042) 0:01:00.040 ***** 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, abe1cb68-89d4-4b91-8569-49bb906cd8aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.063) 0:01:00.104 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.046) 0:01:00.150 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.212) 0:01:00.363 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.134) 0:01:00.497 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.092) 0:01:00.590 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.111) 0:01:00.701 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.047) 0:01:00.749 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.042) 0:01:00.791 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.048) 0:01:00.840 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.842) 0:01:01.682 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.691) 0:01:02.374 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.074) 0:01:02.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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.045) 0:01:02.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.034) 0:01:02.528 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.071) 0:01:02.600 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.031) 0:01:02.631 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.037) 0:01:02.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.046) 0:01:02.716 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.272) 0:01:02.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.034) 0:01:03.023 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.033) 0:01:03.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.033) 0:01:03.089 ***** 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, abe1cb68-89d4-4b91-8569-49bb906cd8aa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.335) 0:01:03.425 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.040) 0:01:03.465 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.038) 0:01:03.504 ***** 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, abe1cb68-89d4-4b91-8569-49bb906cd8aa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, abe1cb68-89d4-4b91-8569-49bb906cd8aa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.032) 0:01:03.537 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.037) 0:01:03.575 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.182) 0:01:03.757 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.050) 0:01:03.807 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.075) 0:01:03.883 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.048) 0:01:03.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.034) 0:01:03.966 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.031) 0:01:03.998 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.848) 0:01:04.846 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.713) 0:01:05.559 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.037) 0:01:05.597 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.073) 0:01:05.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.028) 0:01:05.699 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.073) 0:01:05.773 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.032) 0:01:05.805 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.035) 0:01:05.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.036) 0:01:05.877 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.276) 0:01:06.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.044) 0:01:06.198 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.029) 0:01:06.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.029) 0:01:06.258 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.439) 0:01:06.697 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.029) 0:01:06.726 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.041) 0:01:06.767 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.032) 0:01:06.800 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.027) 0:01:06.827 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.204) 0:01:07.031 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.068) 0:01:07.100 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.073) 0:01:07.173 ***** included: /WORKDIR/git-weekly-ciab1pm_le/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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.059) 0:01:07.233 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.047) 0:01:07.281 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.044) 0:01:07.325 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.032) 0:01:07.358 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.831) 0:01:08.190 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.731) 0:01:08.922 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.042) 0:01:08.965 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.035) 0:01:09.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.037) 0:01:09.038 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.069) 0:01:09.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.039) 0:01:09.147 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.040) 0:01:09.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.039) 0:01:09.227 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.282) 0:01:09.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.046) 0:01:09.556 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.050) 0:01:09.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.051) 0:01:09.658 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.392) 0:01:10.051 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.057) 0:01:10.109 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.060) 0:01:10.169 ***** 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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.104) 0:01:10.274 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.043) 0:01:10.317 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.176) 0:01:10.494 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.069) 0:01:10.564 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.068) 0:01:10.633 ***** 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.037) 0:01:10.670 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.162) 0:01:10.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.039) 0:01:10.872 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022854", "end": "2023-12-02 14:04:23.158656", "rc": 1, "start": "2023-12-02 14:04:23.135802" } 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-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.194) 0:01:11.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.056) 0:01:11.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.034) 0:01:11.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.034) 0:01:11.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.031) 0:01:11.223 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.028) 0:01:11.252 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.032) 0:01:11.284 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.418461", "end": "2023-12-02 14:04:23.957844", "rc": 0, "start": "2023-12-02 14:04:23.539383" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.570) 0:01:11.854 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.030) 0:01:11.885 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.032) 0:01:11.918 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.077) 0:01:11.995 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.047) 0:01:12.043 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.151) 0:01:12.194 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.035) 0:01:12.230 ***** 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-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.032) 0:01:12.262 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:04:24 +0000 (0:00:00.056) 0:01:12.318 ***** 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.051549", "end": "2023-12-02 14:04:24.623730", "rc": 1, "start": "2023-12-02 14:04:24.572181" } 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 02 December 2023 14:04:24 +0000 (0:00:00.186) 0:01:12.504 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.29s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.63s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.40s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.30s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.11s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.04s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.99s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.90s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.90s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 0.90s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---