# 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-route_typewxzepi6a/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 02:29:26 +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-route_typewxzepi6a/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.507) 0:00:00.520 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.025) 0:00:00.545 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.248) 0:00:00.794 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.194) 0:00:00.988 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.021) 0:00:01.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.018) 0:00:01.028 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:29:27 +0000 (0:00:00.030) 0:00:01.058 ******* 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-route_typewxzepi6a/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:29:32 +0000 (0:00:05.215) 0:00:06.274 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.471) 0:00:06.746 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182315", "end": "2024-01-09 02:29:33.559885", "rc": 0, "start": "2024-01-09 02:29:33.377570" } 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-route_typewxzepi6a/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.315) 0:00:07.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.013) 0:00:07.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.009) 0:00:07.085 ******* 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-route_typewxzepi6a/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.019) 0:00:07.104 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:29:33 +0000 (0:00:00.372) 0:00:07.477 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.028) 0:00:07.505 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.025) 0:00:07.531 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.023) 0:00:07.554 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.037) 0:00:07.592 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.014) 0:00:07.606 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.013) 0:00:07.620 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2024-01-09 02:29:34.252050", "rc": 0, "start": "2024-01-09 02:29:34.248490" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.125) 0:00:07.746 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.011) 0:00:07.757 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.010) 0:00:07.768 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.020) 0:00:07.788 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011178", "end": "2024-01-09 02:29:34.429119", "rc": 1, "start": "2024-01-09 02:29:34.417941" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.133) 0:00:07.922 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.014) 0:00:07.937 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.125) 0:00:08.062 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.013) 0:00:08.075 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.018) 0:00:08.093 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.032) 0:00:08.126 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.068) 0:00:08.194 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.016) 0:00:08.211 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.018) 0:00:08.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.020) 0:00:08.250 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:35 +0000 (0:00:00.817) 0:00:09.067 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:36 +0000 (0:00:01.094) 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.023) 0:00:10.186 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.021) 0:00:10.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.020) 0:00:10.228 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: dl.fedoraproject.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:43 +0000 (0:00:06.492) 0:00:16.721 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.037) 0:00:16.758 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.022) 0:00:16.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.025) 0:00:16.806 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.022) 0:00:16.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.021) 0:00:16.850 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.359) 0:00:17.209 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmplmempgk8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.222) 0:00:17.431 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.340) 0:00:17.772 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.026) 0:00:17.798 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.022) 0:00:17.820 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.023) 0:00:17.844 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.020) 0:00:17.864 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.201) 0:00:18.066 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.027) 0:00:18.094 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.064) 0:00:18.158 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.038) 0:00:18.196 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.021) 0:00:18.217 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767384.2649791, "block_size": 4096, "blocks": 8, "ctime": 1704767384.2649791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25347, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767384.2649791, "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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.136) 0:00:18.354 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.028) 0:00:18.383 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024033", "end": "2024-01-09 02:29:45.042844", "rc": 1, "start": "2024-01-09 02:29:45.018811" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.168) 0:00:18.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.023) 0:00:18.574 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003521", "end": "2024-01-09 02:29:45.211074", "rc": 0, "start": "2024-01-09 02:29:45.207553" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.167) 0:00:18.742 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.048) 0:00:18.791 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003534", "end": "2024-01-09 02:29:45.484120", "rc": 0, "start": "2024-01-09 02:29:45.480586" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.201) 0:00:18.992 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.031) 0:00:19.024 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.048) 0:00:19.072 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.024) 0:00:19.097 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.022) 0:00:19.120 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.025) 0:00:19.145 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.043) 0:00:19.188 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.064) 0:00:19.252 ******* 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.046447", "end": "2024-01-09 02:29:45.930279", "rc": 1, "start": "2024-01-09 02:29:45.883832" } 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-route_typewxzepi6a/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.185) 0:00:19.438 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.037) 0:00:19.475 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.023) 0:00:19.499 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.052) 0:00:19.551 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.052) 0:00:19.604 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.039) 0:00:19.643 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003597", "end": "2024-01-09 02:29:46.292924", "rc": 0, "start": "2024-01-09 02:29:46.289327" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.154) 0:00:19.798 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.023) 0:00:19.821 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.022) 0:00:19.844 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.039) 0:00:19.883 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007510", "end": "2024-01-09 02:29:46.519937", "rc": 1, "start": "2024-01-09 02:29:46.512427" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.167) 0:00:20.050 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.041) 0:00:20.092 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.141) 0:00:20.233 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.023) 0:00:20.257 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.040) 0:00:20.298 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.041) 0:00:20.339 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.053) 0:00:20.393 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.029) 0:00:20.422 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.025) 0:00:20.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.022) 0:00:20.470 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.743) 0:00:21.214 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.932) 0:00:22.147 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.025) 0:00:22.172 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.025) 0:00:22.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.022) 0:00:22.221 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.044) 0:00:22.266 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.023) 0:00:22.289 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.020) 0:00:22.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.027) 0:00:22.337 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.020) 0:00:22.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.021) 0:00:22.380 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.258) 0:00:22.638 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpyrjbe4fi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.224) 0:00:22.863 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.234) 0:00:23.097 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.023) 0:00:23.121 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.025) 0:00:23.146 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.026) 0:00:23.173 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.021) 0:00:23.195 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.132) 0:00:23.328 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.023) 0:00:23.351 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.043) 0:00:23.395 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.037) 0:00:23.433 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.138) 0:00:23.571 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.022) 0:00:23.594 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.059) 0:00:23.653 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.022) 0:00:23.675 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767389.5909917, "block_size": 4096, "blocks": 8, "ctime": 1704767389.5909917, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25346, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767389.5909917, "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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.137) 0:00:23.813 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.022) 0:00:23.836 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020511", "end": "2024-01-09 02:29:50.487969", "rc": 1, "start": "2024-01-09 02:29:50.467458" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.159) 0:00:23.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.024) 0:00:24.020 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003586", "end": "2024-01-09 02:29:50.658905", "rc": 0, "start": "2024-01-09 02:29:50.655319" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.190) 0:00:24.210 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.036) 0:00:24.247 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003521", "end": "2024-01-09 02:29:50.893644", "rc": 0, "start": "2024-01-09 02:29:50.890123" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.152) 0:00:24.399 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.026) 0:00:24.425 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.023) 0:00:24.448 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.024) 0:00:24.473 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.021) 0:00:24.495 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.019) 0:00:24.514 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.021) 0:00:24.536 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.065) 0:00:24.601 ******* 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.042798", "end": "2024-01-09 02:29:51.275353", "rc": 1, "start": "2024-01-09 02:29:51.232555" } 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-route_typewxzepi6a/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.180) 0:00:24.782 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.035) 0:00:24.818 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.022) 0:00:24.841 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.046) 0:00:24.887 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.035) 0:00:24.923 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.034) 0:00:24.958 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-01-09 02:29:51.595999", "rc": 0, "start": "2024-01-09 02:29:51.592529" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.153) 0:00:25.111 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.027) 0:00:25.138 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.023) 0:00:25.161 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.038) 0:00:25.199 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.035) 0:00:25.235 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.071) 0:00:25.306 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.032) 0:00:25.339 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.023) 0:00:25.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.026) 0:00:25.389 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.732) 0:00:26.122 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.937) 0:00:27.059 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.026) 0:00:27.086 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.023) 0:00:27.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.022) 0:00:27.131 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.068) 0:00:27.199 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.023) 0:00:27.223 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.021) 0:00:27.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.025) 0:00:27.269 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.021) 0:00:27.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.021) 0:00:27.313 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.233) 0:00:27.547 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpaiklyk11" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.226) 0:00:27.774 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.237) 0:00:28.011 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.022) 0:00:28.034 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.023) 0:00:28.057 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.023) 0:00:28.080 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.022) 0:00:28.102 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.135) 0:00:28.238 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.023) 0:00:28.262 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.062) 0:00:28.325 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.039) 0:00:28.364 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.038) 0:00:28.403 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.026) 0:00:28.429 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.021) 0:00:28.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.021) 0:00:28.471 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:55 +0000 (0:00:00.711) 0:00:29.182 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.955) 0:00:30.138 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.023) 0:00:30.162 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.023) 0:00:30.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.024) 0:00:30.209 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.047) 0:00:30.257 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.022) 0:00:30.279 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.021) 0:00:30.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.025) 0:00:30.326 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.023) 0:00:30.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.020) 0:00:30.371 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.231) 0:00:30.602 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpc6d3f0om" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.229) 0:00:30.831 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.483) 0:00:31.314 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.045) 0:00:31.360 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.022) 0:00:31.383 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.022) 0:00:31.405 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.020) 0:00:31.426 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.132) 0:00:31.558 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.044) 0:00:31.602 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.035) 0:00:31.638 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767397.7360113, "block_size": 4096, "blocks": 0, "ctime": 1704767397.7350113, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1704767397.7350113, "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-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.138) 0:00:31.776 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.023) 0:00:31.800 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.037) 0:00:31.837 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.022) 0:00:31.860 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767397.5590107, "block_size": 4096, "blocks": 8, "ctime": 1704767394.5050035, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25346, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767394.5050035, "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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.158) 0:00:32.018 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.046) 0:00:32.064 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022063", "end": "2024-01-09 02:29:58.720667", "rc": 1, "start": "2024-01-09 02:29:58.698604" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.160) 0:00:32.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.052) 0:00:32.277 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003549", "end": "2024-01-09 02:29:58.914247", "rc": 0, "start": "2024-01-09 02:29:58.910698" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.144) 0:00:32.421 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.028) 0:00:32.450 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003584", "end": "2024-01-09 02:29:59.090252", "rc": 0, "start": "2024-01-09 02:29:59.086668" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.145) 0:00:32.596 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.030) 0:00:32.626 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.025) 0:00:32.652 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.028) 0:00:32.680 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.024) 0:00:32.704 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.021) 0:00:32.726 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.026) 0:00:32.752 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.041) 0:00:32.794 ******* 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.049250", "end": "2024-01-09 02:29:59.476599", "rc": 0, "start": "2024-01-09 02:29:59.427349" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.193) 0:00:32.987 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.035) 0:00:33.023 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.022) 0:00:33.046 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.077) 0:00:33.124 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.035) 0:00:33.159 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.032) 0:00:33.191 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003603", "end": "2024-01-09 02:29:59.826730", "rc": 0, "start": "2024-01-09 02:29:59.823127" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.140) 0:00:33.332 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.023) 0:00:33.355 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.023) 0:00:33.378 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.041) 0:00:33.420 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.038) 0:00:33.458 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.048) 0:00:33.507 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.026) 0:00:33.534 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.023) 0:00:33.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.021) 0:00:33.579 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.726) 0:00:34.306 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.936) 0:00:35.242 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.022) 0:00:35.265 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.022) 0:00:35.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.022) 0:00:35.310 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.046) 0:00:35.357 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.023) 0:00:35.380 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.035) 0:00:35.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.033) 0:00:35.449 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.022) 0:00:35.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.050) 0:00:35.522 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.248) 0:00:35.770 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpz9y2lrf0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.240) 0:00:36.011 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.243) 0:00:36.254 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.024) 0:00:36.279 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.024) 0:00:36.304 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.026) 0:00:36.331 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.022) 0:00:36.353 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.132) 0:00:36.486 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.023) 0:00:36.509 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.034) 0:00:36.544 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.038) 0:00:36.583 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.027) 0:00:36.611 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.022) 0:00:36.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.053) 0:00:36.687 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.742) 0:00:37.429 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.936) 0:00:38.365 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.023) 0:00:38.388 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.022) 0:00:38.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.023) 0:00:38.435 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.046) 0:00:38.481 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.021) 0:00:38.502 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.046) 0:00:38.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.024) 0:00:38.573 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.021) 0:00:38.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.021) 0:00:38.616 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.235) 0:00:38.851 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpdqea8n8y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.224) 0:00:39.076 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.479) 0:00:39.556 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.022) 0:00:39.578 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.039) 0:00:39.618 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.027) 0:00:39.645 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.025) 0:00:39.670 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.134) 0:00:39.805 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.039) 0:00:39.844 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.066) 0:00:39.911 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.041) 0:00:39.952 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.027) 0:00:39.980 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.021) 0:00:40.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.021) 0:00:40.023 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.738) 0:00:40.761 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.951) 0:00:41.713 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.046) 0:00:41.759 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.023) 0:00:41.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.022) 0:00:41.805 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.045) 0:00:41.850 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.023) 0:00:41.874 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.022) 0:00:41.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.026) 0:00:41.922 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.026) 0:00:41.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.029) 0:00:41.978 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.243) 0:00:42.222 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpaxp7wogh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.233) 0:00:42.455 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.242) 0:00:42.697 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:42.719 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.029) 0:00:42.748 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.023) 0:00:42.771 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.020) 0:00:42.792 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.161) 0:00:42.954 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.043) 0:00:42.997 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.037) 0:00:43.034 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767405.981031, "block_size": 4096, "blocks": 0, "ctime": 1704767405.9790308, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1704767405.9790308, "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-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.141) 0:00:43.176 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.028) 0:00:43.204 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.037) 0:00:43.242 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:43.263 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.139) 0:00:43.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.022) 0:00:43.425 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021722", "end": "2024-01-09 02:30:10.085304", "rc": 1, "start": "2024-01-09 02:30:10.063582" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.164) 0:00:43.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.023) 0:00:43.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.045) 0:00:43.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.030) 0:00:43.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.033) 0:00:43.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.079) 0:00:43.802 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.030) 0:00:43.832 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.020) 0:00:43.853 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.022) 0:00:43.875 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.038) 0:00:43.914 ******* 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.050452", "end": "2024-01-09 02:30:10.597654", "rc": 0, "start": "2024-01-09 02:30:10.547202" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.191) 0:00:44.106 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.045) 0:00:44.151 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.038) 0:00:44.190 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.051) 0:00:44.241 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.034) 0:00:44.276 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.040) 0:00:44.316 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2024-01-09 02:30:10.957585", "rc": 0, "start": "2024-01-09 02:30:10.954069" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.147) 0:00:44.464 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.024) 0:00:44.488 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.073) 0:00:44.561 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.049) 0:00:44.611 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.039) 0:00:44.650 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.043) 0:00:44.694 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.031) 0:00:44.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.022) 0:00:44.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.020) 0:00:44.768 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.713) 0:00:45.481 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.976) 0:00:46.458 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.026) 0:00:46.484 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.022) 0:00:46.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.023) 0:00:46.530 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.068) 0:00:46.599 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.031) 0:00:46.630 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.026) 0:00:46.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.032) 0:00:46.689 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.025) 0:00:46.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.036) 0:00:46.751 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.244) 0:00:46.996 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpj_y4v9lv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.228) 0:00:47.224 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.229) 0:00:47.453 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.055) 0:00:47.509 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.023) 0:00:47.533 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.024) 0:00:47.557 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.026) 0:00:47.584 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.144) 0:00:47.728 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.022) 0:00:47.751 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.034) 0:00:47.785 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.038) 0:00:47.824 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.027) 0:00:47.851 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.021) 0:00:47.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.021) 0:00:47.894 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.735) 0:00:48.630 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.968) 0:00:49.598 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.023) 0:00:49.622 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:49.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:49.664 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.041) 0:00:49.706 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:49.727 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:49.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.026) 0:00:49.774 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.024) 0:00:49.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.022) 0:00:49.821 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.234) 0:00:50.055 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmp_2l6slvf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.246) 0:00:50.302 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.479) 0:00:50.781 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.021) 0:00:50.803 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.023) 0:00:50.827 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.024) 0:00:50.852 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.023) 0:00:50.875 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.139) 0:00:51.015 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.038) 0:00:51.054 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.041) 0:00:51.095 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.028) 0:00:51.124 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.021) 0:00:51.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.023) 0:00:51.169 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:18 +0000 (0:00:00.721) 0:00:51.890 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.924) 0:00:52.815 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.023) 0:00:52.839 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.022) 0:00:52.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.024) 0:00:52.885 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.043) 0:00:52.929 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.023) 0:00:52.953 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.023) 0:00:52.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.024) 0:00:53.001 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.023) 0:00:53.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.021) 0:00:53.046 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.240) 0:00:53.286 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmp4ozkaxsv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.237) 0:00:53.524 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.237) 0:00:53.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:53.784 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.024) 0:00:53.808 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:53.831 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.021) 0:00:53.852 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.151) 0:00:54.004 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.052) 0:00:54.057 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.044) 0:00:54.101 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.041) 0:00:54.142 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.025) 0:00:54.168 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.047) 0:00:54.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.021) 0:00:54.237 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:21 +0000 (0:00:00.713) 0:00:54.951 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.941) 0:00:55.892 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.022) 0:00:55.915 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.026) 0:00:55.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.022) 0:00:55.963 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.045) 0:00:56.008 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.021) 0:00:56.030 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.043) 0:00:56.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.026) 0:00:56.100 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.020) 0:00:56.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.021) 0:00:56.143 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.237) 0:00:56.381 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpyri_0uds" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.221) 0:00:56.603 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.239) 0:00:56.842 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.025) 0:00:56.868 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.022) 0:00:56.890 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.022) 0:00:56.913 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.020) 0:00:56.934 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.131) 0:00:57.065 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.039) 0:00:57.104 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.060) 0:00:57.165 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.022) 0:00:57.187 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.135) 0:00:57.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.021) 0:00:57.344 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022056", "end": "2024-01-09 02:30:23.996580", "rc": 1, "start": "2024-01-09 02:30:23.974524" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.162) 0:00:57.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.022) 0:00:57.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.023) 0:00:57.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.023) 0:00:57.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.023) 0:00:57.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.027) 0:00:57.627 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.025) 0:00:57.653 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.027) 0:00:57.680 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.022) 0:00:57.702 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.039) 0:00:57.742 ******* 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.050852", "end": "2024-01-09 02:30:24.424658", "rc": 0, "start": "2024-01-09 02:30:24.373806" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.187) 0:00:57.930 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.060) 0:00:57.990 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.022) 0:00:58.012 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.046) 0:00:58.059 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.033) 0:00:58.093 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.032) 0:00:58.126 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2024-01-09 02:30:24.759060", "rc": 0, "start": "2024-01-09 02:30:24.755597" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.137) 0:00:58.263 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.022) 0:00:58.286 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.021) 0:00:58.308 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.045) 0:00:58.353 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.034) 0:00:58.388 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.038) 0:00:58.426 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.025) 0:00:58.452 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.022) 0:00:58.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.054) 0:00:58.528 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.717) 0:00:59.245 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.924) 0:01:00.170 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.022) 0:01:00.192 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.020) 0:01:00.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.021) 0:01:00.235 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.042) 0:01:00.278 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.021) 0:01:00.299 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.045) 0:01:00.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.025) 0:01:00.370 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.021) 0:01:00.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.020) 0:01:00.413 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.233) 0:01:00.647 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmp49qwxut_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.238) 0:01:00.885 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.231) 0:01:01.116 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.021) 0:01:01.138 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.022) 0:01:01.161 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.022) 0:01:01.184 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.020) 0:01:01.204 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.134) 0:01:01.338 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.023) 0:01:01.362 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.034) 0:01:01.397 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.072) 0:01:01.470 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.031) 0:01:01.502 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.040) 0:01:01.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.024) 0:01:01.567 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.710) 0:01:02.277 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.934) 0:01:03.211 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.024) 0:01:03.236 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.024) 0:01:03.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.044) 0:01:03.306 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.042) 0:01:03.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:01:03.370 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:01:03.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.025) 0:01:03.417 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:01:03.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:01:03.460 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.231) 0:01:03.692 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmplvivoi16" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.220) 0:01:03.913 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.476) 0:01:04.389 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.024) 0:01:04.413 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.025) 0:01:04.439 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.033) 0:01:04.472 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.023) 0:01:04.495 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.136) 0:01:04.632 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.061) 0:01:04.694 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.039) 0:01:04.733 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.025) 0:01:04.759 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.021) 0:01:04.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:31 +0000 (0:00:00.023) 0:01:04.804 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:32 +0000 (0:00:00.715) 0:01:05.519 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:32 +0000 (0:00:00.945) 0:01:06.464 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.022) 0:01:06.486 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.021) 0:01:06.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.020) 0:01:06.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.041) 0:01:06.570 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.021) 0:01:06.591 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.020) 0:01:06.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.024) 0:01:06.636 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.020) 0:01:06.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.020) 0:01:06.678 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.231) 0:01:06.910 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpmc7xaawc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.220) 0:01:07.130 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.242) 0:01:07.372 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.020) 0:01:07.393 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.022) 0:01:07.415 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:33 +0000 (0:00:00.021) 0:01:07.436 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.047) 0:01:07.484 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.133) 0:01:07.618 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.037) 0:01:07.656 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.035) 0:01:07.691 ******* included: /WORKDIR/git-route_typewxzepi6a/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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.039) 0:01:07.730 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.026) 0:01:07.757 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.021) 0:01:07.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:34 +0000 (0:00:00.020) 0:01:07.799 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:35 +0000 (0:00:00.724) 0:01:08.523 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.970) 0:01:09.493 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.022) 0:01:09.516 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.023) 0:01:09.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.024) 0:01:09.564 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.050) 0:01:09.615 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.023) 0:01:09.639 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.020) 0:01:09.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.024) 0:01:09.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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.020) 0:01:09.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.021) 0:01:09.727 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.234) 0:01:09.961 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17165qli88gd7/tmpw9yg2yyd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.222) 0:01:10.184 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:36 +0000 (0:00:00.269) 0:01:10.453 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.032) 0:01:10.485 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.022) 0:01:10.508 ******* 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-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.023) 0:01:10.531 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.028) 0:01:10.559 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.133) 0:01:10.692 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.042) 0:01:10.735 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.036) 0:01:10.771 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.022) 0:01:10.794 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.139) 0:01:10.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.021) 0:01:10.954 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021740", "end": "2024-01-09 02:30:37.605774", "rc": 1, "start": "2024-01-09 02:30:37.584034" } 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-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.155) 0:01:11.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.027) 0:01:11.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.024) 0:01:11.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.022) 0:01:11.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.064) 0:01:11.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.022) 0:01:11.271 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:30:37 +0000 (0:00:00.023) 0:01:11.295 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.683945", "end": "2024-01-09 02:30:38.610486", "rc": 0, "start": "2024-01-09 02:30:37.926541" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.820) 0:01:12.116 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.023) 0:01:12.139 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.022) 0:01:12.162 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.028) 0:01:12.191 ******* 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-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.030) 0:01:12.221 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.042) 0:01:12.264 ******* 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.046029", "end": "2024-01-09 02:30:38.941565", "rc": 0, "start": "2024-01-09 02:30:38.895536" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Tuesday 09 January 2024 02:30:38 +0000 (0:00:00.170) 0:01:12.434 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 6.72s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Create EPEL 7 ----------------------------------------------------------- 5.22s /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:8 ----------------- linux-system-roles.network : Configure networking connection profiles --- 1.92s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.32s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.16s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typewxzepi6a/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. ---^---^---^---^---^---