# 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_typet_gc6b3d/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 00:03:52 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.506) 0:00:00.518 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.021) 0:00:00.539 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.226) 0:00:00.765 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.185) 0:00:00.951 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.019) 0:00:00.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.016) 0:00:00.987 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.030) 0:00:01.017 ****** 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_typet_gc6b3d/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:03:53 +0000 (0:00:00.181) 0:00:01.199 ****** 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_typet_gc6b3d/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.445) 0:00:01.645 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176286", "end": "2024-01-11 00:03:54.480991", "rc": 0, "start": "2024-01-11 00:03:54.304705" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.298) 0:00:01.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.010) 0:00:01.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.009) 0:00:01.963 ****** 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_typet_gc6b3d/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.009) 0:00:01.973 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.377) 0:00:02.350 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.010) 0:00:02.361 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.015) 0:00:02.376 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.010) 0:00:02.386 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.035) 0:00:02.422 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:03:54 +0000 (0:00:00.014) 0:00:02.436 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.014) 0:00:02.451 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003147", "end": "2024-01-11 00:03:55.109677", "rc": 0, "start": "2024-01-11 00:03:55.106530" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.119) 0:00:02.570 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.013) 0:00:02.583 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.010) 0:00:02.593 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.021) 0:00:02.615 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010778", "end": "2024-01-11 00:03:55.283393", "rc": 1, "start": "2024-01-11 00:03:55.272615" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.128) 0:00:02.744 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.014) 0:00:02.759 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.120) 0:00:02.879 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.011) 0:00:02.891 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.016) 0:00:02.908 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.031) 0:00:02.939 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.066) 0:00:03.005 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.012) 0:00:03.017 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.010) 0:00:03.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:03:55 +0000 (0:00:00.009) 0:00:03.037 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:03:56 +0000 (0:00:00.765) 0:00:03.802 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:03:57 +0000 (0:00:01.063) 0:00:04.866 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.022) 0:00:04.888 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.020) 0:00:04.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.020) 0:00:04.930 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.041) 0:00:04.971 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.020) 0:00:04.991 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.020) 0:00:05.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.023) 0:00:05.036 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.020) 0:00:05.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.019) 0:00:05.075 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:03:57 +0000 (0:00:00.348) 0:00:05.424 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpqynfh3rr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.228) 0:00:05.653 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.334) 0:00:05.987 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.020) 0:00:06.008 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.042) 0:00:06.051 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.022) 0:00:06.073 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.019) 0:00:06.092 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.173) 0:00:06.266 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.021) 0:00:06.288 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.039) 0:00:06.328 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.036) 0:00:06.365 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:03:58 +0000 (0:00:00.022) 0:00:06.387 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931438.5081234, "block_size": 4096, "blocks": 8, "ctime": 1704931438.5081234, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931438.5081234, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.134) 0:00:06.522 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.022) 0:00:06.544 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022869", "end": "2024-01-11 00:03:59.227267", "rc": 1, "start": "2024-01-11 00:03:59.204398" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.153) 0:00:06.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.021) 0:00:06.720 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003341", "end": "2024-01-11 00:03:59.383095", "rc": 0, "start": "2024-01-11 00:03:59.379754" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.135) 0:00:06.855 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.026) 0:00:06.881 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003467", "end": "2024-01-11 00:03:59.548495", "rc": 0, "start": "2024-01-11 00:03:59.545028" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.164) 0:00:07.046 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.027) 0:00:07.074 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.022) 0:00:07.096 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.023) 0:00:07.120 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.021) 0:00:07.141 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.023) 0:00:07.165 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.021) 0:00:07.186 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.041) 0:00:07.228 ****** 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.043960", "end": "2024-01-11 00:03:59.932600", "rc": 1, "start": "2024-01-11 00:03:59.888640" } 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_typet_gc6b3d/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.177) 0:00:07.405 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:03:59 +0000 (0:00:00.036) 0:00:07.441 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.022) 0:00:07.464 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.043) 0:00:07.508 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.034) 0:00:07.542 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.033) 0:00:07.576 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003444", "end": "2024-01-11 00:04:00.248376", "rc": 0, "start": "2024-01-11 00:04:00.244932" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.144) 0:00:07.720 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.022) 0:00:07.742 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.022) 0:00:07.765 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.043) 0:00:07.808 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007196", "end": "2024-01-11 00:04:00.477202", "rc": 1, "start": "2024-01-11 00:04:00.470006" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.139) 0:00:07.948 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.033) 0:00:07.981 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.132) 0:00:08.114 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.022) 0:00:08.137 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.038) 0:00:08.175 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.038) 0:00:08.214 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.037) 0:00:08.252 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.045) 0:00:08.297 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.020) 0:00:08.318 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:00 +0000 (0:00:00.020) 0:00:08.338 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:01 +0000 (0:00:00.690) 0:00:09.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.913) 0:00:09.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.022) 0:00:09.965 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.020) 0:00:09.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.021) 0:00:10.007 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.042) 0:00:10.049 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.041) 0:00:10.091 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.021) 0:00:10.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.024) 0:00:10.137 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.023) 0:00:10.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.020) 0:00:10.181 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:02 +0000 (0:00:00.227) 0:00:10.408 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmphs1uquiq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.218) 0:00:10.627 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.221) 0:00:10.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.020) 0:00:10.869 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.021) 0:00:10.891 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.022) 0:00:10.914 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.020) 0:00:10.934 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.125) 0:00:11.059 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.023) 0:00:11.083 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.064) 0:00:11.147 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.036) 0:00:11.184 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.134) 0:00:11.319 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.022) 0:00:11.342 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.036) 0:00:11.378 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:03 +0000 (0:00:00.020) 0:00:11.399 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931443.3759444, "block_size": 4096, "blocks": 8, "ctime": 1704931443.3759444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931443.3759444, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.133) 0:00:11.532 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.022) 0:00:11.555 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020588", "end": "2024-01-11 00:04:04.235823", "rc": 1, "start": "2024-01-11 00:04:04.215235" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.153) 0:00:11.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.021) 0:00:11.729 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003517", "end": "2024-01-11 00:04:04.396324", "rc": 0, "start": "2024-01-11 00:04:04.392807" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.139) 0:00:11.869 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.026) 0:00:11.896 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003448", "end": "2024-01-11 00:04:04.562097", "rc": 0, "start": "2024-01-11 00:04:04.558649" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.139) 0:00:12.035 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.026) 0:00:12.061 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.045) 0:00:12.107 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.023) 0:00:12.131 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.022) 0:00:12.153 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.020) 0:00:12.173 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.021) 0:00:12.195 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.042) 0:00:12.238 ****** 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.040594", "end": "2024-01-11 00:04:04.939077", "rc": 1, "start": "2024-01-11 00:04:04.898483" } 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_typet_gc6b3d/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.172) 0:00:12.410 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:04 +0000 (0:00:00.035) 0:00:12.446 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.021) 0:00:12.467 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.044) 0:00:12.512 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.033) 0:00:12.545 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.033) 0:00:12.579 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003177", "end": "2024-01-11 00:04:05.241679", "rc": 0, "start": "2024-01-11 00:04:05.238502" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.133) 0:00:12.712 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.047) 0:00:12.759 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.022) 0:00:12.782 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.037) 0:00:12.819 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.035) 0:00:12.854 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.039) 0:00:12.893 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.025) 0:00:12.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.020) 0:00:12.940 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.021) 0:00:12.961 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.677) 0:00:13.638 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.910) 0:00:14.549 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.022) 0:00:14.571 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.021) 0:00:14.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.022) 0:00:14.615 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.043) 0:00:14.658 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.022) 0:00:14.680 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.021) 0:00:14.701 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.024) 0:00:14.726 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.021) 0:00:14.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.021) 0:00:14.769 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.221) 0:00:14.990 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpqk2pdty5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.231) 0:00:15.222 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.276) 0:00:15.499 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.044) 0:00:15.543 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.022) 0:00:15.566 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.022) 0:00:15.588 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.022) 0:00:15.610 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.129) 0:00:15.740 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.022) 0:00:15.763 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.040) 0:00:15.803 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.043) 0:00:15.847 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.039) 0:00:15.887 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.026) 0:00:15.913 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.020) 0:00:15.933 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.023) 0:00:15.957 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:09 +0000 (0:00:00.678) 0:00:16.635 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.907) 0:00:17.542 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.021) 0:00:17.564 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.020) 0:00:17.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.021) 0:00:17.607 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.043) 0:00:17.650 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.021) 0:00:17.671 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.020) 0:00:17.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.026) 0:00:17.718 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.023) 0:00:17.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.021) 0:00:17.763 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.224) 0:00:17.987 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp_66qajsf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.219) 0:00:18.207 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.472) 0:00:18.679 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:18.701 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:18.722 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.022) 0:00:18.745 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:18.766 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.137) 0:00:18.904 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.043) 0:00:18.947 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.033) 0:00:18.981 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931451.1356587, "block_size": 4096, "blocks": 0, "ctime": 1704931451.133659, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1704931451.133659, "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_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.134) 0:00:19.116 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.022) 0:00:19.138 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.060) 0:00:19.199 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:19.220 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931450.9586654, "block_size": 4096, "blocks": 8, "ctime": 1704931448.006774, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931448.006774, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.134) 0:00:19.355 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.023) 0:00:19.379 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022104", "end": "2024-01-11 00:04:12.062169", "rc": 1, "start": "2024-01-11 00:04:12.040065" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.154) 0:00:19.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:19.556 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003423", "end": "2024-01-11 00:04:12.226860", "rc": 0, "start": "2024-01-11 00:04:12.223437" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.144) 0:00:19.701 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.028) 0:00:19.729 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003402", "end": "2024-01-11 00:04:12.397933", "rc": 0, "start": "2024-01-11 00:04:12.394531" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.143) 0:00:19.872 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.027) 0:00:19.900 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.024) 0:00:19.924 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.023) 0:00:19.947 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:19.970 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.019) 0:00:19.989 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:20.011 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.062) 0:00:20.073 ****** 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.045848", "end": "2024-01-11 00:04:12.783280", "rc": 0, "start": "2024-01-11 00:04:12.737432" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.181) 0:00:20.254 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.042) 0:00:20.297 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:20.319 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.046) 0:00:20.366 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.033) 0:00:20.400 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.033) 0:00:20.433 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003191", "end": "2024-01-11 00:04:13.097536", "rc": 0, "start": "2024-01-11 00:04:13.094345" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.135) 0:00:20.569 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.023) 0:00:20.592 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.020) 0:00:20.613 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.039) 0:00:20.652 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.059) 0:00:20.712 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.039) 0:00:20.751 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.025) 0:00:20.777 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.021) 0:00:20.798 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:13 +0000 (0:00:00.021) 0:00:20.820 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.701) 0:00:21.521 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.915) 0:00:22.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.022) 0:00:22.459 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.048) 0:00:22.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:22.529 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.052) 0:00:22.582 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:22.603 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.023) 0:00:22.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.026) 0:00:22.653 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:22.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:22.696 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.221) 0:00:22.917 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpw0o6emvx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.207) 0:00:23.125 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.225) 0:00:23.351 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.020) 0:00:23.371 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:23.393 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.022) 0:00:23.415 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.021) 0:00:23.436 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.129) 0:00:23.566 ****** 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_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.046) 0:00:23.613 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.034) 0:00:23.648 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.038) 0:00:23.686 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.024) 0:00:23.711 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.021) 0:00:23.732 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.020) 0:00:23.753 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.693) 0:00:24.447 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.933) 0:00:25.381 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.023) 0:00:25.404 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.020) 0:00:25.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.020) 0:00:25.446 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.042) 0:00:25.489 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.021) 0:00:25.510 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.022) 0:00:25.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.024) 0:00:25.556 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.023) 0:00:25.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.030) 0:00:25.610 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.230) 0:00:25.840 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpjwh6cn5p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.216) 0:00:26.057 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.462) 0:00:26.520 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.021) 0:00:26.541 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.045) 0:00:26.586 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.022) 0:00:26.608 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.020) 0:00:26.629 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.131) 0:00:26.760 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.037) 0:00:26.797 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.038) 0:00:26.836 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.039) 0:00:26.875 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.024) 0:00:26.900 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.020) 0:00:26.921 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.019) 0:00:26.940 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.685) 0:00:27.626 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.935) 0:00:28.562 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.022) 0:00:28.584 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.024) 0:00:28.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.022) 0:00:28.631 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.051) 0:00:28.682 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.023) 0:00:28.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.021) 0:00:28.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.024) 0:00:28.752 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.020) 0:00:28.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.020) 0:00:28.792 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.232) 0:00:29.025 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpo3ke2q08" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.229) 0:00:29.255 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.227) 0:00:29.483 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:29.504 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:29.526 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.022) 0:00:29.548 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:29.569 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.128) 0:00:29.698 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.041) 0:00:29.739 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.034) 0:00:29.774 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931458.9803703, "block_size": 4096, "blocks": 0, "ctime": 1704931458.9793704, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1704931458.9793704, "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_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.139) 0:00:29.914 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.022) 0:00:29.936 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.034) 0:00:29.970 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.020) 0:00:29.991 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.154) 0:00:30.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:30.167 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021705", "end": "2024-01-11 00:04:22.847732", "rc": 1, "start": "2024-01-11 00:04:22.826027" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.153) 0:00:30.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.022) 0:00:30.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.022) 0:00:30.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:30.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.021) 0:00:30.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.022) 0:00:30.429 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.022) 0:00:30.452 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.019) 0:00:30.472 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.022) 0:00:30.494 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.039) 0:00:30.533 ****** 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.047160", "end": "2024-01-11 00:04:23.239316", "rc": 0, "start": "2024-01-11 00:04:23.192156" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.178) 0:00:30.712 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.036) 0:00:30.748 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.022) 0:00:30.770 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.102) 0:00:30.873 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.034) 0:00:30.908 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.033) 0:00:30.941 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-01-11 00:04:23.603773", "rc": 0, "start": "2024-01-11 00:04:23.600528" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.133) 0:00:31.075 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.028) 0:00:31.104 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.031) 0:00:31.135 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.058) 0:00:31.194 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.037) 0:00:31.232 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.078) 0:00:31.310 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.026) 0:00:31.337 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.021) 0:00:31.358 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.022) 0:00:31.381 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.681) 0:00:32.062 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.919) 0:00:32.981 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.023) 0:00:33.005 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:33.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:33.048 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.043) 0:00:33.091 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:33.113 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:33.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.024) 0:00:33.159 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:33.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.041) 0:00:33.222 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.227) 0:00:33.450 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp64p3xokh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.220) 0:00:33.670 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.228) 0:00:33.898 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:33.919 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.022) 0:00:33.941 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:33.963 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:33.984 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.129) 0:00:34.114 ****** 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_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:34.136 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.034) 0:00:34.171 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.038) 0:00:34.209 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.025) 0:00:34.235 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.043) 0:00:34.278 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:34.300 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:27 +0000 (0:00:00.683) 0:00:34.983 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.917) 0:00:35.901 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.022) 0:00:35.923 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:35.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.025) 0:00:35.970 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.042) 0:00:36.013 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.043) 0:00:36.056 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:36.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.024) 0:00:36.102 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.020) 0:00:36.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.020) 0:00:36.143 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.224) 0:00:36.367 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp0_l3h2xz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.217) 0:00:36.585 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.468) 0:00:37.053 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.021) 0:00:37.074 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.021) 0:00:37.096 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.022) 0:00:37.118 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.020) 0:00:37.139 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.127) 0:00:37.266 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.034) 0:00:37.300 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.064) 0:00:37.364 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.025) 0:00:37.389 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.021) 0:00:37.411 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.021) 0:00:37.432 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:30 +0000 (0:00:00.694) 0:00:38.126 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.912) 0:00:39.039 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.021) 0:00:39.060 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.041) 0:00:39.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.021) 0:00:39.123 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.043) 0:00:39.166 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.021) 0:00:39.187 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.021) 0:00:39.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.024) 0:00:39.234 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.020) 0:00:39.254 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.020) 0:00:39.275 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.226) 0:00:39.501 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpqc9q48ul" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.220) 0:00:39.721 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.226) 0:00:39.948 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.021) 0:00:39.969 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.021) 0:00:39.990 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.021) 0:00:40.012 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.019) 0:00:40.032 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.129) 0:00:40.161 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.062) 0:00:40.224 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.039) 0:00:40.263 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.039) 0:00:40.302 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.027) 0:00:40.329 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.021) 0:00:40.351 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.020) 0:00:40.371 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.686) 0:00:41.058 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.926) 0:00:41.985 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.025) 0:00:42.011 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.024) 0:00:42.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.021) 0:00:42.057 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.041) 0:00:42.099 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.020) 0:00:42.119 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.020) 0:00:42.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.023) 0:00:42.164 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.024) 0:00:42.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.022) 0:00:42.211 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.233) 0:00:42.444 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmppdshadx2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.222) 0:00:42.666 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.220) 0:00:42.887 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.025) 0:00:42.912 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.055) 0:00:42.968 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.027) 0:00:42.995 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.021) 0:00:43.017 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.127) 0:00:43.145 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.038) 0:00:43.183 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.036) 0:00:43.219 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.021) 0:00:43.241 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.133) 0:00:43.375 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.020) 0:00:43.396 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021434", "end": "2024-01-11 00:04:36.077624", "rc": 1, "start": "2024-01-11 00:04:36.056190" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.152) 0:00:43.548 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.024) 0:00:43.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.023) 0:00:43.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.024) 0:00:43.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.023) 0:00:43.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.039) 0:00:43.684 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.057) 0:00:43.742 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.030) 0:00:43.772 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.025) 0:00:43.797 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.041) 0:00:43.839 ****** 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.046471", "end": "2024-01-11 00:04:36.546287", "rc": 0, "start": "2024-01-11 00:04:36.499816" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.178) 0:00:44.018 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.036) 0:00:44.054 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.022) 0:00:44.076 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.045) 0:00:44.122 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.034) 0:00:44.156 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.032) 0:00:44.189 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003482", "end": "2024-01-11 00:04:36.851954", "rc": 0, "start": "2024-01-11 00:04:36.848472" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.136) 0:00:44.325 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.023) 0:00:44.348 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.020) 0:00:44.369 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.067) 0:00:44.437 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.035) 0:00:44.472 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.039) 0:00:44.511 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.024) 0:00:44.536 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.021) 0:00:44.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.022) 0:00:44.579 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.687) 0:00:45.267 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.937) 0:00:46.204 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.022) 0:00:46.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.021) 0:00:46.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.020) 0:00:46.268 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.050) 0:00:46.319 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.025) 0:00:46.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.024) 0:00:46.368 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.027) 0:00:46.396 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.027) 0:00:46.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.021) 0:00:46.445 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.222) 0:00:46.667 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp83x7vzd6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.216) 0:00:46.884 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.221) 0:00:47.105 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.021) 0:00:47.126 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.022) 0:00:47.148 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.049) 0:00:47.197 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.023) 0:00:47.220 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.128) 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": [ { "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_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.022) 0:00:47.371 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.033) 0:00:47.405 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.039) 0:00:47.445 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.025) 0:00:47.470 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.021) 0:00:47.492 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.020) 0:00:47.512 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.687) 0:00:48.199 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.946) 0:00:49.146 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:49.168 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:49.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.021) 0:00:49.211 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.042) 0:00:49.254 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.021) 0:00:49.275 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.020) 0:00:49.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.025) 0:00:49.321 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:49.343 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.021) 0:00:49.365 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.224) 0:00:49.589 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp4ksvau6h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.217) 0:00:49.807 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.483) 0:00:50.291 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.021) 0:00:50.313 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.021) 0:00:50.334 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.022) 0:00:50.357 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.020) 0:00:50.377 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.124) 0:00:50.502 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.034) 0:00:50.537 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.039) 0:00:50.576 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.025) 0:00:50.601 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.020) 0:00:50.622 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.020) 0:00:50.643 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.702) 0:00:51.345 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.907) 0:00:52.253 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.025) 0:00:52.279 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.021) 0:00:52.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.021) 0:00:52.322 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.043) 0:00:52.366 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:52.387 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:52.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.023) 0:00:52.431 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.020) 0:00:52.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.020) 0:00:52.472 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.250) 0:00:52.722 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmpm5a25nj1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.209) 0:00:52.932 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.234) 0:00:53.166 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.021) 0:00:53.188 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.021) 0:00:53.209 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.022) 0:00:53.231 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.020) 0:00:53.252 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.125) 0:00:53.377 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.037) 0:00:53.415 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.033) 0:00:53.449 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.037) 0:00:53.487 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.025) 0:00:53.512 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.020) 0:00:53.533 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.044) 0:00:53.577 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.677) 0:00:54.255 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.910) 0:00:55.165 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.021) 0:00:55.187 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.020) 0:00:55.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.021) 0:00:55.229 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.042) 0:00:55.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.021) 0:00:55.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.020) 0:00:55.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.045) 0:00:55.360 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.022) 0:00:55.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.020) 0:00:55.404 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.223) 0:00:55.627 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1721664rh6ty2/tmp0zynajco" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.209) 0:00:55.837 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.219) 0:00:56.056 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.022) 0:00:56.078 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.027) 0:00:56.106 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.022) 0:00:56.128 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.021) 0:00:56.150 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.126) 0:00:56.277 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.043) 0:00:56.320 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.038) 0:00:56.358 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.055) 0:00:56.413 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.132) 0:00:56.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.022) 0:00:56.569 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020554", "end": "2024-01-11 00:04:49.249019", "rc": 1, "start": "2024-01-11 00:04:49.228465" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.151) 0:00:56.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.023) 0:00:56.743 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.022) 0:00:56.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.022) 0:00:56.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.022) 0:00:56.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.024) 0:00:56.836 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.025) 0:00:56.861 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.674716", "end": "2024-01-11 00:04:50.193743", "rc": 0, "start": "2024-01-11 00:04:49.519027" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.804) 0:00:57.666 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.021) 0:00:57.687 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.021) 0:00:57.709 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.025) 0:00:57.734 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.045) 0:00:57.779 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.039) 0:00:57.819 ****** 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.046629", "end": "2024-01-11 00:04:50.525366", "rc": 0, "start": "2024-01-11 00:04:50.478737" } 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 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.166) 0:00:57.986 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.89s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.24s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.10s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.90s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---