# 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_type6uhcryls/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 20:25:12 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type6uhcryls/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 20:25:12 +0000 (0:00:00.535) 0:00:00.548 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:25:12 +0000 (0:00:00.022) 0:00:00.571 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.222) 0:00:00.793 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.196) 0:00:00.989 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.036) 0:00:01.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.019) 0:00:01.045 ******* included: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.031) 0:00:01.076 ******* 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_type6uhcryls/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:25:13 +0000 (0:00:00.190) 0:00:01.267 ******* 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_type6uhcryls/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.450) 0:00:01.718 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177243", "end": "2024-01-09 20:25:14.386368", "rc": 0, "start": "2024-01-09 20:25:14.209125" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.299) 0:00:02.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.010) 0:00:02.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.009) 0:00:02.037 ******* 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_type6uhcryls/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.011) 0:00:02.049 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.394) 0:00:02.444 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.020) 0:00:02.464 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.017) 0:00:02.481 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.015) 0:00:02.497 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.050) 0:00:02.547 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.015) 0:00:02.562 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:14 +0000 (0:00:00.021) 0:00:02.583 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2024-01-09 20:25:15.088385", "rc": 0, "start": "2024-01-09 20:25:15.084953" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.134) 0:00:02.718 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.011) 0:00:02.730 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.010) 0:00:02.741 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.021) 0:00:02.762 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010987", "end": "2024-01-09 20:25:15.265942", "rc": 1, "start": "2024-01-09 20:25:15.254955" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.133) 0:00:02.895 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.015) 0:00:02.911 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.131) 0:00:03.042 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.013) 0:00:03.056 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.018) 0:00:03.075 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.033) 0:00:03.108 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.069) 0:00:03.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.012) 0:00:03.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.011) 0:00:03.200 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:15 +0000 (0:00:00.009) 0:00:03.210 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:16 +0000 (0:00:00.786) 0:00:03.996 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:17 +0000 (0:00:01.092) 0:00:05.089 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.021) 0:00:05.110 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.019) 0:00:05.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.020) 0:00:05.150 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.040) 0:00:05.191 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.020) 0:00:05.212 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.020) 0:00:05.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.025) 0:00:05.257 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.021) 0:00:05.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:17 +0000 (0:00:00.021) 0:00:05.300 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.352) 0:00:05.652 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpo_x68gfz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.219) 0:00:05.872 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.362) 0:00:06.234 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.041) 0:00:06.276 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.028) 0:00:06.304 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.023) 0:00:06.328 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.023) 0:00:06.351 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.222) 0:00:06.573 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:18 +0000 (0:00:00.032) 0:00:06.606 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.040) 0:00:06.646 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.036) 0:00:06.683 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.024) 0:00:06.707 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831918.5917358, "block_size": 4096, "blocks": 8, "ctime": 1704831918.5917358, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831918.5917358, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.134) 0:00:06.842 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.024) 0:00:06.866 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024116", "end": "2024-01-09 20:25:19.384004", "rc": 1, "start": "2024-01-09 20:25:19.359888" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.167) 0:00:07.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.029) 0:00:07.063 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003505", "end": "2024-01-09 20:25:19.565795", "rc": 0, "start": "2024-01-09 20:25:19.562290" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.143) 0:00:07.206 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.052) 0:00:07.259 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003519", "end": "2024-01-09 20:25:19.770341", "rc": 0, "start": "2024-01-09 20:25:19.766822" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.174) 0:00:07.434 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.038) 0:00:07.472 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.026) 0:00:07.499 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.025) 0:00:07.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.024) 0:00:07.549 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.036) 0:00:07.586 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:19 +0000 (0:00:00.022) 0:00:07.608 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.079) 0:00:07.688 ******* 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.046846", "end": "2024-01-09 20:25:20.229521", "rc": 1, "start": "2024-01-09 20:25:20.182675" } 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_type6uhcryls/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.182) 0:00:07.870 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.043) 0:00:07.913 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.036) 0:00:07.950 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.057) 0:00:08.008 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.051) 0:00:08.060 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.063) 0:00:08.123 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-01-09 20:25:20.619456", "rc": 0, "start": "2024-01-09 20:25:20.615979" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.139) 0:00:08.262 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.025) 0:00:08.288 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.042) 0:00:08.330 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.040) 0:00:08.371 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007420", "end": "2024-01-09 20:25:20.871613", "rc": 1, "start": "2024-01-09 20:25:20.864193" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.140) 0:00:08.511 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:20 +0000 (0:00:00.035) 0:00:08.547 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.134) 0:00:08.681 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.026) 0:00:08.707 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.038) 0:00:08.745 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.039) 0:00:08.785 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.066) 0:00:08.851 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.026) 0:00:08.878 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.021) 0:00:08.899 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:21 +0000 (0:00:00.019) 0:00:08.918 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:22 +0000 (0:00:00.704) 0:00:09.622 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:22 +0000 (0:00:00.938) 0:00:10.561 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:22 +0000 (0:00:00.030) 0:00:10.591 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.024) 0:00:10.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.036) 0:00:10.652 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.069) 0:00:10.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.023) 0:00:10.745 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.024) 0:00:10.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.035) 0:00:10.804 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.048) 0:00:10.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.035) 0:00:10.888 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.250) 0:00:11.138 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpb96cqmf1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.224) 0:00:11.363 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.224) 0:00:11.588 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:23 +0000 (0:00:00.020) 0:00:11.609 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.021) 0:00:11.630 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.022) 0:00:11.653 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.025) 0:00:11.678 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.128) 0:00:11.807 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.022) 0:00:11.829 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.063) 0:00:11.892 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.035) 0:00:11.928 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.132) 0:00:12.060 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.023) 0:00:12.084 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.034) 0:00:12.119 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.020) 0:00:12.139 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831923.945566, "block_size": 4096, "blocks": 8, "ctime": 1704831923.945566, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831923.945566, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.132) 0:00:12.272 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.022) 0:00:12.294 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020461", "end": "2024-01-09 20:25:24.807181", "rc": 1, "start": "2024-01-09 20:25:24.786720" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.154) 0:00:12.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.022) 0:00:12.470 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003342", "end": "2024-01-09 20:25:24.968050", "rc": 0, "start": "2024-01-09 20:25:24.964708" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:24 +0000 (0:00:00.137) 0:00:12.608 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.028) 0:00:12.636 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003469", "end": "2024-01-09 20:25:25.136841", "rc": 0, "start": "2024-01-09 20:25:25.133372" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.142) 0:00:12.779 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.025) 0:00:12.804 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.050) 0:00:12.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.023) 0:00:12.879 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.024) 0:00:12.903 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.020) 0:00:12.924 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.023) 0:00:12.948 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.045) 0:00:12.993 ******* 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.042849", "end": "2024-01-09 20:25:25.539854", "rc": 1, "start": "2024-01-09 20:25:25.497005" } 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_type6uhcryls/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.187) 0:00:13.181 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.039) 0:00:13.220 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.024) 0:00:13.245 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.049) 0:00:13.294 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.034) 0:00:13.328 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.032) 0:00:13.361 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-01-09 20:25:25.857384", "rc": 0, "start": "2024-01-09 20:25:25.853901" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.136) 0:00:13.498 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.051) 0:00:13.549 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:25 +0000 (0:00:00.024) 0:00:13.574 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.043) 0:00:13.617 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.055) 0:00:13.673 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.040) 0:00:13.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.029) 0:00:13.744 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.020) 0:00:13.765 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.021) 0:00:13.786 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:26 +0000 (0:00:00.714) 0:00:14.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.930) 0:00:15.430 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.024) 0:00:15.455 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.021) 0:00:15.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.022) 0:00:15.499 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.043) 0:00:15.543 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.021) 0:00:15.565 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.020) 0:00:15.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:27 +0000 (0:00:00.026) 0:00:15.613 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.021) 0:00:15.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.020) 0:00:15.654 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.230) 0:00:15.884 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmplc26nf_r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.228) 0:00:16.113 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.310) 0:00:16.424 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.027) 0:00:16.451 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.027) 0:00:16.479 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.030) 0:00:16.510 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:28 +0000 (0:00:00.041) 0:00:16.551 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.138) 0:00:16.690 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.022) 0:00:16.712 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.037) 0:00:16.750 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.039) 0:00:16.789 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.042) 0:00:16.832 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.036) 0:00:16.868 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.023) 0:00:16.892 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:29 +0000 (0:00:00.022) 0:00:16.915 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:30 +0000 (0:00:00.711) 0:00:17.626 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:30 +0000 (0:00:00.928) 0:00:18.555 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:30 +0000 (0:00:00.022) 0:00:18.577 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:30 +0000 (0:00:00.021) 0:00:18.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.021) 0:00:18.620 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.043) 0:00:18.663 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.021) 0:00:18.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.020) 0:00:18.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.025) 0:00:18.731 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.021) 0:00:18.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.020) 0:00:18.773 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.232) 0:00:19.006 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmp7sio848i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:31 +0000 (0:00:00.215) 0:00:19.222 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.474) 0:00:19.696 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.022) 0:00:19.718 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.026) 0:00:19.745 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.024) 0:00:19.769 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.023) 0:00:19.792 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.140) 0:00:19.933 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.074) 0:00:20.008 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.043) 0:00:20.052 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831931.981311, "block_size": 4096, "blocks": 0, "ctime": 1704831931.9803112, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1704831931.9803112, "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_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.135) 0:00:20.188 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.036) 0:00:20.224 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.085) 0:00:20.310 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.022) 0:00:20.333 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831931.8043168, "block_size": 4096, "blocks": 8, "ctime": 1704831928.7244143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831928.7244143, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.137) 0:00:20.471 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:32 +0000 (0:00:00.026) 0:00:20.497 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023471", "end": "2024-01-09 20:25:33.015282", "rc": 1, "start": "2024-01-09 20:25:32.991811" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.158) 0:00:20.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.023) 0:00:20.678 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003488", "end": "2024-01-09 20:25:33.176415", "rc": 0, "start": "2024-01-09 20:25:33.172927" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.139) 0:00:20.818 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.027) 0:00:20.846 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003504", "end": "2024-01-09 20:25:33.343717", "rc": 0, "start": "2024-01-09 20:25:33.340213" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.138) 0:00:20.984 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.028) 0:00:21.013 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.024) 0:00:21.037 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.025) 0:00:21.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.023) 0:00:21.086 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.019) 0:00:21.106 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.023) 0:00:21.129 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.065) 0:00:21.195 ******* 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.048764", "end": "2024-01-09 20:25:33.737748", "rc": 0, "start": "2024-01-09 20:25:33.688984" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.184) 0:00:21.379 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.035) 0:00:21.415 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.023) 0:00:21.438 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.062) 0:00:21.500 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.036) 0:00:21.537 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.033) 0:00:21.571 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003509", "end": "2024-01-09 20:25:34.068020", "rc": 0, "start": "2024-01-09 20:25:34.064511" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.137) 0:00:21.708 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.023) 0:00:21.732 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.022) 0:00:21.755 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.040) 0:00:21.795 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.034) 0:00:21.830 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.062) 0:00:21.893 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.026) 0:00:21.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.022) 0:00:21.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.028) 0:00:21.970 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.697) 0:00:22.667 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.921) 0:00:23.589 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.022) 0:00:23.612 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.064) 0:00:23.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.040) 0:00:23.717 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.056) 0:00:23.773 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.028) 0:00:23.802 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.033) 0:00:23.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.026) 0:00:23.862 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.024) 0:00:23.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.022) 0:00:23.910 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.233) 0:00:24.143 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpoznt5jyg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.217) 0:00:24.361 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.225) 0:00:24.586 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.031) 0:00:24.617 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.023) 0:00:24.640 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.025) 0:00:24.666 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.040) 0:00:24.706 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.147) 0:00:24.853 ******* 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_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.049) 0:00:24.903 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.036) 0:00:24.939 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.040) 0:00:24.979 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.026) 0:00:25.006 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.022) 0:00:25.028 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.020) 0:00:25.049 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.688) 0:00:25.737 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.939) 0:00:26.677 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.022) 0:00:26.699 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.022) 0:00:26.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.022) 0:00:26.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.043) 0:00:26.788 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.020) 0:00:26.809 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.021) 0:00:26.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.023) 0:00:26.854 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.022) 0:00:26.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.020) 0:00:26.897 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.224) 0:00:27.122 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpy7l0fprb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.216) 0:00:27.339 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.469) 0:00:27.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.022) 0:00:27.832 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.055) 0:00:27.887 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.026) 0:00:27.914 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.024) 0:00:27.939 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.131) 0:00:28.070 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.038) 0:00:28.109 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.043) 0:00:28.152 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.040) 0:00:28.193 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.026) 0:00:28.219 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.022) 0:00:28.242 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.022) 0:00:28.264 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.692) 0:00:28.956 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.952) 0:00:29.909 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.022) 0:00:29.932 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.022) 0:00:29.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.021) 0:00:29.975 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.042) 0:00:30.018 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.023) 0:00:30.041 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.020) 0:00:30.062 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.024) 0:00:30.086 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.020) 0:00:30.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.019) 0:00:30.127 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.229) 0:00:30.356 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpmdpx6jbv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.212) 0:00:30.568 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.230) 0:00:30.799 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.021) 0:00:30.821 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.024) 0:00:30.845 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.023) 0:00:30.868 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.021) 0:00:30.890 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.129) 0:00:31.020 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.043) 0:00:31.063 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.034) 0:00:31.097 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831940.0980537, "block_size": 4096, "blocks": 0, "ctime": 1704831940.0970538, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1704831940.0970538, "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_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.145) 0:00:31.243 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.034) 0:00:31.277 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.038) 0:00:31.315 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.040) 0:00:31.356 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.162) 0:00:31.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.021) 0:00:31.540 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023364", "end": "2024-01-09 20:25:44.058996", "rc": 1, "start": "2024-01-09 20:25:44.035632" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.160) 0:00:31.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.023) 0:00:31.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.025) 0:00:31.750 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.024) 0:00:31.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.026) 0:00:31.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.022) 0:00:31.823 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.024) 0:00:31.848 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.020) 0:00:31.868 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.022) 0:00:31.891 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.040) 0:00:31.932 ******* 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.048381", "end": "2024-01-09 20:25:44.473752", "rc": 0, "start": "2024-01-09 20:25:44.425371" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.192) 0:00:32.124 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.056) 0:00:32.180 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.024) 0:00:32.205 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.117) 0:00:32.323 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.058) 0:00:32.382 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.052) 0:00:32.434 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003523", "end": "2024-01-09 20:25:44.932276", "rc": 0, "start": "2024-01-09 20:25:44.928753" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.139) 0:00:32.573 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.024) 0:00:32.598 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.027) 0:00:32.626 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.060) 0:00:32.686 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.045) 0:00:32.732 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.050) 0:00:32.783 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.027) 0:00:32.810 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.024) 0:00:32.835 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.022) 0:00:32.857 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.697) 0:00:33.555 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.920) 0:00:34.475 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.026) 0:00:34.501 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.023) 0:00:34.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.021) 0:00:34.546 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.043) 0:00:34.589 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.021) 0:00:34.611 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.022) 0:00:34.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.024) 0:00:34.658 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.022) 0:00:34.681 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.049) 0:00:34.730 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.240) 0:00:34.971 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpozwnmcdf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.227) 0:00:35.198 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.249) 0:00:35.448 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.021) 0:00:35.470 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.023) 0:00:35.493 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.023) 0:00:35.516 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.020) 0:00:35.537 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.130) 0:00:35.667 ******* 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_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.025) 0:00:35.693 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.034) 0:00:35.727 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.038) 0:00:35.766 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.025) 0:00:35.792 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.023) 0:00:35.815 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.047) 0:00:35.863 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.698) 0:00:36.561 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.921) 0:00:37.483 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.026) 0:00:37.510 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.024) 0:00:37.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.024) 0:00:37.559 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.045) 0:00:37.605 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.023) 0:00:37.629 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.053) 0:00:37.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.026) 0:00:37.708 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.022) 0:00:37.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.022) 0:00:37.753 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.233) 0:00:37.987 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpqo_q743o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.226) 0:00:38.213 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.479) 0:00:38.692 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.022) 0:00:38.714 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.023) 0:00:38.738 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.023) 0:00:38.761 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.020) 0:00:38.782 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.129) 0:00:38.912 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.035) 0:00:38.947 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.069) 0:00:39.016 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.027) 0:00:39.044 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.021) 0:00:39.066 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.021) 0:00:39.088 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.700) 0:00:39.789 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.918) 0:00:40.707 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.045) 0:00:40.753 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.037) 0:00:40.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.029) 0:00:40.821 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.046) 0:00:40.867 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.053) 0:00:40.921 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.026) 0:00:40.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.025) 0:00:40.973 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.022) 0:00:40.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.026) 0:00:41.021 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.247) 0:00:41.269 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpuk45h2bl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.246) 0:00:41.515 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.252) 0:00:41.767 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.023) 0:00:41.791 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.025) 0:00:41.816 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.025) 0:00:41.842 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.021) 0:00:41.864 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.129) 0:00:41.994 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.038) 0:00:42.032 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.066) 0:00:42.098 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.042) 0:00:42.141 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.031) 0:00:42.172 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.022) 0:00:42.195 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.021) 0:00:42.216 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.694) 0:00:42.911 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.922) 0:00:43.833 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.046) 0:00:43.880 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.021) 0:00:43.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.021) 0:00:43.922 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.041) 0:00:43.964 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.021) 0:00:43.985 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.021) 0:00:44.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.028) 0:00:44.036 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.021) 0:00:44.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.020) 0:00:44.078 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.230) 0:00:44.308 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmptkx6f826" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.214) 0:00:44.523 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.228) 0:00:44.751 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.021) 0:00:44.773 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.028) 0:00:44.801 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.023) 0:00:44.825 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.020) 0:00:44.846 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.155) 0:00:45.001 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.040) 0:00:45.041 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.036) 0:00:45.078 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.022) 0:00:45.101 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.134) 0:00:45.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.022) 0:00:45.258 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023164", "end": "2024-01-09 20:25:57.775251", "rc": 1, "start": "2024-01-09 20:25:57.752087" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.159) 0:00:45.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.025) 0:00:45.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.030) 0:00:45.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:45.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:45.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:45.546 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:45.570 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:45.595 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.022) 0:00:45.617 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.068) 0:00:45.686 ******* 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.050878", "end": "2024-01-09 20:25:58.229770", "rc": 0, "start": "2024-01-09 20:25:58.178892" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.184) 0:00:45.870 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.038) 0:00:45.909 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.028) 0:00:45.937 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.049) 0:00:45.987 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.034) 0:00:46.022 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.033) 0:00:46.055 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003835", "end": "2024-01-09 20:25:58.550745", "rc": 0, "start": "2024-01-09 20:25:58.546910" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.136) 0:00:46.192 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.024) 0:00:46.216 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.043) 0:00:46.259 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.064) 0:00:46.324 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.082) 0:00:46.407 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.042) 0:00:46.449 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.029) 0:00:46.478 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.023) 0:00:46.501 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.031) 0:00:46.533 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:59 +0000 (0:00:00.717) 0:00:47.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.925) 0:00:48.176 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.026) 0:00:48.202 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.063) 0:00:48.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.022) 0:00:48.289 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.055) 0:00:48.344 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.025) 0:00:48.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.022) 0:00:48.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.027) 0:00:48.420 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.021) 0:00:48.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.022) 0:00:48.464 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.237) 0:00:48.701 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmp0ctzn5o1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.229) 0:00:48.930 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.237) 0:00:49.167 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.024) 0:00:49.192 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.027) 0:00:49.220 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.029) 0:00:49.249 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.038) 0:00:49.287 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.189) 0:00:49.476 ******* 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_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.023) 0:00:49.500 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.036) 0:00:49.536 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.039) 0:00:49.576 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.030) 0:00:49.606 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:02 +0000 (0:00:00.041) 0:00:49.647 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:02 +0000 (0:00:00.022) 0:00:49.670 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:02 +0000 (0:00:00.707) 0:00:50.377 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.998) 0:00:51.375 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.024) 0:00:51.400 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.031) 0:00:51.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.030) 0:00:51.462 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.051) 0:00:51.514 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.022) 0:00:51.537 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.023) 0:00:51.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.025) 0:00:51.586 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.020) 0:00:51.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.021) 0:00:51.628 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.229) 0:00:51.857 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmplf_yc53o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.214) 0:00:52.072 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.465) 0:00:52.538 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.020) 0:00:52.558 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.050) 0:00:52.609 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.023) 0:00:52.633 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.022) 0:00:52.656 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.132) 0:00:52.789 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.035) 0:00:52.824 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.039) 0:00:52.863 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.027) 0:00:52.890 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.022) 0:00:52.913 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.020) 0:00:52.934 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.694) 0:00:53.628 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.947) 0:00:54.575 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.023) 0:00:54.598 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.022) 0:00:54.621 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.021) 0:00:54.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.041) 0:00:54.685 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.020) 0:00:54.705 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.021) 0:00:54.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.022) 0:00:54.750 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.021) 0:00:54.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.020) 0:00:54.792 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.227) 0:00:55.019 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmpmy3wdcmp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.213) 0:00:55.232 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.315) 0:00:55.547 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.022) 0:00:55.570 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.028) 0:00:55.599 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.029) 0:00:55.628 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.023) 0:00:55.652 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.158) 0:00:55.811 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.046) 0:00:55.857 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.052) 0:00:55.910 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.051) 0:00:55.961 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.026) 0:00:55.988 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.021) 0:00:56.009 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.039) 0:00:56.049 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.728) 0:00:56.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.934) 0:00:57.712 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.022) 0:00:57.735 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.022) 0:00:57.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.021) 0:00:57.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.045) 0:00:57.824 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.027) 0:00:57.852 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.025) 0:00:57.878 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.027) 0:00:57.905 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.024) 0:00:57.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.025) 0:00:57.955 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.263) 0:00:58.218 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1695484n4gdbx/tmp7asg9l8n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.220) 0:00:58.438 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.233) 0:00:58.671 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.023) 0:00:58.695 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.026) 0:00:58.722 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.025) 0:00:58.747 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.022) 0:00:58.770 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.130) 0:00:58.901 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.042) 0:00:58.943 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.035) 0:00:58.979 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:59.000 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.135) 0:00:59.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.023) 0:00:59.159 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022897", "end": "2024-01-09 20:26:11.675509", "rc": 1, "start": "2024-01-09 20:26:11.652612" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.181) 0:00:59.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.022) 0:00:59.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:59.385 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:59.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.022) 0:00:59.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.026) 0:00:59.455 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.027) 0:00:59.482 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.677325", "end": "2024-01-09 20:26:12.655305", "rc": 0, "start": "2024-01-09 20:26:11.977980" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.814) 0:01:00.297 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.021) 0:01:00.319 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.020) 0:01:00.339 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.025) 0:01:00.365 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.021) 0:01:00.387 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.039) 0:01:00.426 ******* 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.048363", "end": "2024-01-09 20:26:12.970768", "rc": 0, "start": "2024-01-09 20:26:12.922405" } 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 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.173) 0:01:00.600 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.89s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.29s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.12s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---