# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_initscripts.yml:4 Saturday 02 December 2023 14:03:06 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_initscripts.yml:8 Saturday 02 December 2023 14:03:07 +0000 (0:00:00.653) 0:00:00.671 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:3 Saturday 02 December 2023 14:03:07 +0000 (0:00:00.034) 0:00:00.706 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:19 Saturday 02 December 2023 14:03:07 +0000 (0:00:00.243) 0:00:00.950 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:24 Saturday 02 December 2023 14:03:08 +0000 (0:00:00.275) 0:00:01.225 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:28 Saturday 02 December 2023 14:03:08 +0000 (0:00:00.045) 0:00:01.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/el_repo_setup.yml:53 Saturday 02 December 2023 14:03:08 +0000 (0:00:00.044) 0:00:01.315 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:8 Saturday 02 December 2023 14:03:08 +0000 (0:00:00.102) 0:00:01.417 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:24 Saturday 02 December 2023 14:03:08 +0000 (0:00:00.247) 0:00:01.665 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:30 Saturday 02 December 2023 14:03:09 +0000 (0:00:00.611) 0:00:02.277 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.207866", "end": "2023-12-02 14:03:09.388413", "rc": 0, "start": "2023-12-02 14:03:09.180547" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:35 Saturday 02 December 2023 14:03:09 +0000 (0:00:00.370) 0:00:02.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tasks/enable_epel.yml:40 Saturday 02 December 2023 14:03:09 +0000 (0:00:00.057) 0:00:02.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/tests_states_initscripts.yml:10 Saturday 02 December 2023 14:03:09 +0000 (0:00:00.047) 0:00:02.752 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:3 Saturday 02 December 2023 14:03:09 +0000 (0:00:00.030) 0:00:02.782 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:11 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.511) 0:00:03.294 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:22 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.016) 0:00:03.310 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.025) 0:00:03.336 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.015) 0:00:03.351 ***** 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": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.054) 0:00:03.406 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.027) 0:00:03.433 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.025) 0:00:03.459 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004168", "end": "2023-12-02 14:03:10.365948", "rc": 0, "start": "2023-12-02 14:03:10.361780" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.147) 0:00:03.606 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.019) 0:00:03.626 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.024) 0:00:03.650 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.045) 0:00:03.696 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012976", "end": "2023-12-02 14:03:10.615099", "rc": 1, "start": "2023-12-02 14:03:10.602123" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.159) 0:00:03.855 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.030) 0:00:03.886 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.156) 0:00:04.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.027) 0:00:04.070 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.046) 0:00:04.116 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:10 +0000 (0:00:00.067) 0:00:04.184 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:11 +0000 (0:00:00.098) 0:00:04.282 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:11 +0000 (0:00:00.025) 0:00:04.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:11 +0000 (0:00:00.028) 0:00:04.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:11 +0000 (0:00:00.021) 0:00:04.358 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:12 +0000 (0:00:01.020) 0:00:05.378 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:13 +0000 (0:00:01.009) 0:00:06.388 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.044) 0:00:06.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.053) 0:00:06.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.038) 0:00:06.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.109) 0:00:06.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.050) 0:00:06.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.055) 0:00:06.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.051) 0:00:06.791 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.034) 0:00:06.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:13 +0000 (0:00:00.035) 0:00:06.861 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.488) 0:00:07.349 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpiw9qku_2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.240) 0:00:07.590 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.437) 0:00:08.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.046) 0:00:08.075 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.069) 0:00:08.144 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.044) 0:00:08.189 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:14 +0000 (0:00:00.033) 0:00:08.223 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.248) 0:00:08.471 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.073) 0:00:08.544 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.086) 0:00:08.631 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.070) 0:00:08.701 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.044) 0:00:08.746 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525794.7594793, "block_size": 4096, "blocks": 8, "ctime": 1701525794.7594793, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427537, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525794.7594793, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.163) 0:00:08.909 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.041) 0:00:08.951 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027157", "end": "2023-12-02 14:03:15.890707", "rc": 1, "start": "2023-12-02 14:03:15.863550" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.201) 0:00:09.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:15 +0000 (0:00:00.041) 0:00:09.194 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003996", "end": "2023-12-02 14:03:16.108528", "rc": 0, "start": "2023-12-02 14:03:16.104532" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.176) 0:00:09.371 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.093) 0:00:09.464 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004020", "end": "2023-12-02 14:03:16.376660", "rc": 0, "start": "2023-12-02 14:03:16.372640" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.223) 0:00:09.688 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.068) 0:00:09.756 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.119) 0:00:09.876 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.079) 0:00:09.955 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.072) 0:00:10.028 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.074) 0:00:10.103 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:16 +0000 (0:00:00.088) 0:00:10.192 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.093) 0:00:10.285 ***** 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.051524", "end": "2023-12-02 14:03:17.246322", "rc": 1, "start": "2023-12-02 14:03:17.194798" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:45 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.225) 0:00:10.510 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.077) 0:00:10.588 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.037) 0:00:10.626 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.091) 0:00:10.717 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.062) 0:00:10.780 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.067) 0:00:10.848 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003895", "end": "2023-12-02 14:03:17.747513", "rc": 0, "start": "2023-12-02 14:03:17.743618" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.152) 0:00:11.001 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.037) 0:00:11.038 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.037) 0:00:11.075 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:03:17 +0000 (0:00:00.086) 0:00:11.162 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008201", "end": "2023-12-02 14:03:18.068973", "rc": 1, "start": "2023-12-02 14:03:18.060772" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.158) 0:00:11.321 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.051) 0:00:11.372 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.160) 0:00:11.533 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.033) 0:00:11.566 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.063) 0:00:11.629 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.099) 0:00:11.729 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.099) 0:00:11.828 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.094) 0:00:11.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.029) 0:00:11.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:18 +0000 (0:00:00.042) 0:00:11.995 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:19 +0000 (0:00:00.834) 0:00:12.830 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.729) 0:00:13.559 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.045) 0:00:13.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.037) 0:00:13.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.039) 0:00:13.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.079) 0:00:13.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.035) 0:00:13.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.035) 0:00:13.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.086) 0:00:13.919 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.047) 0:00:13.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:20 +0000 (0:00:00.046) 0:00:14.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.361) 0:00:14.375 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp2_vh2_9g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.382) 0:00:14.758 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.294) 0:00:15.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.041) 0:00:15.094 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.041) 0:00:15.135 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:21 +0000 (0:00:00.052) 0:00:15.188 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.035) 0:00:15.223 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.155) 0:00:15.379 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.046) 0:00:15.425 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.068) 0:00:15.493 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.061) 0:00:15.554 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.201) 0:00:15.755 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.052) 0:00:15.808 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.059) 0:00:15.868 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.045) 0:00:15.913 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525801.7873697, "block_size": 4096, "blocks": 8, "ctime": 1701525801.7873697, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427537, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525801.7873697, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.174) 0:00:16.088 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:22 +0000 (0:00:00.034) 0:00:16.123 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025825", "end": "2023-12-02 14:03:23.045779", "rc": 1, "start": "2023-12-02 14:03:23.019954" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.182) 0:00:16.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.040) 0:00:16.346 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004155", "end": "2023-12-02 14:03:23.257359", "rc": 0, "start": "2023-12-02 14:03:23.253204" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.176) 0:00:16.523 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.053) 0:00:16.576 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004069", "end": "2023-12-02 14:03:23.493968", "rc": 0, "start": "2023-12-02 14:03:23.489899" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.179) 0:00:16.756 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.045) 0:00:16.801 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.040) 0:00:16.842 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.040) 0:00:16.882 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.043) 0:00:16.925 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.083) 0:00:17.009 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.044) 0:00:17.054 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:23 +0000 (0:00:00.063) 0:00:17.117 ***** 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.049218", "end": "2023-12-02 14:03:24.064267", "rc": 1, "start": "2023-12-02 14:03:24.015049" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:65 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.205) 0:00:17.322 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.053) 0:00:17.375 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.029) 0:00:17.405 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.081) 0:00:17.486 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.071) 0:00:17.558 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.081) 0:00:17.639 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003865", "end": "2023-12-02 14:03:24.546609", "rc": 0, "start": "2023-12-02 14:03:24.542744" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.161) 0:00:17.801 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.040) 0:00:17.842 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.055) 0:00:17.897 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.076) 0:00:17.973 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.120) 0:00:18.093 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:24 +0000 (0:00:00.083) 0:00:18.177 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.049) 0:00:18.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.036) 0:00:18.264 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.037) 0:00:18.302 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:25 +0000 (0:00:00.824) 0:00:19.126 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.698) 0:00:19.825 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.032) 0:00:19.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.075) 0:00:19.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.031) 0:00:19.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.066) 0:00:20.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.045) 0:00:20.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.051) 0:00:20.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:26 +0000 (0:00:00.066) 0:00:20.194 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.047) 0:00:20.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.043) 0:00:20.284 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.284) 0:00:20.568 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp5e84smng" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.282) 0:00:20.851 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.284) 0:00:21.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:27 +0000 (0:00:00.045) 0:00:21.181 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.055) 0:00:21.236 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.068) 0:00:21.305 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.081) 0:00:21.387 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.195) 0:00:21.582 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.090) 0:00:21.673 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.078) 0:00:21.752 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.085) 0:00:21.838 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.127) 0:00:21.965 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.047) 0:00:22.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.050) 0:00:22.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:28 +0000 (0:00:00.036) 0:00:22.099 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:29 +0000 (0:00:00.880) 0:00:22.980 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.751) 0:00:23.732 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.039) 0:00:23.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.028) 0:00:23.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.027) 0:00:23.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.057) 0:00:23.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.034) 0:00:23.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.036) 0:00:23.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.036) 0:00:23.991 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.029) 0:00:24.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:30 +0000 (0:00:00.027) 0:00:24.048 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.279) 0:00:24.328 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpz2l7xgv1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.250) 0:00:24.579 ***** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.548) 0:00:25.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.033) 0:00:25.160 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:31 +0000 (0:00:00.049) 0:00:25.210 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.071) 0:00:25.282 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.030) 0:00:25.312 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.152) 0:00:25.464 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.085) 0:00:25.550 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.081) 0:00:25.632 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525811.7822134, "block_size": 4096, "blocks": 0, "ctime": 1701525811.7812135, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1701525811.7812135, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.175) 0:00:25.808 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.041) 0:00:25.849 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.090) 0:00:25.940 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.043) 0:00:25.983 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525811.5972164, "block_size": 4096, "blocks": 8, "ctime": 1701525807.8712747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427537, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701525807.8712747, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.181) 0:00:26.164 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:32 +0000 (0:00:00.043) 0:00:26.208 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026086", "end": "2023-12-02 14:03:33.137670", "rc": 1, "start": "2023-12-02 14:03:33.111584" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.211) 0:00:26.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.044) 0:00:26.463 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003901", "end": "2023-12-02 14:03:33.382232", "rc": 0, "start": "2023-12-02 14:03:33.378331" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.217) 0:00:26.681 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.044) 0:00:26.725 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003964", "end": "2023-12-02 14:03:33.635034", "rc": 0, "start": "2023-12-02 14:03:33.631070" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.174) 0:00:26.900 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.050) 0:00:26.950 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.039) 0:00:26.989 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.053) 0:00:27.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.033) 0:00:27.076 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.038) 0:00:27.115 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.037) 0:00:27.152 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:33 +0000 (0:00:00.068) 0:00:27.221 ***** ok: [sut] => { "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.055040", "end": "2023-12-02 14:03:34.176193", "rc": 0, "start": "2023-12-02 14:03:34.121153" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:83 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.234) 0:00:27.456 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.079) 0:00:27.535 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.044) 0:00:27.579 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.117) 0:00:27.696 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.148) 0:00:27.845 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:34 +0000 (0:00:00.070) 0:00:27.916 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005234", "end": "2023-12-02 14:03:35.822591", "rc": 0, "start": "2023-12-02 14:03:34.817357" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:35 +0000 (0:00:01.162) 0:00:29.079 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.042) 0:00:29.122 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:35 +0000 (0:00:00.055) 0:00:29.177 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.070) 0:00:29.247 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.079) 0:00:29.327 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.079) 0:00:29.407 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.058) 0:00:29.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.055) 0:00:29.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:36 +0000 (0:00:00.088) 0:00:29.609 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.842) 0:00:30.452 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.690) 0:00:31.142 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:37 +0000 (0:00:00.049) 0:00:31.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.033) 0:00:31.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.036) 0:00:31.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.092) 0:00:31.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.070) 0:00:31.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.065) 0:00:31.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.055) 0:00:31.546 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.087) 0:00:31.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.037) 0:00:31.671 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.283) 0:00:31.955 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp2hrx5dnu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:38 +0000 (0:00:00.265) 0:00:32.221 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.278) 0:00:32.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.041) 0:00:32.541 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.036) 0:00:32.577 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.055) 0:00:32.632 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.045) 0:00:32.677 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.167) 0:00:32.845 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.066) 0:00:32.911 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.075) 0:00:32.986 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:39 +0000 (0:00:00.081) 0:00:33.067 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.173) 0:00:33.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.053) 0:00:33.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.033) 0:00:33.328 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:40 +0000 (0:00:00.889) 0:00:34.217 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.726) 0:00:34.944 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.107) 0:00:35.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.061) 0:00:35.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:41 +0000 (0:00:00.072) 0:00:35.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.139) 0:00:35.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.056) 0:00:35.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.085) 0:00:35.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.074) 0:00:35.542 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.043) 0:00:35.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.061) 0:00:35.647 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.294) 0:00:35.941 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpoue5l53s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:42 +0000 (0:00:00.265) 0:00:36.207 ***** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.625) 0:00:36.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.044) 0:00:36.878 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.054) 0:00:36.932 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.048) 0:00:36.980 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:43 +0000 (0:00:00.067) 0:00:37.048 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.203) 0:00:37.252 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.125) 0:00:37.377 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.147) 0:00:37.525 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.149) 0:00:37.675 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.077) 0:00:37.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.046) 0:00:37.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:44 +0000 (0:00:00.047) 0:00:37.846 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:45 +0000 (0:00:00.833) 0:00:38.680 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.744) 0:00:39.425 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.049) 0:00:39.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.091) 0:00:39.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.054) 0:00:39.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.149) 0:00:39.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.034) 0:00:39.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.035) 0:00:39.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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.046) 0:00:39.886 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.043) 0:00:39.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:46 +0000 (0:00:00.033) 0:00:39.963 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.267) 0:00:40.231 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp1znk9i9a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.246) 0:00:40.477 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.283) 0:00:40.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.031) 0:00:40.793 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.035) 0:00:40.829 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.041) 0:00:40.871 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.043) 0:00:40.914 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.150) 0:00:41.064 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:03:47 +0000 (0:00:00.077) 0:00:41.142 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.107) 0:00:41.250 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701525823.4310317, "block_size": 4096, "blocks": 0, "ctime": 1701525823.4280317, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1701525823.4280317, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.174) 0:00:41.424 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.080) 0:00:41.505 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.072) 0:00:41.578 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.033) 0:00:41.611 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.167) 0:00:41.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.050) 0:00:41.829 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025755", "end": "2023-12-02 14:03:48.779488", "rc": 1, "start": "2023-12-02 14:03:48.753733" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.209) 0:00:42.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.034) 0:00:42.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.036) 0:00:42.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.046) 0:00:42.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:03:48 +0000 (0:00:00.041) 0:00:42.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.035) 0:00:42.232 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.036) 0:00:42.268 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.032) 0:00:42.300 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.079) 0:00:42.380 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.103) 0:00:42.483 ***** ok: [sut] => { "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.056393", "end": "2023-12-02 14:03:49.444268", "rc": 0, "start": "2023-12-02 14:03:49.387875" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:103 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.217) 0:00:42.700 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.052) 0:00:42.753 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.032) 0:00:42.785 ***** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.075) 0:00:42.861 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.052) 0:00:42.913 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.048) 0:00:42.961 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004052", "end": "2023-12-02 14:03:49.864953", "rc": 0, "start": "2023-12-02 14:03:49.860901" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.157) 0:00:43.119 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.036) 0:00:43.155 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:03:49 +0000 (0:00:00.029) 0:00:43.184 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.063) 0:00:43.248 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.089) 0:00:43.338 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.054) 0:00:43.393 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.034) 0:00:43.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.026) 0:00:43.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:50 +0000 (0:00:00.030) 0:00:43.484 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.825) 0:00:44.309 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.715) 0:00:45.025 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.101) 0:00:45.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:51 +0000 (0:00:00.075) 0:00:45.202 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.052) 0:00:45.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.093) 0:00:45.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.038) 0:00:45.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.042) 0:00:45.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.058) 0:00:45.488 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.070) 0:00:45.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.113) 0:00:45.672 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:52 +0000 (0:00:00.314) 0:00:45.986 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmptjowsc3w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.290) 0:00:46.277 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.303) 0:00:46.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.040) 0:00:46.621 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.054) 0:00:46.676 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.057) 0:00:46.733 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.048) 0:00:46.781 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.216) 0:00:46.998 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.036) 0:00:47.034 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.054) 0:00:47.089 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.069) 0:00:47.159 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:53 +0000 (0:00:00.035) 0:00:47.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.029) 0:00:47.223 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.028) 0:00:47.252 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:54 +0000 (0:00:00.858) 0:00:48.110 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.757) 0:00:48.868 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.051) 0:00:48.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.046) 0:00:48.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.056) 0:00:49.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.071) 0:00:49.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.035) 0:00:49.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.035) 0:00:49.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:55 +0000 (0:00:00.036) 0:00:49.202 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.037) 0:00:49.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.036) 0:00:49.276 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.291) 0:00:49.568 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp9a3cqtpu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:03:56 +0000 (0:00:00.274) 0:00:49.843 ***** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.566) 0:00:50.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.038) 0:00:50.447 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.044) 0:00:50.492 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.038) 0:00:50.531 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.082) 0:00:50.613 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.149) 0:00:50.763 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.058) 0:00:50.822 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.072) 0:00:50.895 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.052) 0:00:50.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.032) 0:00:50.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:03:57 +0000 (0:00:00.036) 0:00:51.017 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:03:58 +0000 (0:00:00.889) 0:00:51.906 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.725) 0:00:52.632 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.041) 0:00:52.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.043) 0:00:52.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.040) 0:00:52.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.073) 0:00:52.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.044) 0:00:52.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.037) 0:00:52.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.058) 0:00:52.972 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.057) 0:00:53.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:03:59 +0000 (0:00:00.029) 0:00:53.059 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.272) 0:00:53.332 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpxjreampj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.296) 0:00:53.628 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.302) 0:00:53.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.037) 0:00:53.968 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.085) 0:00:54.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" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.044) 0:00:54.098 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:00 +0000 (0:00:00.043) 0:00:54.141 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.158) 0:00:54.300 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.079) 0:00:54.379 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.067) 0:00:54.446 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.093) 0:00:54.540 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.048) 0:00:54.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.048) 0:00:54.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:01 +0000 (0:00:00.040) 0:00:54.678 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:02 +0000 (0:00:00.861) 0:00:55.539 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.812) 0:00:56.351 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.058) 0:00:56.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-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.046) 0:00:56.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.054) 0:00:56.511 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.092) 0:00:56.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.035) 0:00:56.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.045) 0:00:56.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.056) 0:00:56.742 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.065) 0:00:56.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.052) 0:00:56.860 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:03 +0000 (0:00:00.271) 0:00:57.132 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpi8_50m3g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.324) 0:00:57.456 ***** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.358) 0:00:57.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.042) 0:00:57.858 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.093) 0:00:57.952 ***** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.049) 0:00:58.001 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:04 +0000 (0:00:00.076) 0:00:58.078 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.176) 0:00:58.254 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.082) 0:00:58.337 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.064) 0:00:58.401 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.058) 0:00:58.459 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.192) 0:00:58.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.048) 0:00:58.700 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.028109", "end": "2023-12-02 14:04:05.634944", "rc": 1, "start": "2023-12-02 14:04:05.606835" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.213) 0:00:58.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.040) 0:00:58.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.050) 0:00:59.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.060) 0:00:59.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.045) 0:00:59.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.054) 0:00:59.165 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:04:05 +0000 (0:00:00.049) 0:00:59.214 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.089) 0:00:59.304 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.045) 0:00:59.349 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.065) 0:00:59.414 ***** ok: [sut] => { "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.054710", "end": "2023-12-02 14:04:06.369224", "rc": 0, "start": "2023-12-02 14:04:06.314514" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tests_states.yml:126 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.217) 0:00:59.632 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.062) 0:00:59.694 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.043) 0:00:59.738 ***** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.103) 0:00:59.841 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.073) 0:00:59.915 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.076) 0:00:59.992 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004093", "end": "2023-12-02 14:04:06.896894", "rc": 0, "start": "2023-12-02 14:04:06.892801" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.165) 0:01:00.157 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.030) 0:01:00.188 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:04:06 +0000 (0:00:00.030) 0:01:00.219 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.107) 0:01:00.327 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.091) 0:01:00.418 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.103) 0:01:00.521 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.062) 0:01:00.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.045) 0:01:00.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:07 +0000 (0:00:00.053) 0:01:00.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:08 +0000 (0:00:00.873) 0:01:01.556 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.698) 0:01:02.254 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.084) 0:01:02.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.035) 0:01:02.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.037) 0:01:02.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.080) 0:01:02.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.040) 0:01:02.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.043) 0:01:02.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.043) 0:01:02.620 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.042) 0:01:02.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.041) 0:01:02.704 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:09 +0000 (0:00:00.277) 0:01:02.982 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp5wpp29up" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.252) 0:01:03.235 ***** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.263) 0:01:03.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.043) 0:01:03.541 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.055) 0:01:03.597 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.058) 0:01:03.655 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.034) 0:01:03.689 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.204) 0:01:03.894 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.040) 0:01:03.934 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.082) 0:01:04.017 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.106) 0:01:04.124 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.041) 0:01:04.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:10 +0000 (0:00:00.033) 0:01:04.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.060) 0:01:04.259 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:11 +0000 (0:00:00.860) 0:01:05.119 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.738) 0:01:05.858 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.038) 0:01:05.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.094) 0:01:05.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.057) 0:01:06.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.082) 0:01:06.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:12 +0000 (0:00:00.055) 0:01:06.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.042) 0:01:06.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.044) 0:01:06.274 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.045) 0:01:06.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.042) 0:01:06.361 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.344) 0:01:06.706 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp8dmsgtdp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:13 +0000 (0:00:00.276) 0:01:06.983 ***** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.532) 0:01:07.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.038) 0:01:07.554 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.042) 0:01:07.597 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.037) 0:01:07.634 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.042) 0:01:07.677 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.151) 0:01:07.828 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.072) 0:01:07.901 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.058) 0:01:07.959 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.041) 0:01:08.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.036) 0:01:08.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:14 +0000 (0:00:00.040) 0:01:08.078 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:15 +0000 (0:00:00.831) 0:01:08.909 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.725) 0:01:09.634 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.043) 0:01:09.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.035) 0:01:09.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.029) 0:01:09.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.075) 0:01:09.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.030) 0:01:09.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.039) 0:01:09.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.052) 0:01:09.941 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.046) 0:01:09.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:16 +0000 (0:00:00.058) 0:01:10.046 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.326) 0:01:10.372 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmpz5x5_jsz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.270) 0:01:10.643 ***** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.281) 0:01:10.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.030) 0:01:10.954 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.035) 0:01:10.990 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.038) 0:01:11.028 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:17 +0000 (0:00:00.076) 0:01:11.105 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.148) 0:01:11.253 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.067) 0:01:11.320 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.052) 0:01:11.373 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.056) 0:01:11.430 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.033) 0:01:11.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.028) 0:01:11.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:04:18 +0000 (0:00:00.028) 0:01:11.521 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.821) 0:01:12.342 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.735) 0:01:13.078 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.045) 0:01:13.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.034) 0:01:13.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:04:19 +0000 (0:00:00.035) 0:01:13.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.067) 0:01:13.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.033) 0:01:13.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.039) 0:01:13.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.041) 0:01:13.374 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.039) 0:01:13.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.044) 0:01:13.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.272) 0:01:13.730 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-168899929yg8s/tmp4ipddc0g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:04:20 +0000 (0:00:00.244) 0:01:13.975 ***** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.335) 0:01:14.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.083) 0:01:14.393 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.047) 0:01:14.440 ***** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.037) 0:01:14.478 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.039) 0:01:14.518 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.155) 0:01:14.673 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.092) 0:01:14.766 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.067) 0:01:14.834 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.059) 0:01:14.893 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.173) 0:01:15.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:04:21 +0000 (0:00:00.060) 0:01:15.127 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026593", "end": "2023-12-02 14:04:22.060084", "rc": 1, "start": "2023-12-02 14:04:22.033491" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.185) 0:01:15.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.043) 0:01:15.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.044) 0:01:15.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.045) 0:01:15.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.072) 0:01:15.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.090) 0:01:15.609 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 December 2023 14:04:22 +0000 (0:00:00.050) 0:01:15.659 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.413099", "end": "2023-12-02 14:04:23.011046", "rc": 0, "start": "2023-12-02 14:04:22.597947" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.617) 0:01:16.277 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.034) 0:01:16.311 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.037) 0:01:16.349 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.040) 0:01:16.389 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.036) 0:01:16.425 ***** included: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.082) 0:01:16.508 ***** ok: [sut] => { "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.054742", "end": "2023-12-02 14:04:23.465168", "rc": 0, "start": "2023-12-02 14:04:23.410426" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Saturday 02 December 2023 14:04:23 +0000 (0:00:00.194) 0:01:16.702 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.27s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.65s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.57s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.33s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.21s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-weekly-ciab1pm_le/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.07s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Re-test connectivity ----------------------- 1.03s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 1.02s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.97s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.87s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-weekly-ciab1pm_le/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---