# 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-cihbhxqaz9/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_initscripts.yml:4 Saturday 09 December 2023 13:53:29 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_initscripts.yml:8 Saturday 09 December 2023 13:53:29 +0000 (0:00:00.494) 0:00:00.507 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:53:29 +0000 (0:00:00.021) 0:00:00.528 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:19 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.215) 0:00:00.744 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:24 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.189) 0:00:00.934 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:28 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.019) 0:00:00.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/el_repo_setup.yml:53 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.017) 0:00:00.971 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.031) 0:00:01.002 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:53:30 +0000 (0:00:00.183) 0:00:01.186 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.452) 0:00:01.638 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172922", "end": "2023-12-09 13:53:31.394024", "rc": 0, "start": "2023-12-09 13:53:31.221102" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.299) 0:00:01.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.011) 0:00:01.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/tests_states_initscripts.yml:10 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.010) 0:00:01.961 ***** 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-cihbhxqaz9/tests/playbooks/tests_states.yml:3 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.010) 0:00:01.972 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:11 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.358) 0:00:02.330 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:22 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.011) 0:00:02.342 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.019) 0:00:02.361 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.014) 0:00:02.376 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.035) 0:00:02.412 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.014) 0:00:02.427 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:31 +0000 (0:00:00.014) 0:00:02.441 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003117", "end": "2023-12-09 13:53:32.021387", "rc": 0, "start": "2023-12-09 13:53:32.018270" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.121) 0:00:02.563 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.012) 0:00:02.575 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.011) 0:00:02.587 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.021) 0:00:02.608 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010403", "end": "2023-12-09 13:53:32.195523", "rc": 1, "start": "2023-12-09 13:53:32.185120" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.128) 0:00:02.737 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.017) 0:00:02.755 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.119) 0:00:02.874 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.013) 0:00:02.888 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.023) 0:00:02.911 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.035) 0:00:02.947 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.071) 0:00:03.019 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.012) 0:00:03.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.010) 0:00:03.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:32 +0000 (0:00:00.010) 0:00:03.053 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:33 +0000 (0:00:00.757) 0:00:03.810 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:34 +0000 (0:00:01.069) 0:00:04.880 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.023) 0:00:04.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.022) 0:00:04.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.023) 0:00:04.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.043) 0:00:04.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.021) 0:00:05.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.022) 0:00:05.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.027) 0:00:05.064 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.023) 0:00:05.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.025) 0:00:05.113 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:34 +0000 (0:00:00.360) 0:00:05.473 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp6co4c3u4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.242) 0:00:05.716 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.360) 0:00:06.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.043) 0:00:06.120 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.028) 0:00:06.148 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.035) 0:00:06.184 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.022) 0:00:06.206 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.177) 0:00:06.384 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.023) 0:00:06.408 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.039) 0:00:06.448 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.038) 0:00:06.487 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:35 +0000 (0:00:00.023) 0:00:06.510 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130015.524064, "block_size": 4096, "blocks": 8, "ctime": 1702130015.524064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130015.524064, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.133) 0:00:06.643 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.025) 0:00:06.669 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022272", "end": "2023-12-09 13:53:36.275003", "rc": 1, "start": "2023-12-09 13:53:36.252731" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.158) 0:00:06.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.024) 0:00:06.851 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003625", "end": "2023-12-09 13:53:36.436788", "rc": 0, "start": "2023-12-09 13:53:36.433163" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.139) 0:00:06.991 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.058) 0:00:07.050 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003130", "end": "2023-12-09 13:53:36.637098", "rc": 0, "start": "2023-12-09 13:53:36.633968" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.141) 0:00:07.192 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.028) 0:00:07.220 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.026) 0:00:07.247 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.024) 0:00:07.271 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.024) 0:00:07.296 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.025) 0:00:07.322 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.024) 0:00:07.346 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:36 +0000 (0:00:00.039) 0:00:07.386 ***** 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.043069", "end": "2023-12-09 13:53:37.008608", "rc": 1, "start": "2023-12-09 13:53:36.965539" } 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-cihbhxqaz9/tests/playbooks/tests_states.yml:45 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.173) 0:00:07.559 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.035) 0:00:07.595 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.022) 0:00:07.617 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.045) 0:00:07.663 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.039) 0:00:07.702 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.061) 0:00:07.763 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003228", "end": "2023-12-09 13:53:37.346068", "rc": 0, "start": "2023-12-09 13:53:37.342840" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.134) 0:00:07.898 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.025) 0:00:07.924 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.022) 0:00:07.946 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.042) 0:00:07.988 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006928", "end": "2023-12-09 13:53:37.574003", "rc": 1, "start": "2023-12-09 13:53:37.567075" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.138) 0:00:08.126 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.037) 0:00:08.164 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.135) 0:00:08.300 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.025) 0:00:08.325 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.060) 0:00:08.385 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.046) 0:00:08.432 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.066) 0:00:08.499 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:37 +0000 (0:00:00.028) 0:00:08.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.022) 0:00:08.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.022) 0:00:08.572 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:38 +0000 (0:00:00.682) 0:00:09.255 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.907) 0:00:10.162 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.031) 0:00:10.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.028) 0:00:10.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.023) 0:00:10.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.075) 0:00:10.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.021) 0:00:10.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.023) 0:00:10.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.025) 0:00:10.392 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.022) 0:00:10.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:39 +0000 (0:00:00.021) 0:00:10.436 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.226) 0:00:10.662 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp6rut7wz1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.222) 0:00:10.885 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.235) 0:00:11.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.023) 0:00:11.144 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.023) 0:00:11.168 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.024) 0:00:11.192 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.021) 0:00:11.213 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.128) 0:00:11.342 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.024) 0:00:11.367 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.074) 0:00:11.441 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:40 +0000 (0:00:00.038) 0:00:11.479 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.144) 0:00:11.624 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.023) 0:00:11.648 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.038) 0:00:11.686 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.029) 0:00:11.715 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130020.5540717, "block_size": 4096, "blocks": 8, "ctime": 1702130020.5540717, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25430, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130020.5540717, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.136) 0:00:11.852 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.027) 0:00:11.880 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019523", "end": "2023-12-09 13:53:41.478991", "rc": 1, "start": "2023-12-09 13:53:41.459468" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.153) 0:00:12.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.050) 0:00:12.083 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003137", "end": "2023-12-09 13:53:41.675129", "rc": 0, "start": "2023-12-09 13:53:41.671992" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.144) 0:00:12.228 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.027) 0:00:12.255 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003170", "end": "2023-12-09 13:53:41.838858", "rc": 0, "start": "2023-12-09 13:53:41.835688" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.136) 0:00:12.391 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.026) 0:00:12.418 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.049) 0:00:12.467 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.025) 0:00:12.492 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:41 +0000 (0:00:00.023) 0:00:12.516 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.020) 0:00:12.536 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.022) 0:00:12.559 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.041) 0:00:12.600 ***** 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.039128", "end": "2023-12-09 13:53:42.218032", "rc": 1, "start": "2023-12-09 13:53:42.178904" } 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-cihbhxqaz9/tests/playbooks/tests_states.yml:65 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.169) 0:00:12.769 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.038) 0:00:12.808 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.023) 0:00:12.832 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.046) 0:00:12.879 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.034) 0:00:12.913 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.034) 0:00:12.948 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2023-12-09 13:53:42.529790", "rc": 0, "start": "2023-12-09 13:53:42.526657" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.133) 0:00:13.081 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.052) 0:00:13.133 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.022) 0:00:13.156 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.037) 0:00:13.193 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.035) 0:00:13.228 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.038) 0:00:13.267 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.026) 0:00:13.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.021) 0:00:13.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:42 +0000 (0:00:00.022) 0:00:13.337 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:43 +0000 (0:00:00.676) 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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.906) 0:00:14.920 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.023) 0:00:14.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.023) 0:00:14.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.024) 0:00:14.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.045) 0:00:15.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.025) 0:00:15.062 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.023) 0:00:15.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.025) 0:00:15.111 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.022) 0:00:15.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.021) 0:00:15.155 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:44 +0000 (0:00:00.223) 0:00:15.379 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpx8__bt1t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.217) 0:00:15.597 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.270) 0:00:15.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.063) 0:00:15.931 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.025) 0:00:15.956 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.026) 0:00:15.982 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.032) 0:00:16.015 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.132) 0:00:16.148 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.027) 0:00:16.175 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.041) 0:00:16.216 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.043) 0:00:16.259 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.047) 0:00:16.307 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.050) 0:00:16.358 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.024) 0:00:16.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:45 +0000 (0:00:00.026) 0:00:16.408 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:46 +0000 (0:00:00.687) 0:00:17.096 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.904) 0:00:18.000 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.046) 0:00:18.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.023) 0:00:18.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.027) 0:00:18.187 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.022) 0:00:18.232 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:47 +0000 (0:00:00.247) 0:00:18.480 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp0z5e1kxe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.214) 0:00:18.695 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.467) 0:00:19.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.060) 0:00:19.223 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.050) 0:00:19.273 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.027) 0:00:19.300 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.046) 0:00:19.346 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.132) 0:00:19.479 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:53:48 +0000 (0:00:00.044) 0:00:19.523 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.037) 0:00:19.560 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130028.539084, "block_size": 4096, "blocks": 0, "ctime": 1702130028.538084, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1702130028.538084, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.144) 0:00:19.705 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.027) 0:00:19.733 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.072) 0:00:19.805 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.026) 0:00:19.832 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130028.3630838, "block_size": 4096, "blocks": 8, "ctime": 1702130025.311079, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25430, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130025.311079, "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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.140) 0:00:19.972 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.052) 0:00:20.025 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020473", "end": "2023-12-09 13:53:49.624845", "rc": 1, "start": "2023-12-09 13:53:49.604372" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.151) 0:00:20.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.026) 0:00:20.202 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003101", "end": "2023-12-09 13:53:49.785600", "rc": 0, "start": "2023-12-09 13:53:49.782499" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.137) 0:00:20.340 ***** 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-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.028) 0:00:20.369 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003183", "end": "2023-12-09 13:53:49.953286", "rc": 0, "start": "2023-12-09 13:53:49.950103" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:53:49 +0000 (0:00:00.138) 0:00:20.507 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.028) 0:00:20.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.025) 0:00:20.561 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.026) 0:00:20.587 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.022) 0:00:20.609 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.020) 0:00:20.629 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.023) 0:00:20.653 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.074) 0:00:20.727 ***** 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.048876", "end": "2023-12-09 13:53:50.357669", "rc": 0, "start": "2023-12-09 13:53:50.308793" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:83 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.184) 0:00:20.912 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.038) 0:00:20.951 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.041) 0:00:20.992 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.063) 0:00:21.056 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.037) 0:00:21.094 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:53:50 +0000 (0:00:00.035) 0:00:21.130 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004475", "end": "2023-12-09 13:53:51.718563", "rc": 0, "start": "2023-12-09 13:53:50.714088" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:53:51 +0000 (0:00:01.142) 0:00:22.273 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.024) 0:00:22.297 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.021) 0:00:22.319 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.067) 0:00:22.387 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.036) 0:00:22.423 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.039) 0:00:22.463 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.027) 0:00:22.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:51 +0000 (0:00:00.021) 0:00:22.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:52 +0000 (0:00:00.021) 0:00:22.534 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:52 +0000 (0:00:00.688) 0:00:23.222 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.969) 0:00:24.191 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.042) 0:00:24.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.024) 0:00:24.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.022) 0:00:24.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.046) 0:00:24.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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.023) 0:00:24.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.024) 0:00:24.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.026) 0:00:24.400 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.022) 0:00:24.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:53 +0000 (0:00:00.022) 0:00:24.445 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.236) 0:00:24.682 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp6z1qhfzu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.226) 0:00:24.909 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.254) 0:00:25.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.022) 0:00:25.186 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.023) 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": [ { "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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.023) 0:00:25.233 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.051) 0:00:25.285 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.129) 0:00:25.415 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.023) 0:00:25.438 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.038) 0:00:25.476 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:54 +0000 (0:00:00.042) 0:00:25.519 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:55 +0000 (0:00:00.027) 0:00:25.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:55 +0000 (0:00:00.021) 0:00:25.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:55 +0000 (0:00:00.021) 0:00:25.589 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:55 +0000 (0:00:00.678) 0:00:26.268 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.990) 0:00:27.258 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.032) 0:00:27.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.037) 0:00:27.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.026) 0:00:27.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.058) 0:00:27.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.037) 0:00:27.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.024) 0:00:27.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.027) 0:00:27.502 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:53:56 +0000 (0:00:00.024) 0:00:27.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.024) 0:00:27.551 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.231) 0:00:27.783 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpbp1rt6ae" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.224) 0:00:28.008 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:53:57 +0000 (0:00:00.467) 0:00:28.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.056) 0:00:28.532 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.027) 0:00:28.560 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.024) 0:00:28.585 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.022) 0:00:28.607 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.162) 0:00:28.769 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.041) 0:00:28.811 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.041) 0:00:28.852 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.040) 0:00:28.892 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.026) 0:00:28.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.023) 0:00:28.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:53:58 +0000 (0:00:00.022) 0:00:28.965 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:53:59 +0000 (0:00:00.706) 0:00:29.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.904) 0:00:30.576 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.023) 0:00:30.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.022) 0:00:30.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.021) 0:00:30.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.045) 0:00:30.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.022) 0:00:30.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.026) 0:00:30.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.026) 0:00:30.765 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.020) 0:00:30.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.021) 0:00:30.807 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.259) 0:00:31.066 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpn0zd1__r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.221) 0:00:31.288 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:00 +0000 (0:00:00.237) 0:00:31.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.029) 0:00:31.556 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.027) 0:00:31.583 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.026) 0:00:31.610 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.022) 0:00:31.633 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.145) 0:00:31.778 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.046) 0:00:31.825 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.037) 0:00:31.863 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130037.8510983, "block_size": 4096, "blocks": 0, "ctime": 1702130037.8500984, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1702130037.8500984, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.138) 0:00:32.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.026) 0:00:32.028 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.040) 0:00:32.069 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.075) 0:00:32.144 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.169) 0:00:32.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:01 +0000 (0:00:00.031) 0:00:32.345 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021752", "end": "2023-12-09 13:54:01.957458", "rc": 1, "start": "2023-12-09 13:54:01.935706" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.186) 0:00:32.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.029) 0:00:32.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.033) 0:00:32.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.041) 0:00:32.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.023) 0:00:32.659 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.028) 0:00:32.688 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.025) 0:00:32.713 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.027) 0:00:32.740 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.025) 0:00:32.766 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.040) 0:00:32.806 ***** 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.048769", "end": "2023-12-09 13:54:02.437728", "rc": 0, "start": "2023-12-09 13:54:02.388959" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:103 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.185) 0:00:32.992 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.037) 0:00:33.029 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.054) 0:00:33.084 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.048) 0:00:33.132 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.034) 0:00:33.167 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.033) 0:00:33.201 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2023-12-09 13:54:02.791029", "rc": 0, "start": "2023-12-09 13:54:02.787550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.143) 0:00:33.345 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.024) 0:00:33.369 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.023) 0:00:33.392 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.046) 0:00:33.438 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.037) 0:00:33.476 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:02 +0000 (0:00:00.043) 0:00:33.520 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.027) 0:00:33.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.022) 0:00:33.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.021) 0:00:33.591 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:03 +0000 (0:00:00.720) 0:00:34.312 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.938) 0:00:35.251 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.032) 0:00:35.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.023) 0:00:35.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.031) 0:00:35.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.058) 0:00:35.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.033) 0:00:35.431 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.029) 0:00:35.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:04 +0000 (0:00:00.050) 0:00:35.511 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.067) 0:00:35.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.021) 0:00:35.599 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.228) 0:00:35.828 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp340sqbbt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.301) 0:00:36.130 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.224) 0:00:36.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.022) 0:00:36.376 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.024) 0:00:36.400 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.023) 0:00:36.424 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:05 +0000 (0:00:00.022) 0:00:36.447 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.127) 0:00:36.575 ***** 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-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.023) 0:00:36.598 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.035) 0:00:36.634 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.039) 0:00:36.674 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.027) 0:00:36.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.053) 0:00:36.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.023) 0:00:36.778 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:06 +0000 (0:00:00.679) 0:00:37.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.903) 0:00:38.361 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.033) 0:00:38.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.039) 0:00:38.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:07 +0000 (0:00:00.022) 0:00:38.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.079) 0:00:38.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.022) 0:00:38.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.061) 0:00:38.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.064) 0:00:38.684 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.033) 0:00:38.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.032) 0:00:38.750 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.229) 0:00:38.980 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpkp60s0gd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:08 +0000 (0:00:00.221) 0:00:39.202 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.485) 0:00:39.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.032) 0:00:39.719 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.045) 0:00:39.765 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.025) 0:00:39.790 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.030) 0:00:39.821 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.136) 0:00:39.957 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.041) 0:00:39.999 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.077) 0:00:40.076 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.029) 0:00:40.106 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.022) 0:00:40.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:09 +0000 (0:00:00.023) 0:00:40.152 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:10 +0000 (0:00:00.679) 0:00:40.831 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.911) 0:00:41.742 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.023) 0:00:41.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.022) 0:00:41.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.054) 0:00:41.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.044) 0:00:41.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.022) 0:00:41.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.021) 0:00:41.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.027) 0:00:41.957 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.021) 0:00:41.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.021) 0:00:42.000 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.226) 0:00:42.226 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmptffyfxvm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:11 +0000 (0:00:00.236) 0:00:42.463 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.229) 0:00:42.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.025) 0:00:42.718 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.027) 0:00:42.745 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.023) 0:00:42.769 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.021) 0:00:42.791 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.128) 0:00:42.919 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.064) 0:00:42.984 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.040) 0:00:43.024 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.041) 0:00:43.066 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.026) 0:00:43.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.021) 0:00:43.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:12 +0000 (0:00:00.020) 0:00:43.135 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:13 +0000 (0:00:00.680) 0:00:43.816 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.927) 0:00:44.743 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.023) 0:00:44.767 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:44.789 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.023) 0:00:44.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.048) 0:00:44.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.021) 0:00:44.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:44.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.026) 0:00:44.931 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.022) 0:00:44.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.023) 0:00:44.977 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.225) 0:00:45.203 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpqdw24qfz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:14 +0000 (0:00:00.213) 0:00:45.417 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.222) 0:00:45.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.027) 0:00:45.666 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.033) 0:00:45.699 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.023) 0:00:45.723 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.059) 0:00:45.783 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.130) 0:00:45.913 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.041) 0:00:45.954 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.037) 0:00:45.992 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.023) 0:00:46.015 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.133) 0:00:46.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.023) 0:00:46.172 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019736", "end": "2023-12-09 13:54:15.773282", "rc": 1, "start": "2023-12-09 13:54:15.753546" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.152) 0:00:46.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.025) 0:00:46.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.023) 0:00:46.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.022) 0:00:46.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.022) 0:00:46.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.022) 0:00:46.440 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.025) 0:00:46.466 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:15 +0000 (0:00:00.025) 0:00:46.492 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.053) 0:00:46.546 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.040) 0:00:46.587 ***** 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.048743", "end": "2023-12-09 13:54:16.216686", "rc": 0, "start": "2023-12-09 13:54:16.167943" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tests_states.yml:126 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.183) 0:00:46.770 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.038) 0:00:46.809 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.023) 0:00:46.832 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.048) 0:00:46.880 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.035) 0:00:46.916 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.034) 0:00:46.951 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2023-12-09 13:54:16.532825", "rc": 0, "start": "2023-12-09 13:54:16.529549" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.135) 0:00:47.086 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.023) 0:00:47.109 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.022) 0:00:47.132 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.044) 0:00:47.177 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.071) 0:00:47.248 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.044) 0:00:47.292 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.027) 0:00:47.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.024) 0:00:47.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:16 +0000 (0:00:00.023) 0:00:47.368 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:17 +0000 (0:00:00.682) 0:00:48.050 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.919) 0:00:48.969 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.047) 0:00:49.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.023) 0:00:49.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.021) 0:00:49.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.045) 0:00:49.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.022) 0:00:49.131 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.027) 0:00:49.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.034) 0:00:49.192 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.022) 0:00:49.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.024) 0:00:49.240 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:18 +0000 (0:00:00.233) 0:00:49.473 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpxa_q8oc4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.218) 0:00:49.692 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.229) 0:00:49.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.023) 0:00:49.944 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.023) 0:00:49.968 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.024) 0:00:49.992 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.020) 0:00:50.013 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.140) 0:00:50.153 ***** 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-cihbhxqaz9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.023) 0:00:50.176 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.035) 0:00:50.211 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.041) 0:00:50.253 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.027) 0:00:50.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.022) 0:00:50.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:19 +0000 (0:00:00.025) 0:00:50.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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:20 +0000 (0:00:00.690) 0:00:51.019 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.945) 0:00:51.964 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.024) 0:00:51.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.023) 0:00:52.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.022) 0:00:52.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.044) 0:00:52.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.024) 0:00:52.106 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.023) 0:00:52.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.025) 0:00:52.155 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.022) 0:00:52.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.021) 0:00:52.198 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:21 +0000 (0:00:00.229) 0:00:52.428 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmp_hlu0mqb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.224) 0:00:52.652 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.467) 0:00:53.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.049) 0:00:53.170 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.023) 0:00:53.194 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.025) 0:00:53.219 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.022) 0:00:53.241 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.128) 0:00:53.370 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.041) 0:00:53.411 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.041) 0:00:53.453 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.030) 0:00:53.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:22 +0000 (0:00:00.023) 0:00:53.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.047) 0:00:53.555 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:23 +0000 (0:00:00.721) 0:00:54.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.938) 0:00:55.215 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.023) 0:00:55.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:55.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:55.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.044) 0:00:55.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.023) 0:00:55.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.022) 0:00:55.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.024) 0:00:55.399 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.021) 0:00:55.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:24 +0000 (0:00:00.021) 0:00:55.442 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.228) 0:00:55.670 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpuwaku_a3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.215) 0:00:55.886 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.270) 0:00:56.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.022) 0:00:56.178 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.022) 0:00:56.201 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.023) 0:00:56.225 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.021) 0:00:56.247 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.130) 0:00:56.377 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.040) 0:00:56.418 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.037) 0:00:56.456 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.042) 0:00:56.498 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:54:25 +0000 (0:00:00.026) 0:00:56.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.022) 0:00:56.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.021) 0:00:56.569 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:54:26 +0000 (0:00:00.674) 0:00:57.244 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.909) 0:00:58.153 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.024) 0:00:58.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.023) 0:00:58.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.023) 0:00:58.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.046) 0:00:58.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.022) 0:00:58.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.023) 0:00:58.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.025) 0:00:58.344 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.023) 0:00:58.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:54:27 +0000 (0:00:00.024) 0:00:58.392 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.263) 0:00:58.655 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16851yhw9lr3n/tmpnxykx29b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.217) 0:00:58.873 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.227) 0:00:59.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.021) 0:00:59.122 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.024) 0:00:59.146 ***** 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-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.025) 0:00:59.171 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.021) 0:00:59.193 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.130) 0:00:59.323 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.046) 0:00:59.369 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.037) 0:00:59.407 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:54:28 +0000 (0:00:00.022) 0:00:59.429 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.130) 0:00:59.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.050) 0:00:59.611 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020173", "end": "2023-12-09 13:54:29.214031", "rc": 1, "start": "2023-12-09 13:54:29.193858" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.156) 0:00:59.767 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.023) 0:00:59.791 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.024) 0:00:59.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.022) 0:00:59.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.024) 0:00:59.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.022) 0:00:59.885 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 09 December 2023 13:54:29 +0000 (0:00:00.026) 0:00:59.912 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.665447", "end": "2023-12-09 13:54:30.157801", "rc": 0, "start": "2023-12-09 13:54:29.492354" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.799) 0:01:00.712 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.022) 0:01:00.734 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.023) 0:01:00.758 ***** 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-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.026) 0:01:00.784 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.024) 0:01:00.808 ***** included: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:54:30 +0000 (0:00:00.041) 0:01:00.850 ***** 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.044589", "end": "2023-12-09 13:54:30.476683", "rc": 0, "start": "2023-12-09 13:54:30.432094" } 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 09 December 2023 13:54:30 +0000 (0:00:00.196) 0:01:01.047 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.89s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.28s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.21s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-weekly-cihbhxqaz9/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.94s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cihbhxqaz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---