# 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-cihbhxqaz9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_nm.yml:5 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_nm.yml:9 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.494) 0:00:00.506 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.022) 0:00:00.528 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:19 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.209) 0:00:00.738 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:24 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.189) 0:00:00.927 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:28 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.020) 0:00:00.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:53 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.018) 0:00:00.966 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.031) 0:00:00.997 ***** 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-cihbhxqaz9/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.187) 0:00:01.185 ***** 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-cihbhxqaz9/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.462) 0:00:01.647 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.171538", "end": "2023-12-09 13:53:40.300592", "rc": 0, "start": "2023-12-09 13:53:40.129054" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.292) 0:00:01.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.012) 0:00:01.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_nm.yml:11 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.011) 0:00:01.963 ***** 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-cihbhxqaz9/tests/playbooks/tests_states.yml:3 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.033) 0:00:01.997 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:11 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.374) 0:00:02.372 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:22 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.012) 0:00:02.384 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.017) 0:00:02.401 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.010) 0:00:02.412 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.032) 0:00:02.445 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.014) 0:00:02.459 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.015) 0:00:02.474 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2023-12-09 13:53:40.968186", "rc": 0, "start": "2023-12-09 13:53:40.964733" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.139) 0:00:02.613 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.013) 0:00:02.627 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.014) 0:00:02.641 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.021) 0:00:02.663 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010902", "end": "2023-12-09 13:53:41.156026", "rc": 1, "start": "2023-12-09 13:53:41.145124" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.132) 0:00:02.795 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.016) 0:00:02.812 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.121) 0:00:02.934 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.013) 0:00:02.948 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.018) 0:00:02.966 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.033) 0:00:03.000 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.070) 0:00:03.070 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.012) 0:00:03.083 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.010) 0:00:03.094 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.019) 0:00:03.113 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.763) 0:00:03.876 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:43 +0000 (0:00:01.082) 0:00:04.959 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.022) 0:00:04.981 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.021) 0:00:05.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.020) 0:00:05.023 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.045) 0:00:05.068 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.019) 0:00:05.087 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.026) 0:00:05.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.026) 0:00:05.140 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.355) 0:00:05.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.027) 0:00:05.522 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.021) 0:00:05.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.021) 0:00:05.566 ***** 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, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.428) 0:00:05.995 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.022) 0:00:06.018 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.055) 0:00:06.073 ***** 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, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.024) 0:00:06.098 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.028) 0:00:06.127 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.187) 0:00:06.314 ***** 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, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5006ca39-f6ff-4ae3-8fde-9d33af285ae5" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.022) 0:00:06.336 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.040) 0:00:06.377 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.036) 0:00:06.413 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.020) 0:00:06.434 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130024.2917128, "block_size": 4096, "blocks": 8, "ctime": 1702130024.2907128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25423, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130024.2907128, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.131) 0:00:06.566 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.022) 0:00:06.588 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023227", "end": "2023-12-09 13:53:45.095637", "rc": 0, "start": "2023-12-09 13:53:45.072410" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.156) 0:00:06.745 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.035) 0:00:06.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.024) 0:00:06.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.023) 0:00:06.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.027) 0:00:06.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.057) 0:00:06.913 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.024) 0:00:06.938 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.030) 0:00:06.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.027) 0:00:06.996 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.051) 0:00:07.048 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.044) 0:00:07.092 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130024.2977126, "block_size": 4096, "blocks": 0, "ctime": 1702130024.2937129, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17601, "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": 1702130024.2937129, "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-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.136) 0:00:07.229 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.024) 0:00:07.253 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.022) 0:00:07.276 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.043) 0:00:07.319 ***** 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.075588", "end": "2023-12-09 13:53:45.881716", "rc": 1, "start": "2023-12-09 13:53:45.806128" } STDOUT: Connection 'statebr' (5006ca39-f6ff-4ae3-8fde-9d33af285ae5) successfully deleted. STDERR: (process:20203): GLib-GIO-WARNING **: 13:53:45.864: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 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-cihbhxqaz9/tests/playbooks/tests_states.yml:45 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.210) 0:00:07.530 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.035) 0:00:07.567 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.022) 0:00:07.589 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.042) 0:00:07.632 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.059) 0:00:07.692 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.033) 0:00:07.725 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003590", "end": "2023-12-09 13:53:46.213540", "rc": 0, "start": "2023-12-09 13:53:46.209950" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.135) 0:00:07.861 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.022) 0:00:07.884 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.022) 0:00:07.906 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.041) 0:00:07.947 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007308", "end": "2023-12-09 13:53:46.442350", "rc": 1, "start": "2023-12-09 13:53:46.435042" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.144) 0:00:08.092 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.037) 0:00:08.129 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.155) 0:00:08.285 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.028) 0:00:08.314 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.040) 0:00:08.355 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.065) 0:00:08.420 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.039) 0:00:08.460 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.027) 0:00:08.487 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.036) 0:00:08.524 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.023) 0:00:08.547 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.691) 0:00:09.239 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.914) 0:00:10.153 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.050) 0:00:10.203 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.021) 0:00:10.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.023) 0:00:10.248 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.052) 0:00:10.301 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.023) 0:00:10.325 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.027) 0:00:10.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.030) 0:00:10.382 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.240) 0:00:10.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.047) 0:00:10.670 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.023) 0:00:10.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.021) 0:00:10.715 ***** 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, c148c3b6-83ed-4850-9372-bae9a9d14c33 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.283) 0:00:10.998 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.020) 0:00:11.019 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c148c3b6-83ed-4850-9372-bae9a9d14c33" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.023) 0:00:11.042 ***** 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, c148c3b6-83ed-4850-9372-bae9a9d14c33\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c148c3b6-83ed-4850-9372-bae9a9d14c33" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.027) 0:00:11.070 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.022) 0:00:11.092 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.127) 0:00:11.219 ***** 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, c148c3b6-83ed-4850-9372-bae9a9d14c33\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c148c3b6-83ed-4850-9372-bae9a9d14c33" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.046) 0:00:11.265 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.043) 0:00:11.309 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.037) 0:00:11.346 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.132) 0:00:11.479 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.024) 0:00:11.503 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.035) 0:00:11.539 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.021) 0:00:11.560 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130029.3345268, "block_size": 4096, "blocks": 8, "ctime": 1702130029.3345268, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25423, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130029.3345268, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.133) 0:00:11.693 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.022) 0:00:11.716 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021792", "end": "2023-12-09 13:53:50.222698", "rc": 0, "start": "2023-12-09 13:53:50.200906" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.159) 0:00:11.876 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.024) 0:00:11.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.036) 0:00:11.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.038) 0:00:11.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.039) 0:00:12.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.062) 0:00:12.077 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.030) 0:00:12.108 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.038) 0:00:12.147 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.026) 0:00:12.173 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.023) 0:00:12.196 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.023) 0:00:12.220 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.047) 0:00:12.267 ***** 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.046066", "end": "2023-12-09 13:53:50.798495", "rc": 1, "start": "2023-12-09 13:53:50.752429" } STDOUT: Connection 'statebr' (c148c3b6-83ed-4850-9372-bae9a9d14c33) 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-cihbhxqaz9/tests/playbooks/tests_states.yml:65 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.177) 0:00:12.445 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.036) 0:00:12.481 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.022) 0:00:12.504 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.043) 0:00:12.547 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.034) 0:00:12.581 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.033) 0:00:12.615 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2023-12-09 13:53:51.105291", "rc": 0, "start": "2023-12-09 13:53:51.101892" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.173) 0:00:12.788 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.022) 0:00:12.810 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.021) 0:00:12.832 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.037) 0:00:12.869 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.035) 0:00:12.905 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.039) 0:00:12.945 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.025) 0:00:12.971 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.022) 0:00:12.993 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.021) 0:00:13.014 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:52 +0000 (0:00:00.674) 0:00:13.689 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.943) 0:00:14.633 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.024) 0:00:14.657 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.026) 0:00:14.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.021) 0:00:14.705 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.045) 0:00:14.751 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.023) 0:00:14.774 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.032) 0:00:14.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.036) 0:00:14.843 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.241) 0:00:15.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.039) 0:00:15.125 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.024) 0:00:15.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.028) 0:00:15.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, a2a3c279-d2d0-48ca-b2f0-ec28d8787370 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.390) 0:00:15.568 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.056) 0:00:15.624 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a3c279-d2d0-48ca-b2f0-ec28d8787370" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.025) 0:00:15.650 ***** 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, a2a3c279-d2d0-48ca-b2f0-ec28d8787370\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a3c279-d2d0-48ca-b2f0-ec28d8787370" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.025) 0:00:15.675 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.023) 0:00:15.699 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.131) 0:00:15.830 ***** 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, a2a3c279-d2d0-48ca-b2f0-ec28d8787370\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a3c279-d2d0-48ca-b2f0-ec28d8787370" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.025) 0:00:15.856 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.040) 0:00:15.897 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.048) 0:00:15.945 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.044) 0:00:15.989 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.037) 0:00:16.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.026) 0:00:16.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.023) 0:00:16.077 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:55 +0000 (0:00:00.706) 0:00:16.784 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.900) 0:00:17.685 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.022) 0:00:17.707 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.022) 0:00:17.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.021) 0:00:17.751 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.045) 0:00:17.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.021) 0:00:17.818 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.021) 0:00:17.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.025) 0:00:17.865 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.227) 0:00:18.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.027) 0:00:18.120 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.053) 0:00:18.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.032) 0:00:18.206 ***** 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, a2a3c279-d2d0-48ca-b2f0-ec28d8787370 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.320) 0:00:18.527 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.043) 0:00:18.571 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2a3c279-d2d0-48ca-b2f0-ec28d8787370 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.037) 0:00:18.608 ***** 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, a2a3c279-d2d0-48ca-b2f0-ec28d8787370 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2a3c279-d2d0-48ca-b2f0-ec28d8787370 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.025) 0:00:18.633 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.023) 0:00:18.657 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.160) 0:00:18.818 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.043) 0:00:18.862 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.044) 0:00:18.906 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130033.8703594, "block_size": 4096, "blocks": 0, "ctime": 1702130033.8693595, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17601, "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": 1702130033.8693595, "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-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.144) 0:00:19.051 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.027) 0:00:19.079 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.036) 0:00:19.115 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.039) 0:00:19.155 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130033.8683593, "block_size": 4096, "blocks": 8, "ctime": 1702130033.8673594, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25423, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130033.8673594, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.134) 0:00:19.290 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.025) 0:00:19.315 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021735", "end": "2023-12-09 13:53:57.820878", "rc": 0, "start": "2023-12-09 13:53:57.799143" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.154) 0:00:19.469 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.025) 0:00:19.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.024) 0:00:19.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.024) 0:00:19.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.026) 0:00:19.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.031) 0:00:19.602 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.036) 0:00:19.638 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.028) 0:00:19.667 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.025) 0:00:19.693 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.026) 0:00:19.719 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.023) 0:00:19.743 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.041) 0:00:19.785 ***** 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.076966", "end": "2023-12-09 13:53:58.345409", "rc": 1, "start": "2023-12-09 13:53:58.268443" } STDOUT: Connection 'statebr' (a2a3c279-d2d0-48ca-b2f0-ec28d8787370) successfully deleted. STDERR: (process:20916): GLib-GIO-WARNING **: 13:53:58.327: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:83 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.208) 0:00:19.993 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.068) 0:00:20.062 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.022) 0:00:20.085 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.044) 0:00:20.130 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.034) 0:00:20.164 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.033) 0:00:20.198 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003441", "end": "2023-12-09 13:53:58.685244", "rc": 0, "start": "2023-12-09 13:53:58.681803" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.134) 0:00:20.333 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.024) 0:00:20.357 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.021) 0:00:20.379 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.040) 0:00:20.419 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.035) 0:00:20.454 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.040) 0:00:20.495 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.027) 0:00:20.522 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.021) 0:00:20.544 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.054) 0:00:20.598 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:59 +0000 (0:00:00.674) 0:00:21.273 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.910) 0:00:22.183 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.023) 0:00:22.207 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.021) 0:00:22.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.022) 0:00:22.251 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.046) 0:00:22.297 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.023) 0:00:22.320 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.022) 0:00:22.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.059) 0:00:22.402 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.253) 0:00:22.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.040) 0:00:22.695 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.033) 0:00:22.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.028) 0:00:22.757 ***** 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, 7ea16016-3a5a-41b8-a740-2942993f1752 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.348) 0:00:23.106 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.022) 0:00:23.128 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ea16016-3a5a-41b8-a740-2942993f1752" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.028) 0:00:23.157 ***** 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, 7ea16016-3a5a-41b8-a740-2942993f1752\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ea16016-3a5a-41b8-a740-2942993f1752" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.053) 0:00:23.210 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.045) 0:00:23.256 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.159) 0:00:23.415 ***** 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, 7ea16016-3a5a-41b8-a740-2942993f1752\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ea16016-3a5a-41b8-a740-2942993f1752" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.025) 0:00:23.440 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.041) 0:00:23.482 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.044) 0:00:23.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.072) 0:00:23.599 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.050) 0:00:23.650 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.042) 0:00:23.692 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.687) 0:00:24.380 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.904) 0:00:25.284 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.022) 0:00:25.307 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.021) 0:00:25.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.021) 0:00:25.351 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.051) 0:00:25.402 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.050) 0:00:25.453 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.021) 0:00:25.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.027) 0:00:25.501 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.225) 0:00:25.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.028) 0:00:25.755 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.025) 0:00:25.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.023) 0:00:25.805 ***** 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, 7ea16016-3a5a-41b8-a740-2942993f1752 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.281) 0:00:26.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.031) 0:00:26.118 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ea16016-3a5a-41b8-a740-2942993f1752 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.024) 0:00:26.143 ***** 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, 7ea16016-3a5a-41b8-a740-2942993f1752 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ea16016-3a5a-41b8-a740-2942993f1752 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.026) 0:00:26.169 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.021) 0:00:26.191 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.129) 0:00:26.321 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.042) 0:00:26.363 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.091) 0:00:26.454 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.052) 0:00:26.507 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.032) 0:00:26.539 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.035) 0:00:26.575 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.029) 0:00:26.605 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.673) 0:00:27.279 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.904) 0:00:28.183 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.022) 0:00:28.206 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.020) 0:00:28.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.048) 0:00:28.275 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.043) 0:00:28.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.021) 0:00:28.340 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.022) 0:00:28.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.024) 0:00:28.387 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.222) 0:00:28.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.027) 0:00:28.637 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.023) 0:00:28.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.022) 0:00:28.682 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.306) 0:00:28.989 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.023) 0:00:29.012 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.023) 0:00:29.036 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.022) 0:00:29.059 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.022) 0:00:29.082 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.141) 0:00:29.223 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.081) 0:00:29.304 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.037) 0:00:29.342 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130041.3920817, "block_size": 4096, "blocks": 0, "ctime": 1702130041.3910818, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17603, "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": 1702130041.3910818, "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-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.135) 0:00:29.477 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.027) 0:00:29.504 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.048) 0:00:29.553 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.027) 0:00:29.580 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.155) 0:00:29.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.047) 0:00:29.783 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021476", "end": "2023-12-09 13:54:08.290788", "rc": 1, "start": "2023-12-09 13:54:08.269312" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.153) 0:00:29.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.023) 0:00:29.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.023) 0:00:29.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.022) 0:00:30.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.022) 0:00:30.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.021) 0:00:30.051 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.025) 0:00:30.076 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.019) 0:00:30.096 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.053) 0:00:30.149 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.040) 0:00:30.189 ***** 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.077579", "end": "2023-12-09 13:54:08.754084", "rc": 1, "start": "2023-12-09 13:54:08.676505" } STDOUT: Connection 'statebr' (7ea16016-3a5a-41b8-a740-2942993f1752) successfully deleted. STDERR: (process:21537): GLib-GIO-WARNING **: 13:54:08.735: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 but no object proxy exists (process:21537): GLib-GIO-WARNING **: 13:54:08.736: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/55 but no object proxy exists (process:21537): GLib-GIO-WARNING **: 13:54:08.736: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/30 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-cihbhxqaz9/tests/playbooks/tests_states.yml:103 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.211) 0:00:30.401 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.037) 0:00:30.438 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.022) 0:00:30.461 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.049) 0:00:30.511 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.044) 0:00:30.555 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.035) 0:00:30.590 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2023-12-09 13:54:09.075878", "rc": 0, "start": "2023-12-09 13:54:09.072733" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.134) 0:00:30.725 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.032) 0:00:30.758 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.049) 0:00:30.808 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.073) 0:00:30.881 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.085) 0:00:30.967 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.041) 0:00:31.008 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.027) 0:00:31.035 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.025) 0:00:31.061 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.026) 0:00:31.088 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:10 +0000 (0:00:00.683) 0:00:31.772 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.902) 0:00:32.675 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.051) 0:00:32.726 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.023) 0:00:32.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.030) 0:00:32.779 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.046) 0:00:32.825 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.023) 0:00:32.848 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.023) 0:00:32.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.025) 0:00:32.897 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.248) 0:00:33.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.038) 0:00:33.184 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.022) 0:00:33.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.021) 0:00:33.228 ***** 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, 7fcfa3d3-6307-4d27-a651-266a116ba2b3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.320) 0:00:33.549 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.025) 0:00:33.575 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7fcfa3d3-6307-4d27-a651-266a116ba2b3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.025) 0:00:33.600 ***** 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, 7fcfa3d3-6307-4d27-a651-266a116ba2b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7fcfa3d3-6307-4d27-a651-266a116ba2b3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.024) 0:00:33.625 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.021) 0:00:33.646 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.161) 0:00:33.807 ***** 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, 7fcfa3d3-6307-4d27-a651-266a116ba2b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7fcfa3d3-6307-4d27-a651-266a116ba2b3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.028) 0:00:33.836 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.042) 0:00:33.878 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.043) 0:00:33.922 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.027) 0:00:33.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.021) 0:00:33.972 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.021) 0:00:33.993 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:13 +0000 (0:00:00.685) 0:00:34.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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:13 +0000 (0:00:00.930) 0:00:35.609 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:35.632 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.020) 0:00:35.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.021) 0:00:35.675 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.043) 0:00:35.718 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.021) 0:00:35.740 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.021) 0:00:35.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.024) 0:00:35.786 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.226) 0:00:36.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.025) 0:00:36.038 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:36.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.025) 0:00:36.086 ***** 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, 7fcfa3d3-6307-4d27-a651-266a116ba2b3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.284) 0:00:36.370 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.019) 0:00:36.390 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7fcfa3d3-6307-4d27-a651-266a116ba2b3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.023) 0:00:36.413 ***** 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, 7fcfa3d3-6307-4d27-a651-266a116ba2b3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7fcfa3d3-6307-4d27-a651-266a116ba2b3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:36.436 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.049) 0:00:36.486 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.130) 0:00:36.616 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.041) 0:00:36.658 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.041) 0:00:36.699 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.026) 0:00:36.725 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.022) 0:00:36.747 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.021) 0:00:36.769 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.671) 0:00:37.440 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.945) 0:00:38.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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.024) 0:00:38.410 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.027) 0:00:38.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.022) 0:00:38.460 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.044) 0:00:38.504 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.022) 0:00:38.526 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.021) 0:00:38.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.026) 0:00:38.573 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.220) 0:00:38.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.025) 0:00:38.819 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.019) 0:00:38.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.021) 0:00:38.860 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.302) 0:00:39.162 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.023) 0:00:39.186 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.022) 0:00:39.208 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.053) 0:00:39.262 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.022) 0:00:39.284 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.129) 0:00:39.414 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.039) 0:00:39.453 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.039) 0:00:39.492 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.039) 0:00:39.532 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.027) 0:00:39.560 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.022) 0:00:39.582 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.020) 0:00:39.603 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.668) 0:00:40.272 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.936) 0:00:41.208 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.025) 0:00:41.234 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.021) 0:00:41.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.022) 0:00:41.278 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.042) 0:00:41.321 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.022) 0:00:41.343 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.021) 0:00:41.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.025) 0:00:41.390 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.220) 0:00:41.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.024) 0:00:41.636 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.020) 0:00:41.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.019) 0:00:41.675 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.372) 0:00:42.047 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.021) 0:00:42.069 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.024) 0:00:42.093 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.028) 0:00:42.121 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.025) 0:00:42.147 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.128) 0:00:42.275 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.039) 0:00:42.315 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.038) 0:00:42.353 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.022) 0:00:42.376 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.131) 0:00:42.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.020) 0:00:42.528 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019781", "end": "2023-12-09 13:54:21.037568", "rc": 1, "start": "2023-12-09 13:54:21.017787" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.155) 0:00:42.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.022) 0:00:42.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.020) 0:00:42.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.048) 0:00:42.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.023) 0:00:42.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.021) 0:00:42.821 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.024) 0:00:42.845 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.042) 0:00:42.888 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.034) 0:00:42.922 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.134) 0:00:43.057 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.039) 0:00:43.096 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.025) 0:00:43.122 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.042) 0:00:43.164 ***** 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.042176", "end": "2023-12-09 13:54:21.692073", "rc": 1, "start": "2023-12-09 13:54:21.649897" } 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-cihbhxqaz9/tests/playbooks/tests_states.yml:126 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.175) 0:00:43.340 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.039) 0:00:43.379 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.022) 0:00:43.401 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.075) 0:00:43.476 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.034) 0:00:43.511 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.033) 0:00:43.544 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003336", "end": "2023-12-09 13:54:22.030722", "rc": 0, "start": "2023-12-09 13:54:22.027386" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.134) 0:00:43.678 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.022) 0:00:43.701 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.022) 0:00:43.724 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.048) 0:00:43.772 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.039) 0:00:43.811 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.039) 0:00:43.850 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.025) 0:00:43.876 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.021) 0:00:43.898 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.021) 0:00:43.919 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.687) 0:00:44.607 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.905) 0:00:45.513 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.024) 0:00:45.537 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.022) 0:00:45.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.023) 0:00:45.583 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.046) 0:00:45.630 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.021) 0:00:45.651 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:45.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.024) 0:00:45.697 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.257) 0:00:45.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.026) 0:00:45.981 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:46.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.021) 0:00:46.024 ***** 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, 3ce03211-6479-466f-8870-db044d7a969c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.321) 0:00:46.346 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.023) 0:00:46.369 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ce03211-6479-466f-8870-db044d7a969c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.023) 0:00:46.393 ***** 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, 3ce03211-6479-466f-8870-db044d7a969c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ce03211-6479-466f-8870-db044d7a969c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:46.416 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:46.438 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.128) 0:00:46.566 ***** 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, 3ce03211-6479-466f-8870-db044d7a969c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ce03211-6479-466f-8870-db044d7a969c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.023) 0:00:46.590 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.038) 0:00:46.628 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.039) 0:00:46.668 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.029) 0:00:46.698 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.021) 0:00:46.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.057) 0:00:46.777 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.677) 0:00:47.454 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.911) 0:00:48.365 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.022) 0:00:48.388 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.021) 0:00:48.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.020) 0:00:48.430 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.043) 0:00:48.473 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.021) 0:00:48.495 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.021) 0:00:48.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.048) 0:00:48.564 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.223) 0:00:48.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.024) 0:00:48.813 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.020) 0:00:48.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.020) 0:00:48.854 ***** 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, 3ce03211-6479-466f-8870-db044d7a969c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.271) 0:00:49.125 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.021) 0:00:49.147 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ce03211-6479-466f-8870-db044d7a969c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.021) 0:00:49.168 ***** 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, 3ce03211-6479-466f-8870-db044d7a969c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ce03211-6479-466f-8870-db044d7a969c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.023) 0:00:49.192 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.021) 0:00:49.213 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.145) 0:00:49.359 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.037) 0:00:49.396 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.039) 0:00:49.436 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.026) 0:00:49.462 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.056) 0:00:49.519 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.042) 0:00:49.562 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.671) 0:00:50.233 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.902) 0:00:51.135 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.023) 0:00:51.159 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.021) 0:00:51.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.022) 0:00:51.203 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.043) 0:00:51.247 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.021) 0:00:51.268 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.052) 0:00:51.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.026) 0:00:51.348 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.222) 0:00:51.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.026) 0:00:51.596 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.021) 0:00:51.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.021) 0:00:51.639 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.369) 0:00:52.009 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.021) 0:00:52.030 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.023) 0:00:52.054 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.022) 0:00:52.076 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.021) 0:00:52.098 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.143) 0:00:52.241 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.039) 0:00:52.280 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.036) 0:00:52.317 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.070) 0:00:52.388 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.027) 0:00:52.415 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.022) 0:00:52.437 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.021) 0:00:52.458 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:31 +0000 (0:00:00.674) 0:00:53.133 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.907) 0:00:54.040 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.022) 0:00:54.063 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.020) 0:00:54.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.042) 0:00:54.126 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.044) 0:00:54.171 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.020) 0:00:54.191 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.020) 0:00:54.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.023) 0:00:54.235 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.223) 0:00:54.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.025) 0:00:54.484 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.021) 0:00:54.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:32 +0000 (0:00:00.020) 0:00:54.526 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.283) 0:00:54.809 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.020) 0:00:54.830 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.023) 0:00:54.854 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.022) 0:00:54.876 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.021) 0:00:54.897 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.128) 0:00:55.025 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.083) 0:00:55.109 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.037) 0:00:55.147 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.023) 0:00:55.171 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.132) 0:00:55.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.021) 0:00:55.325 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018582", "end": "2023-12-09 13:54:33.826036", "rc": 1, "start": "2023-12-09 13:54:33.807454" } 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.147) 0:00:55.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.023) 0:00:55.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.022) 0:00:55.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.022) 0:00:55.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.022) 0:00:55.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.022) 0:00:55.586 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 09 December 2023 13:54:33 +0000 (0:00:00.023) 0:00:55.610 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.662433", "end": "2023-12-09 13:54:34.755177", "rc": 0, "start": "2023-12-09 13:54:34.092744" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 09 December 2023 13:54:34 +0000 (0:00:00.793) 0:00:56.404 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 09 December 2023 13:54:34 +0000 (0:00:00.052) 0:00:56.456 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:34 +0000 (0:00:00.021) 0:00:56.478 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:54:34 +0000 (0:00:00.042) 0:00:56.520 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:54:34 +0000 (0:00:00.035) 0:00:56.555 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:54:35 +0000 (0:00:00.138) 0:00:56.694 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:35 +0000 (0:00:00.026) 0:00:56.720 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:35 +0000 (0:00:00.023) 0:00:56.743 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:35 +0000 (0:00:00.040) 0:00:56.784 ***** 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.041693", "end": "2023-12-09 13:54:35.309984", "rc": 1, "start": "2023-12-09 13:54:35.268291" } 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 09 December 2023 13:54:35 +0000 (0:00:00.161) 0:00:56.945 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.36s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---