# 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_typeuve1rc78/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 18:48:27 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 18:48:27 +0000 (0:00:00.543) 0:00:00.555 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:48:27 +0000 (0:00:00.024) 0:00:00.579 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.247) 0:00:00.826 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.201) 0:00:01.028 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.030) 0:00:01.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.025) 0:00:01.084 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.032) 0:00:01.116 ***** 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_typeuve1rc78/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.204) 0:00:01.321 ***** 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_typeuve1rc78/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.471) 0:00:01.792 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.213752", "end": "2024-01-10 18:48:29.532452", "rc": 0, "start": "2024-01-10 18:48:29.318700" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.342) 0:00:02.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.010) 0:00:02.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.009) 0:00:02.154 ***** 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_typeuve1rc78/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.009) 0:00:02.163 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.476) 0:00:02.640 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.010) 0:00:02.651 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.021) 0:00:02.673 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.026) 0:00:02.700 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.084) 0:00:02.784 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.030) 0:00:02.815 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.014) 0:00:02.829 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003813", "end": "2024-01-10 18:48:30.359745", "rc": 0, "start": "2024-01-10 18:48:30.355932" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.131) 0:00:02.961 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.014) 0:00:02.976 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.010) 0:00:02.987 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.036) 0:00:03.023 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013376", "end": "2024-01-10 18:48:30.569294", "rc": 1, "start": "2024-01-10 18:48:30.555918" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.147) 0:00:03.171 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.015) 0:00:03.186 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.136) 0:00:03.322 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.020) 0:00:03.343 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.033) 0:00:03.376 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.049) 0:00:03.426 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.069) 0:00:03.496 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.013) 0:00:03.509 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.040) 0:00:03.550 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.015) 0:00:03.566 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.934) 0:00:04.500 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.829) 0:00:05.329 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.021) 0:00:05.350 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.019) 0:00:05.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.019) 0:00:05.389 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.042) 0:00:05.431 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.020) 0:00:05.452 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.020) 0:00:05.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.023) 0:00:05.497 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.020) 0:00:05.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.019) 0:00:05.537 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.363) 0:00:05.901 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpcmfeh4xr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.227) 0:00:06.129 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.335) 0:00:06.465 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.021) 0:00:06.486 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.041) 0:00:06.528 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.021) 0:00:06.550 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.019) 0:00:06.570 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.182) 0:00:06.752 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.021) 0:00:06.774 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.038) 0:00:06.813 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.040) 0:00:06.854 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.020) 0:00:06.874 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912513.849283, "block_size": 4096, "blocks": 8, "ctime": 1704912513.849283, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912513.849283, "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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.158) 0:00:07.032 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.035) 0:00:07.067 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027777", "end": "2024-01-10 18:48:34.642964", "rc": 1, "start": "2024-01-10 18:48:34.615187" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.187) 0:00:07.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.022) 0:00:07.277 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003843", "end": "2024-01-10 18:48:34.813255", "rc": 0, "start": "2024-01-10 18:48:34.809412" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.154) 0:00:07.432 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.030) 0:00:07.463 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003825", "end": "2024-01-10 18:48:34.999112", "rc": 0, "start": "2024-01-10 18:48:34.995287" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.174) 0:00:07.638 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.026) 0:00:07.664 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.023) 0:00:07.687 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.022) 0:00:07.710 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.021) 0:00:07.731 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.023) 0:00:07.755 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.023) 0:00:07.778 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.040) 0:00:07.818 ***** 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.053681", "end": "2024-01-10 18:48:35.398378", "rc": 1, "start": "2024-01-10 18:48:35.344697" } 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_typeuve1rc78/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.190) 0:00:08.009 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.035) 0:00:08.044 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.026) 0:00:08.070 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.050) 0:00:08.121 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.032) 0:00:08.154 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.031) 0:00:08.186 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005027", "end": "2024-01-10 18:48:36.722041", "rc": 0, "start": "2024-01-10 18:48:35.717014" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:36 +0000 (0:00:01.147) 0:00:09.334 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.022) 0:00:09.356 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.020) 0:00:09.377 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.040) 0:00:09.417 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007800", "end": "2024-01-10 18:48:36.952850", "rc": 1, "start": "2024-01-10 18:48:36.945050" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.158) 0:00:09.576 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.052) 0:00:09.629 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.150) 0:00:09.780 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.022) 0:00:09.802 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.037) 0:00:09.840 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.063) 0:00:09.904 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.040) 0:00:09.944 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.033) 0:00:09.977 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.038) 0:00:10.016 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.021) 0:00:10.037 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:38 +0000 (0:00:00.804) 0:00:10.842 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:38 +0000 (0:00:00.666) 0:00:11.508 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:38 +0000 (0:00:00.024) 0:00:11.532 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:38 +0000 (0:00:00.023) 0:00:11.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.042) 0:00:11.598 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.044) 0:00:11.643 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.020) 0:00:11.663 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.019) 0:00:11.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.023) 0:00:11.707 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.020) 0:00:11.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.019) 0:00:11.747 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.237) 0:00:11.985 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpu8bk4kpm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.235) 0:00:12.220 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.232) 0:00:12.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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.020) 0:00:12.474 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.029) 0:00:12.504 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.044) 0:00:12.548 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.020) 0:00:12.569 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.139) 0:00:12.708 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.023) 0:00:12.732 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.093) 0:00:12.825 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.034) 0:00:12.860 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.169) 0:00:13.030 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.023) 0:00:13.053 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.035) 0:00:13.089 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.021) 0:00:13.111 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912519.8392544, "block_size": 4096, "blocks": 8, "ctime": 1704912519.8392544, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912519.8392544, "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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.167) 0:00:13.278 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.028) 0:00:13.307 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022939", "end": "2024-01-10 18:48:40.862549", "rc": 1, "start": "2024-01-10 18:48:40.839610" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.166) 0:00:13.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.021) 0:00:13.496 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003822", "end": "2024-01-10 18:48:41.029469", "rc": 0, "start": "2024-01-10 18:48:41.025647" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.146) 0:00:13.642 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.028) 0:00:13.670 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003931", "end": "2024-01-10 18:48:41.205169", "rc": 0, "start": "2024-01-10 18:48:41.201238" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.170) 0:00:13.840 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.026) 0:00:13.867 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.025) 0:00:13.892 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.026) 0:00:13.918 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.026) 0:00:13.945 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.019) 0:00:13.964 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.025) 0:00:13.990 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.042) 0:00:14.032 ***** 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.044232", "end": "2024-01-10 18:48:41.603986", "rc": 1, "start": "2024-01-10 18:48:41.559754" } 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_typeuve1rc78/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.185) 0:00:14.217 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.042) 0:00:14.260 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.023) 0:00:14.283 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.044) 0:00:14.327 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.032) 0:00:14.360 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.031) 0:00:14.392 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004927", "end": "2024-01-10 18:48:42.925096", "rc": 0, "start": "2024-01-10 18:48:41.920169" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:42 +0000 (0:00:01.145) 0:00:15.537 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.021) 0:00:15.559 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.020) 0:00:15.579 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.034) 0:00:15.614 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.034) 0:00:15.649 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.039) 0:00:15.688 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.025) 0:00:15.713 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.020) 0:00:15.734 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.020) 0:00:15.754 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.780) 0:00:16.535 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.662) 0:00:17.197 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.021) 0:00:17.219 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.021) 0:00:17.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.022) 0:00:17.263 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.079) 0:00:17.343 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.040) 0:00:17.384 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.021) 0:00:17.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.024) 0:00:17.430 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.036) 0:00:17.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.030) 0:00:17.497 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.274) 0:00:17.771 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmppqk7mlff" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.254) 0:00:18.026 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.254) 0:00:18.281 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.044) 0:00:18.325 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.048) 0:00:18.373 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.024) 0:00:18.398 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.024) 0:00:18.422 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.149) 0:00:18.571 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.028) 0:00:18.600 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.037) 0:00:18.637 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.038) 0:00:18.676 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.038) 0:00:18.714 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.025) 0:00:18.740 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.022) 0:00:18.762 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.049) 0:00:18.812 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.785) 0:00:19.598 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.667) 0:00:20.266 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.021) 0:00:20.288 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.020) 0:00:20.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.020) 0:00:20.330 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.042) 0:00:20.373 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.021) 0:00:20.394 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.023) 0:00:20.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.024) 0:00:20.442 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.040) 0:00:20.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.021) 0:00:20.505 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.242) 0:00:20.747 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmp5gso07sn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.247) 0:00:20.995 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.516) 0:00:21.511 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.023) 0:00:21.535 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.029) 0:00:21.565 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.033) 0:00:21.598 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.021) 0:00:21.620 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.141) 0:00:21.762 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.048) 0:00:21.810 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.051) 0:00:21.862 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912528.8132117, "block_size": 4096, "blocks": 0, "ctime": 1704912528.8122118, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1704912528.8122118, "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_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.210) 0:00:22.072 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.024) 0:00:22.097 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.035) 0:00:22.133 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.020) 0:00:22.153 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912528.6292126, "block_size": 4096, "blocks": 8, "ctime": 1704912525.6662266, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912525.6662266, "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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.151) 0:00:22.305 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.022) 0:00:22.327 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025538", "end": "2024-01-10 18:48:49.882691", "rc": 1, "start": "2024-01-10 18:48:49.857153" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.167) 0:00:22.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.022) 0:00:22.518 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004184", "end": "2024-01-10 18:48:50.051257", "rc": 0, "start": "2024-01-10 18:48:50.047073" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.147) 0:00:22.665 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.030) 0:00:22.695 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003992", "end": "2024-01-10 18:48:50.229360", "rc": 0, "start": "2024-01-10 18:48:50.225368" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.148) 0:00:22.843 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.027) 0:00:22.870 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.022) 0:00:22.893 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.022) 0:00:22.916 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.021) 0:00:22.937 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.041) 0:00:22.978 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.021) 0:00:23.000 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.038) 0:00:23.038 ***** 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.055567", "end": "2024-01-10 18:48:50.629085", "rc": 0, "start": "2024-01-10 18:48:50.573518" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.204) 0:00:23.243 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.035) 0:00:23.279 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.021) 0:00:23.300 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.050) 0:00:23.351 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.035) 0:00:23.386 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.032) 0:00:23.418 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003828", "end": "2024-01-10 18:48:50.954088", "rc": 0, "start": "2024-01-10 18:48:50.950260" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.147) 0:00:23.565 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.021) 0:00:23.587 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.020) 0:00:23.607 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.061) 0:00:23.669 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.034) 0:00:23.703 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.038) 0:00:23.741 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.026) 0:00:23.767 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.021) 0:00:23.789 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.019) 0:00:23.808 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.829) 0:00:24.638 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.743) 0:00:25.382 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.081) 0:00:25.463 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.027) 0:00:25.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.022) 0:00:25.513 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.043) 0:00:25.556 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.023) 0:00:25.580 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.023) 0:00:25.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.052) 0:00:25.656 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.032) 0:00:25.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.027) 0:00:25.716 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.242) 0:00:25.959 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpkq_t6qzc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.245) 0:00:26.204 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.245) 0:00:26.450 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.023) 0:00:26.473 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.027) 0:00:26.500 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.022) 0:00:26.522 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.050) 0:00:26.573 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.173) 0:00:26.746 ***** 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_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.022) 0:00:26.769 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.057) 0:00:26.826 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.053) 0:00:26.880 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.029) 0:00:26.909 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.027) 0:00:26.937 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.022) 0:00:26.959 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.844) 0:00:27.803 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.695) 0:00:28.499 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.022) 0:00:28.521 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.027) 0:00:28.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.024) 0:00:28.573 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.042) 0:00:28.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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.021) 0:00:28.637 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.022) 0:00:28.659 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.037) 0:00:28.696 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.024) 0:00:28.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.021) 0:00:28.742 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.274) 0:00:29.016 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmp1gg_meos" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.237) 0:00:29.254 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.512) 0:00:29.766 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.022) 0:00:29.788 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.033) 0:00:29.822 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.064) 0:00:29.887 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.022) 0:00:29.909 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.151) 0:00:30.060 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.038) 0:00:30.098 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.039) 0:00:30.138 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.039) 0:00:30.177 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.027) 0:00:30.205 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.023) 0:00:30.228 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.021) 0:00:30.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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.872) 0:00:31.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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.750) 0:00:31.873 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.059) 0:00:31.933 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.062) 0:00:31.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.073) 0:00:32.070 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.047) 0:00:32.117 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.024) 0:00:32.142 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.025) 0:00:32.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.034) 0:00:32.202 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.024) 0:00:32.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.021) 0:00:32.248 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.256) 0:00:32.505 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpq8anpimg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.245) 0:00:32.750 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.312) 0:00:33.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.021) 0:00:33.084 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.022) 0:00:33.107 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.026) 0:00:33.134 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.022) 0:00:33.156 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.136) 0:00:33.293 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.040) 0:00:33.334 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.034) 0:00:33.369 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912537.0641809, "block_size": 4096, "blocks": 0, "ctime": 1704912537.063181, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1704912537.063181, "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_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.146) 0:00:33.516 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.035) 0:00:33.551 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.037) 0:00:33.588 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.022) 0:00:33.611 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.138) 0:00:33.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.020) 0:00:33.771 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023927", "end": "2024-01-10 18:49:01.326901", "rc": 1, "start": "2024-01-10 18:49:01.302974" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.193) 0:00:33.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.022) 0:00:33.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.026) 0:00:34.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.022) 0:00:34.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.021) 0:00:34.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.022) 0:00:34.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.022) 0:00:34.103 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.019) 0:00:34.123 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.021) 0:00:34.145 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.039) 0:00:34.185 ***** 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.050769", "end": "2024-01-10 18:49:01.765983", "rc": 0, "start": "2024-01-10 18:49:01.715214" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.194) 0:00:34.379 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.036) 0:00:34.416 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.021) 0:00:34.437 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.044) 0:00:34.482 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.033) 0:00:34.516 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.072) 0:00:34.588 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2024-01-10 18:49:02.120866", "rc": 0, "start": "2024-01-10 18:49:02.116983" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.149) 0:00:34.738 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.027) 0:00:34.765 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.021) 0:00:34.787 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.048) 0:00:34.835 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.034) 0:00:34.870 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.039) 0:00:34.910 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.041) 0:00:34.951 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.022) 0:00:34.973 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.049) 0:00:35.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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.839) 0:00:35.862 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.659) 0:00:36.522 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.024) 0:00:36.547 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.022) 0:00:36.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.023) 0:00:36.593 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.050) 0:00:36.644 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.023) 0:00:36.668 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.021) 0:00:36.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.027) 0:00:36.717 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.025) 0:00:36.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.025) 0:00:36.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.242) 0:00:37.010 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpp4kafjti" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.243) 0:00:37.254 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.226) 0:00:37.480 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.020) 0:00:37.501 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.024) 0:00:37.526 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.024) 0:00:37.550 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.020) 0:00:37.570 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.133) 0:00:37.704 ***** 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_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.023) 0:00:37.728 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.035) 0:00:37.763 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.040) 0:00:37.803 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.025) 0:00:37.828 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.020) 0:00:37.848 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.019) 0:00:37.868 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.759) 0:00:38.627 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.657) 0:00:39.285 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.023) 0:00:39.308 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.031) 0:00:39.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.022) 0:00:39.362 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.045) 0:00:39.407 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.022) 0:00:39.430 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.027) 0:00:39.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.024) 0:00:39.482 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.021) 0:00:39.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.020) 0:00:39.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.266) 0:00:39.790 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmp9fh4p2h8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.244) 0:00:40.034 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.498) 0:00:40.533 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.022) 0:00:40.555 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.023) 0:00:40.579 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.023) 0:00:40.602 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.021) 0:00:40.624 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.147) 0:00:40.771 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.062) 0:00:40.833 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.057) 0:00:40.891 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.042) 0:00:40.933 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.027) 0:00:40.960 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.023) 0:00:40.984 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.793) 0:00:41.778 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.659) 0:00:42.438 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.021) 0:00:42.460 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.040) 0:00:42.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.032) 0:00:42.533 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.042) 0:00:42.576 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.021) 0:00:42.598 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.021) 0:00:42.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.026) 0:00:42.646 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.030) 0:00:42.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.020) 0:00:42.697 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.254) 0:00:42.951 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpjdtuyaav" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.247) 0:00:43.199 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.252) 0:00:43.452 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.022) 0:00:43.474 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.022) 0:00:43.497 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.022) 0:00:43.520 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.042) 0:00:43.563 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.136) 0:00:43.700 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.038) 0:00:43.738 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.038) 0:00:43.777 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.039) 0:00:43.817 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.025) 0:00:43.842 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.021) 0:00:43.864 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.020) 0:00:43.884 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.793) 0:00:44.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.671) 0:00:45.349 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.023) 0:00:45.372 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.021) 0:00:45.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.022) 0:00:45.416 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.053) 0:00:45.470 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.027) 0:00:45.498 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.037) 0:00:45.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.046) 0:00:45.582 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.025) 0:00:45.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.090) 0:00:45.697 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.276) 0:00:45.974 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpz6w1tszo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.228) 0:00:46.202 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.238) 0:00:46.440 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.022) 0:00:46.462 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.028) 0:00:46.491 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.022) 0:00:46.514 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.020) 0:00:46.534 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.141) 0:00:46.676 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.049) 0:00:46.725 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.045) 0:00:46.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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.037) 0:00:46.808 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.135) 0:00:46.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.048) 0:00:46.992 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024581", "end": "2024-01-10 18:49:14.543226", "rc": 1, "start": "2024-01-10 18:49:14.518645" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.162) 0:00:47.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.026) 0:00:47.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.022) 0:00:47.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.021) 0:00:47.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.022) 0:00:47.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.021) 0:00:47.271 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.022) 0:00:47.294 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.026) 0:00:47.320 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.021) 0:00:47.342 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.041) 0:00:47.383 ***** 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.051107", "end": "2024-01-10 18:49:14.959947", "rc": 0, "start": "2024-01-10 18:49:14.908840" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.188) 0:00:47.572 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.036) 0:00:47.608 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.021) 0:00:47.630 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.048) 0:00:47.678 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.077) 0:00:47.756 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.046) 0:00:47.802 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005093", "end": "2024-01-10 18:49:16.385358", "rc": 0, "start": "2024-01-10 18:49:15.380265" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:49:16 +0000 (0:00:01.204) 0:00:49.007 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.023) 0:00:49.030 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.022) 0:00:49.053 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.045) 0:00:49.099 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.034) 0:00:49.134 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.038) 0:00:49.172 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.025) 0:00:49.197 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.049) 0:00:49.246 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.025) 0:00:49.272 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.770) 0:00:50.042 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.653) 0:00:50.696 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.044) 0:00:50.741 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.027) 0:00:50.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.029) 0:00:50.798 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.043) 0:00:50.842 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.022) 0:00:50.865 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.035) 0:00:50.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.025) 0:00:50.927 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.066) 0:00:50.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.024) 0:00:51.018 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.247) 0:00:51.265 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpl567u2zl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.259) 0:00:51.525 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.245) 0:00:51.770 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.024) 0:00:51.794 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.022) 0:00:51.817 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.022) 0:00:51.839 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.022) 0:00:51.861 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.135) 0:00:51.996 ***** 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_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.021) 0:00:52.018 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.034) 0:00:52.052 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.037) 0:00:52.090 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.047) 0:00:52.138 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.021) 0:00:52.160 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.021) 0:00:52.181 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.756) 0:00:52.937 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.662) 0:00:53.600 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.022) 0:00:53.623 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.020) 0:00:53.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.021) 0:00:53.665 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.043) 0:00:53.708 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.024) 0:00:53.733 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.027) 0:00:53.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.082) 0:00:53.842 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.021) 0:00:53.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.020) 0:00:53.884 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.243) 0:00:54.128 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpuv01cy7_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.229) 0:00:54.357 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.476) 0:00:54.834 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.021) 0:00:54.855 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.024) 0:00:54.879 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.023) 0:00:54.902 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.022) 0:00:54.925 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.139) 0:00:55.065 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.033) 0:00:55.099 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.064) 0:00:55.163 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.026) 0:00:55.189 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.020) 0:00:55.210 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.020) 0:00:55.231 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.752) 0:00:55.984 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.669) 0:00:56.653 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.029) 0:00:56.683 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.034) 0:00:56.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.054) 0:00:56.771 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.068) 0:00:56.840 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.022) 0:00:56.862 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.021) 0:00:56.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.022) 0:00:56.906 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.020) 0:00:56.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.019) 0:00:56.947 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.233) 0:00:57.180 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmp879ghd0m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.223) 0:00:57.404 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.240) 0:00:57.644 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.025) 0:00:57.670 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.022) 0:00:57.692 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.023) 0:00:57.715 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.020) 0:00:57.736 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.134) 0:00:57.871 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.039) 0:00:57.910 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.064) 0:00:57.974 ***** included: /WORKDIR/git-route_typeuve1rc78/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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.048) 0:00:58.023 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.026) 0:00:58.049 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.021) 0:00:58.070 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.021) 0:00:58.091 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.783) 0:00:58.875 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.667) 0:00:59.542 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.045) 0:00:59.587 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:00:59.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:00:59.628 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.041) 0:00:59.670 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.021) 0:00:59.691 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:00:59.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.025) 0:00:59.736 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.021) 0:00:59.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:00:59.778 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.231) 0:01:00.010 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17268a0z5mwra/tmpccjl3v3z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.226) 0:01:00.236 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.233) 0:01:00.470 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:01:00.491 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.023) 0:01:00.515 ***** 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_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.023) 0:01:00.538 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:27 +0000 (0:00:00.020) 0:01:00.558 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.159) 0:01:00.718 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.042) 0:01:00.761 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.036) 0:01:00.798 ***** 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.030) 0:01:00.828 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.150) 0:01:00.978 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.023) 0:01:01.002 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023621", "end": "2024-01-10 18:49:28.565336", "rc": 1, "start": "2024-01-10 18:49:28.541715" } 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_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.184) 0:01:01.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.024) 0:01:01.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.029) 0:01:01.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.023) 0:01:01.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.023) 0:01:01.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.027) 0:01:01.314 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:49:28 +0000 (0:00:00.040) 0:01:01.354 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.417353", "end": "2024-01-10 18:49:29.300296", "rc": 0, "start": "2024-01-10 18:49:28.882943" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.600) 0:01:01.955 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.024) 0:01:01.979 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.023) 0:01:02.003 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.060) 0:01:02.063 ***** 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_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.060) 0:01:02.124 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.076) 0:01:02.200 ***** 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.050826", "end": "2024-01-10 18:49:29.797910", "rc": 0, "start": "2024-01-10 18:49:29.747084" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Wednesday 10 January 2024 18:49:29 +0000 (0:00:00.200) 0:01:02.401 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.00s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.37s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.23s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 1.03s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.96s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---