# 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_typezx_04ez4/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 20:17:13 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.614) 0:00:00.628 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.021) 0:00:00.650 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.221) 0:00:00.872 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.185) 0:00:01.057 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.019) 0:00:01.077 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.025) 0:00:01.102 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.033) 0:00:01.136 ******* 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_typezx_04ez4/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:17:14 +0000 (0:00:00.181) 0:00:01.318 ******* 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_typezx_04ez4/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:17:15 +0000 (0:00:00.462) 0:00:01.780 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189398", "end": "2024-01-09 20:17:15.565695", "rc": 0, "start": "2024-01-09 20:17:15.376297" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:17:15 +0000 (0:00:00.317) 0:00:02.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:17:15 +0000 (0:00:00.018) 0:00:02.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 20:17:15 +0000 (0:00:00.009) 0:00:02.124 ******* 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_typezx_04ez4/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:17:15 +0000 (0:00:00.010) 0:00:02.135 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.386) 0:00:02.522 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.010) 0:00:02.533 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.027) 0:00:02.560 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.013) 0:00:02.574 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.040) 0:00:02.614 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.013) 0:00:02.628 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:16 +0000 (0:00:00.013) 0:00:02.642 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004498", "end": "2024-01-09 20:17:17.241905", "rc": 0, "start": "2024-01-09 20:17:16.237407" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:17 +0000 (0:00:01.126) 0:00:03.768 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.011) 0:00:03.780 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.016) 0:00:03.797 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.020) 0:00:03.817 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010295", "end": "2024-01-09 20:17:17.423098", "rc": 1, "start": "2024-01-09 20:17:17.412803" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.135) 0:00:03.953 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.020) 0:00:03.973 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.140) 0:00:04.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.014) 0:00:04.128 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.018) 0:00:04.147 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.032) 0:00:04.179 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.067) 0:00:04.247 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.021) 0:00:04.269 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.012) 0:00:04.281 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:17 +0000 (0:00:00.020) 0:00:04.302 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:18 +0000 (0:00:00.835) 0:00:05.137 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.795) 0:00:05.932 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.022) 0:00:05.955 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.020) 0:00:05.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.027) 0:00:06.003 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.053) 0:00:06.056 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.021) 0:00:06.077 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.020) 0:00:06.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.035) 0:00:06.134 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.061) 0:00:06.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.021) 0:00:06.217 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.427) 0:00:06.644 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmphzuaq7c1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.318) 0:00:06.962 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.391) 0:00:07.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.026) 0:00:07.380 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.046) 0:00:07.427 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.041) 0:00:07.468 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.023) 0:00:07.492 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.192) 0:00:07.684 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.024) 0:00:07.708 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.050) 0:00:07.759 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.037) 0:00:07.797 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.027) 0:00:07.825 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831440.811079, "block_size": 4096, "blocks": 8, "ctime": 1704831440.811079, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831440.811079, "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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.133) 0:00:07.958 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.023) 0:00:07.981 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023251", "end": "2024-01-09 20:17:21.604444", "rc": 1, "start": "2024-01-09 20:17:21.581193" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.165) 0:00:08.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.030) 0:00:08.177 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003140", "end": "2024-01-09 20:17:21.779146", "rc": 0, "start": "2024-01-09 20:17:21.776006" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.138) 0:00:08.316 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.038) 0:00:08.354 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003187", "end": "2024-01-09 20:17:21.955022", "rc": 0, "start": "2024-01-09 20:17:21.951835" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.156) 0:00:08.511 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.031) 0:00:08.542 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.025) 0:00:08.567 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.022) 0:00:08.590 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.021) 0:00:08.611 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.024) 0:00:08.636 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.022) 0:00:08.659 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.041) 0:00:08.700 ******* 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.044983", "end": "2024-01-09 20:17:22.345053", "rc": 1, "start": "2024-01-09 20:17:22.300070" } 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_typezx_04ez4/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.177) 0:00:08.878 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.035) 0:00:08.913 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.021) 0:00:08.935 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.047) 0:00:08.982 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.034) 0:00:09.017 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.033) 0:00:09.050 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003230", "end": "2024-01-09 20:17:22.654044", "rc": 0, "start": "2024-01-09 20:17:22.650814" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.161) 0:00:09.212 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.023) 0:00:09.236 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.022) 0:00:09.259 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.041) 0:00:09.300 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006908", "end": "2024-01-09 20:17:22.902671", "rc": 1, "start": "2024-01-09 20:17:22.895763" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.134) 0:00:09.434 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.033) 0:00:09.468 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.128) 0:00:09.596 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.027) 0:00:09.623 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.040) 0:00:09.664 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.047) 0:00:09.711 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.053) 0:00:09.765 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.029) 0:00:09.795 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.063) 0:00:09.858 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.029) 0:00:09.887 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.796) 0:00:10.684 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.659) 0:00:11.343 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.028) 0:00:11.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.025) 0:00:11.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.023) 0:00:11.421 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.051) 0:00:11.472 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.026) 0:00:11.499 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.027) 0:00:11.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.052) 0:00:11.579 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.033) 0:00:11.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.025) 0:00:11.638 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.240) 0:00:11.879 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmp61wf7jrv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.247) 0:00:12.127 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.317) 0:00:12.444 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.035) 0:00:12.480 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.025) 0:00:12.505 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.022) 0:00:12.528 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.030) 0:00:12.559 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.150) 0:00:12.709 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.041) 0:00:12.751 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.070) 0:00:12.822 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.109) 0:00:12.931 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.226) 0:00:13.157 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.026) 0:00:13.183 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.039) 0:00:13.223 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.049) 0:00:13.272 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831445.9028957, "block_size": 4096, "blocks": 8, "ctime": 1704831445.9028957, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831445.9028957, "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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.141) 0:00:13.413 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.029) 0:00:13.443 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020439", "end": "2024-01-09 20:17:27.065728", "rc": 1, "start": "2024-01-09 20:17:27.045289" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.157) 0:00:13.600 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.022) 0:00:13.623 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003363", "end": "2024-01-09 20:17:27.232337", "rc": 0, "start": "2024-01-09 20:17:27.228974" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.151) 0:00:13.774 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.035) 0:00:13.809 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003183", "end": "2024-01-09 20:17:27.435848", "rc": 0, "start": "2024-01-09 20:17:27.432665" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.161) 0:00:13.970 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.034) 0:00:14.005 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.030) 0:00:14.036 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.029) 0:00:14.065 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.022) 0:00:14.087 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.021) 0:00:14.109 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.051) 0:00:14.160 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.042) 0:00:14.203 ******* 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.040860", "end": "2024-01-09 20:17:27.844563", "rc": 1, "start": "2024-01-09 20:17:27.803703" } 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_typezx_04ez4/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.182) 0:00:14.385 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.035) 0:00:14.421 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.029) 0:00:14.451 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.058) 0:00:14.509 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.058) 0:00:14.568 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.062) 0:00:14.630 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004585", "end": "2024-01-09 20:17:29.256143", "rc": 0, "start": "2024-01-09 20:17:28.251558" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:29 +0000 (0:00:01.161) 0:00:15.792 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.024) 0:00:15.816 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.045) 0:00:15.861 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.038) 0:00:15.900 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.035) 0:00:15.935 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.039) 0:00:15.975 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.027) 0:00:16.002 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.025) 0:00:16.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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.028) 0:00:16.056 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.756) 0:00:16.813 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.657) 0:00:17.471 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.022) 0:00:17.494 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.036) 0:00:17.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.023) 0:00:17.553 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.043) 0:00:17.597 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.021) 0:00:17.619 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.020) 0:00:17.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.025) 0:00:17.665 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.022) 0:00:17.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.023) 0:00:17.710 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.243) 0:00:17.954 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmplvj3esfc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.225) 0:00:18.179 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.222) 0:00:18.402 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.022) 0:00:18.424 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.024) 0:00:18.449 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.021) 0:00:18.470 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.042) 0:00:18.513 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.126) 0:00:18.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 [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.022) 0:00:18.662 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.037) 0:00:18.699 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.042) 0:00:18.742 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.040) 0:00:18.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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.029) 0:00:18.812 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.021) 0:00:18.834 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.022) 0:00:18.856 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.763) 0:00:19.619 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.817) 0:00:20.437 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.041) 0:00:20.478 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.022) 0:00:20.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.023) 0:00:20.525 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.072) 0:00:20.597 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.046) 0:00:20.643 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.034) 0:00:20.678 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.026) 0:00:20.705 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.021) 0:00:20.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.021) 0:00:20.748 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.222) 0:00:20.971 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpnx06o4bk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.208) 0:00:21.179 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.479) 0:00:21.659 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.037) 0:00:21.697 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.051) 0:00:21.749 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.032) 0:00:21.782 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.037) 0:00:21.819 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.130) 0:00:21.950 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.044) 0:00:21.995 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.033) 0:00:22.029 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831455.043567, "block_size": 4096, "blocks": 0, "ctime": 1704831455.0405672, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17488, "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": 1704831455.0405672, "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_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.134) 0:00:22.163 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.024) 0:00:22.188 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.058) 0:00:22.247 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.024) 0:00:22.272 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831454.8635736, "block_size": 4096, "blocks": 8, "ctime": 1704831451.863681, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831451.863681, "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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.133) 0:00:22.405 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.042) 0:00:22.447 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021152", "end": "2024-01-09 20:17:36.068508", "rc": 1, "start": "2024-01-09 20:17:36.047356" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.175) 0:00:22.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.039) 0:00:22.662 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003175", "end": "2024-01-09 20:17:36.280791", "rc": 0, "start": "2024-01-09 20:17:36.277616" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.216) 0:00:22.878 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.029) 0:00:22.908 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003318", "end": "2024-01-09 20:17:36.518304", "rc": 0, "start": "2024-01-09 20:17:36.514986" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.145) 0:00:23.053 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.027) 0:00:23.081 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.032) 0:00:23.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.028) 0:00:23.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.024) 0:00:23.168 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.020) 0:00:23.188 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.023) 0:00:23.212 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.052) 0:00:23.264 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045803", "end": "2024-01-09 20:17:36.918649", "rc": 0, "start": "2024-01-09 20:17:36.872846" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.190) 0:00:23.455 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.036) 0:00:23.491 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.036) 0:00:23.527 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.052) 0:00:23.580 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.034) 0:00:23.614 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.058) 0:00:23.673 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-01-09 20:17:37.271844", "rc": 0, "start": "2024-01-09 20:17:37.268692" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.132) 0:00:23.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.022) 0:00:23.827 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.021) 0:00:23.848 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.039) 0:00:23.888 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.034) 0:00:23.922 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.038) 0:00:23.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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.025) 0:00:23.986 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.021) 0:00:24.008 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.021) 0:00:24.029 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.766) 0:00:24.796 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.646) 0:00:25.442 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.028) 0:00:25.471 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.044) 0:00:25.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.032) 0:00:25.547 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.066) 0:00:25.614 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.050) 0:00:25.665 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.021) 0:00:25.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.035) 0:00:25.722 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.046) 0:00:25.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.042) 0:00:25.811 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.269) 0:00:26.080 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmp4_b41ee7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.256) 0:00:26.337 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.254) 0:00:26.592 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.022) 0:00:26.615 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.023) 0:00:26.639 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.033) 0:00:26.673 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.032) 0:00:26.705 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.143) 0:00:26.849 ******* 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_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.033) 0:00:26.882 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.037) 0:00:26.919 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.051) 0:00:26.971 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.041) 0:00:27.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.022) 0:00:27.035 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.025) 0:00:27.061 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:41 +0000 (0:00:00.794) 0:00:27.856 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:41 +0000 (0:00:00.629) 0:00:28.485 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:41 +0000 (0:00:00.022) 0:00:28.507 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.021) 0:00:28.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.020) 0:00:28.548 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.043) 0:00:28.592 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.020) 0:00:28.613 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.021) 0:00:28.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.026) 0:00:28.661 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.037) 0:00:28.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.032) 0:00:28.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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.258) 0:00:28.989 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmptlqrv3_u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.264) 0:00:29.254 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.467) 0:00:29.721 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.038) 0:00:29.760 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.046) 0:00:29.807 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.075) 0:00:29.882 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.028) 0:00:29.911 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.135) 0:00:30.047 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.047) 0:00:30.094 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.048) 0:00:30.142 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.040) 0:00:30.183 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.044) 0:00:30.228 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.033) 0:00:30.262 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.062) 0:00:30.324 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:44 +0000 (0:00:00.772) 0:00:31.096 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.647) 0:00:31.744 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.027) 0:00:31.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.021) 0:00:31.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.031) 0:00:31.823 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.051) 0:00:31.874 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.023) 0:00:31.897 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.033) 0:00:31.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.031) 0:00:31.962 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.029) 0:00:31.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.022) 0:00:32.014 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.251) 0:00:32.266 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpixrlp1aa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.228) 0:00:32.495 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.273) 0:00:32.768 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.024) 0:00:32.793 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.024) 0:00:32.818 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.025) 0:00:32.843 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.027) 0:00:32.870 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.131) 0:00:33.002 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.093) 0:00:33.096 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.038) 0:00:33.135 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831463.1192772, "block_size": 4096, "blocks": 0, "ctime": 1704831463.1172774, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17488, "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": 1704831463.1172774, "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_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.134) 0:00:33.270 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.023) 0:00:33.293 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.037) 0:00:33.331 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.059) 0:00:33.390 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.130) 0:00:33.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.022) 0:00:33.543 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021158", "end": "2024-01-09 20:17:47.159932", "rc": 1, "start": "2024-01-09 20:17:47.138774" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.150) 0:00:33.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.022) 0:00:33.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.022) 0:00:33.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.023) 0:00:33.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.022) 0:00:33.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.021) 0:00:33.807 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.023) 0:00:33.831 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.019) 0:00:33.850 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.022) 0:00:33.873 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.053) 0:00:33.926 ******* 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.045425", "end": "2024-01-09 20:17:47.595677", "rc": 0, "start": "2024-01-09 20:17:47.550252" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.208) 0:00:34.134 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.042) 0:00:34.177 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.064) 0:00:34.242 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.052) 0:00:34.295 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.038) 0:00:34.333 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.033) 0:00:34.366 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004355", "end": "2024-01-09 20:17:48.967428", "rc": 0, "start": "2024-01-09 20:17:47.963073" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:49 +0000 (0:00:01.161) 0:00:35.527 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.026) 0:00:35.554 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.023) 0:00:35.578 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.046) 0:00:35.625 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.037) 0:00:35.663 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.065) 0:00:35.728 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.029) 0:00:35.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.020) 0:00:35.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.021) 0:00:35.799 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.730) 0:00:36.530 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.655) 0:00:37.185 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.040) 0:00:37.226 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.033) 0:00:37.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.024) 0:00:37.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.058) 0:00:37.342 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.060) 0:00:37.403 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.028) 0:00:37.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.033) 0:00:37.464 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.023) 0:00:37.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.023) 0:00:37.511 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.239) 0:00:37.750 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmp34h2y6pc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.210) 0:00:37.961 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.223) 0:00:38.185 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.026) 0:00:38.211 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.021) 0:00:38.233 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.022) 0:00:38.255 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.020) 0:00:38.276 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.124) 0:00:38.400 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.024) 0:00:38.425 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.035) 0:00:38.460 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.068) 0:00:38.528 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.026) 0:00:38.555 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.034) 0:00:38.589 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.030) 0:00:38.620 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.731) 0:00:39.351 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.649) 0:00:40.001 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.047) 0:00:40.049 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.023) 0:00:40.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.023) 0:00:40.095 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.068) 0:00:40.164 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.054) 0:00:40.219 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.022) 0:00:40.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.023) 0:00:40.265 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.021) 0:00:40.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.020) 0:00:40.308 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.232) 0:00:40.540 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpwwq2o5la" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.212) 0:00:40.753 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.464) 0:00:41.217 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.029) 0:00:41.247 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.025) 0:00:41.272 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.024) 0:00:41.297 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.021) 0:00:41.319 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.129) 0:00:41.448 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.079) 0:00:41.527 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.130) 0:00:41.657 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.067) 0:00:41.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.045) 0:00:41.770 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.064) 0:00:41.835 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.769) 0:00:42.604 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.673) 0:00:43.277 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.023) 0:00:43.300 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.024) 0:00:43.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.022) 0:00:43.347 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.124) 0:00:43.471 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.025) 0:00:43.497 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.054) 0:00:43.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.048) 0:00:43.599 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.027) 0:00:43.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.045) 0:00:43.672 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.260) 0:00:43.933 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpkxxfx4qf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.233) 0:00:44.166 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.237) 0:00:44.404 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.027) 0:00:44.431 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.029) 0:00:44.461 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.033) 0:00:44.495 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.024) 0:00:44.520 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.146) 0:00:44.667 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.040) 0:00:44.707 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.048) 0:00:44.755 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.075) 0:00:44.830 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.026) 0:00:44.857 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.055) 0:00:44.912 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.029) 0:00:44.942 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.739) 0:00:45.681 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.629) 0:00:46.310 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.023) 0:00:46.334 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.022) 0:00:46.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.034) 0:00:46.391 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.053) 0:00:46.445 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.021) 0:00:46.467 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.044) 0:00:46.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.028) 0:00:46.541 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.040) 0:00:46.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.040) 0:00:46.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.248) 0:00:46.870 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpzd45_p2v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.211) 0:00:47.082 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.220) 0:00:47.303 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.021) 0:00:47.324 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.024) 0:00:47.349 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.024) 0:00:47.373 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.022) 0:00:47.395 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.141) 0:00:47.537 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.039) 0:00:47.577 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.046) 0:00:47.624 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.052) 0:00:47.677 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.135) 0:00:47.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.020) 0:00:47.833 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021687", "end": "2024-01-09 20:18:01.452052", "rc": 1, "start": "2024-01-09 20:18:01.430365" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.154) 0:00:47.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.026) 0:00:48.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.024) 0:00:48.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.029) 0:00:48.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.023) 0:00:48.092 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.044) 0:00:48.137 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.036) 0:00:48.173 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.031) 0:00:48.205 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.024) 0:00:48.229 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.040) 0:00:48.270 ******* 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.049758", "end": "2024-01-09 20:18:01.915665", "rc": 0, "start": "2024-01-09 20:18:01.865907" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.182) 0:00:48.452 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.038) 0:00:48.490 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.056) 0:00:48.547 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.051) 0:00:48.599 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.039) 0:00:48.638 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.033) 0:00:48.672 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003348", "end": "2024-01-09 20:18:02.273270", "rc": 0, "start": "2024-01-09 20:18:02.269922" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.148) 0:00:48.820 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.035) 0:00:48.856 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.025) 0:00:48.881 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.046) 0:00:48.927 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.038) 0:00:48.966 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.041) 0:00:49.007 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.026) 0:00:49.033 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.021) 0:00:49.055 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.045) 0:00:49.100 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.730) 0:00:49.831 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.628) 0:00:50.460 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.022) 0:00:50.482 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.024) 0:00:50.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.030) 0:00:50.537 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.044) 0:00:50.581 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.020) 0:00:50.602 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.021) 0:00:50.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.024) 0:00:50.648 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.021) 0:00:50.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.044) 0:00:50.714 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.222) 0:00:50.937 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpp5jfmjzj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.210) 0:00:51.147 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.225) 0:00:51.373 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.024) 0:00:51.398 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.036) 0:00:51.434 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.028) 0:00:51.462 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.025) 0:00:51.488 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.124) 0:00:51.612 ******* 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_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.023) 0:00:51.636 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.034) 0:00:51.670 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.038) 0:00:51.709 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.029) 0:00:51.739 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.022) 0:00:51.761 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.084) 0:00:51.846 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.753) 0:00:52.600 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.627) 0:00:53.227 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.022) 0:00:53.250 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.020) 0:00:53.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.027) 0:00:53.298 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.042) 0:00:53.341 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.024) 0:00:53.365 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.021) 0:00:53.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.024) 0:00:53.412 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.021) 0:00:53.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.045) 0:00:53.479 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.230) 0:00:53.710 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpjtr17zsn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.231) 0:00:53.941 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.459) 0:00:54.401 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.021) 0:00:54.422 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.022) 0:00:54.444 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.024) 0:00:54.468 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.022) 0:00:54.491 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.135) 0:00:54.626 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.045) 0:00:54.672 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.040) 0:00:54.713 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.031) 0:00:54.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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.059) 0:00:54.803 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.041) 0:00:54.845 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.736) 0:00:55.581 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.634) 0:00:56.216 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.023) 0:00:56.239 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.022) 0:00:56.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.020) 0:00:56.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.043) 0:00:56.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.021) 0:00:56.348 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.021) 0:00:56.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.047) 0:00:56.417 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.021) 0:00:56.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.021) 0:00:56.459 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.221) 0:00:56.680 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmpaatj_rya" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.212) 0:00:56.893 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.235) 0:00:57.129 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.024) 0:00:57.153 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.024) 0:00:57.178 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.031) 0:00:57.209 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.025) 0:00:57.235 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.128) 0:00:57.364 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.038) 0:00:57.402 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.036) 0:00:57.438 ******* included: /WORKDIR/git-route_typezx_04ez4/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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.064) 0:00:57.503 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.027) 0:00:57.531 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.020) 0:00:57.552 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.021) 0:00:57.574 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.737) 0:00:58.311 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.630) 0:00:58.942 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.022) 0:00:58.964 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.022) 0:00:58.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.023) 0:00:59.010 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.052) 0:00:59.063 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.046) 0:00:59.110 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.021) 0:00:59.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.026) 0:00:59.157 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.020) 0:00:59.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.020) 0:00:59.198 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.221) 0:00:59.420 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17164bk1xajs7/tmp1ehvbsg4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.208) 0:00:59.628 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.220) 0:00:59.849 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.021) 0:00:59.871 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.024) 0:00:59.896 ******* 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_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.024) 0:00:59.920 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.023) 0:00:59.944 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.203) 0:01:00.148 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.042) 0:01:00.190 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.063) 0:01:00.253 ******* 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.023) 0:01:00.277 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.130) 0:01:00.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.023) 0:01:00.431 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021112", "end": "2024-01-09 20:18:14.059605", "rc": 1, "start": "2024-01-09 20:18:14.038493" } 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_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.162) 0:01:00.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:01:00.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.023) 0:01:00.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:01:00.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:01:00.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:01:00.705 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:01:00.728 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.398439", "end": "2024-01-09 20:18:14.725257", "rc": 0, "start": "2024-01-09 20:18:14.326818" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.532) 0:01:01.260 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:01:01.283 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:01:01.305 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.026) 0:01:01.331 ******* 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_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.057) 0:01:01.388 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.041) 0:01:01.430 ******* 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.045823", "end": "2024-01-09 20:18:15.071647", "rc": 0, "start": "2024-01-09 20:18:15.025824" } 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:18:15 +0000 (0:00:00.163) 0:01:01.594 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.40s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.22s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.94s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.92s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---