# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_type5zhiokmv/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-route_type5zhiokmv/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 02:28:35 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 02:28:36 +0000 (0:00:00.767) 0:00:00.779 ****** included: /WORKDIR/git-route_type5zhiokmv/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_type5zhiokmv/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:28:36 +0000 (0:00:00.020) 0:00:00.799 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 02:28:36 +0000 (0:00:00.257) 0:00:01.057 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.199) 0:00:01.257 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.013) 0:00:01.270 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.009) 0:00:01.279 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.021) 0:00:01.301 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.195) 0:00:01.496 ****** 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_type5zhiokmv/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:28:37 +0000 (0:00:00.447) 0:00:01.943 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193244", "end": "2024-01-11 02:28:38.049248", "rc": 0, "start": "2024-01-11 02:28:37.856004" } 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_type5zhiokmv/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.338) 0:00:02.282 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.029) 0:00:02.311 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.008) 0:00:02.320 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.017) 0:00:02.337 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.559) 0:00:02.896 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.027) 0:00:02.923 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.025) 0:00:02.949 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.025) 0:00:02.974 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.047) 0:00:03.022 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.021) 0:00:03.043 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:28:38 +0000 (0:00:00.035) 0:00:03.078 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005855", "end": "2024-01-11 02:28:40.086176", "rc": 0, "start": "2024-01-11 02:28:39.080321" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:28:40 +0000 (0:00:01.233) 0:00:04.312 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.020) 0:00:04.332 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.018) 0:00:04.350 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.031) 0:00:04.382 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.014612", "end": "2024-01-11 02:28:40.320916", "rc": 1, "start": "2024-01-11 02:28:40.306304" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.163) 0:00:04.546 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.019) 0:00:04.566 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.145) 0:00:04.711 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.019) 0:00:04.731 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.024) 0:00:04.755 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.031) 0:00:04.786 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.028) 0:00:04.815 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.032) 0:00:04.847 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.061) 0:00:04.909 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:28:40 +0000 (0:00:00.028) 0:00:04.937 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:28:41 +0000 (0:00:01.073) 0:00:06.011 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:28:42 +0000 (0:00:01.149) 0:00:07.161 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:28:42 +0000 (0:00:00.029) 0:00:07.190 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.030) 0:00:07.221 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.046) 0:00:07.268 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.053) 0:00:07.321 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.038) 0:00:07.360 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.031) 0:00:07.392 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.034) 0:00:07.426 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.030) 0:00:07.457 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.046) 0:00:07.503 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:28:43 +0000 (0:00:00.555) 0:00:08.059 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpgxrue0_2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.274) 0:00:08.334 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.423) 0:00:08.758 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.031) 0:00:08.789 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.034) 0:00:08.823 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.059) 0:00:08.883 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:28:44 +0000 (0:00:00.106) 0:00:08.989 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.252) 0:00:09.242 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.043) 0:00:09.286 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.074) 0:00:09.360 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.041) 0:00:09.402 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.037) 0:00:09.440 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940124.5210445, "block_size": 4096, "blocks": 8, "ctime": 1704940124.5210445, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940124.5210445, "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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.154) 0:00:09.594 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.033) 0:00:09.628 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.028348", "end": "2024-01-11 02:28:45.584215", "rc": 1, "start": "2024-01-11 02:28:45.555867" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.208) 0:00:09.836 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.051) 0:00:09.888 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004664", "end": "2024-01-11 02:28:45.819178", "rc": 0, "start": "2024-01-11 02:28:45.814514" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.166) 0:00:10.054 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:28:45 +0000 (0:00:00.030) 0:00:10.085 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004741", "end": "2024-01-11 02:28:46.015216", "rc": 0, "start": "2024-01-11 02:28:46.010475" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.180) 0:00:10.265 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.035) 0:00:10.301 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.031) 0:00:10.332 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.030) 0:00:10.363 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.030) 0:00:10.393 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.028) 0:00:10.421 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.029) 0:00:10.451 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.054) 0:00:10.505 ****** 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.054437", "end": "2024-01-11 02:28:46.551914", "rc": 1, "start": "2024-01-11 02:28:46.497477" } 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_type5zhiokmv/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.280) 0:00:10.786 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.039) 0:00:10.825 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.042) 0:00:10.868 ****** 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. '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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.053) 0:00:10.921 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.039) 0:00:10.961 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:28:46 +0000 (0:00:00.059) 0:00:11.020 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005947", "end": "2024-01-11 02:28:47.949196", "rc": 0, "start": "2024-01-11 02:28:46.943249" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:28:47 +0000 (0:00:01.164) 0:00:12.184 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.028) 0:00:12.213 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.028) 0:00:12.242 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.047) 0:00:12.289 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009018", "end": "2024-01-11 02:28:48.219032", "rc": 1, "start": "2024-01-11 02:28:48.210014" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.163) 0:00:12.453 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.038) 0:00:12.491 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.156) 0:00:12.647 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.029) 0:00:12.677 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.040) 0:00:12.718 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.046) 0:00:12.764 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.042) 0:00:12.807 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.054) 0:00:12.861 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.029) 0:00:12.890 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:28:48 +0000 (0:00:00.028) 0:00:12.919 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:28:49 +0000 (0:00:00.897) 0:00:13.816 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:28:50 +0000 (0:00:01.009) 0:00:14.826 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.029) 0:00:14.856 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.029) 0:00:14.885 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.028) 0:00:14.914 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.053) 0:00:14.968 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.029) 0:00:14.997 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.033) 0:00:15.031 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.042) 0:00:15.073 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.052) 0:00:15.126 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:28:50 +0000 (0:00:00.030) 0:00:15.157 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.307) 0:00:15.465 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpt0cbkptm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.284) 0:00:15.749 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.291) 0:00:16.041 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.102) 0:00:16.143 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.030) 0:00:16.173 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:28:51 +0000 (0:00:00.029) 0:00:16.203 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.029) 0:00:16.232 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.158) 0:00:16.391 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.030) 0:00:16.422 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.047) 0:00:16.470 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.040) 0:00:16.510 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.177) 0:00:16.688 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.030) 0:00:16.719 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.042) 0:00:16.761 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.030) 0:00:16.792 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940131.8019938, "block_size": 4096, "blocks": 8, "ctime": 1704940131.8019938, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940131.8019938, "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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.168) 0:00:16.960 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.043) 0:00:17.003 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022392", "end": "2024-01-11 02:28:52.944755", "rc": 1, "start": "2024-01-11 02:28:52.922363" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:28:52 +0000 (0:00:00.178) 0:00:17.181 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.095) 0:00:17.277 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004438", "end": "2024-01-11 02:28:53.234945", "rc": 0, "start": "2024-01-11 02:28:53.230507" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.194) 0:00:17.471 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.034) 0:00:17.505 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004584", "end": "2024-01-11 02:28:53.432360", "rc": 0, "start": "2024-01-11 02:28:53.427776" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.170) 0:00:17.676 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.031) 0:00:17.707 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.031) 0:00:17.738 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.030) 0:00:17.769 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.028) 0:00:17.797 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.025) 0:00:17.822 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.027) 0:00:17.849 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.041) 0:00:17.891 ****** 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.048848", "end": "2024-01-11 02:28:53.866202", "rc": 1, "start": "2024-01-11 02:28:53.817354" } 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_type5zhiokmv/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.214) 0:00:18.106 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.039) 0:00:18.146 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:28:53 +0000 (0:00:00.028) 0:00:18.175 ****** 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. '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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.051) 0:00:18.226 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.070) 0:00:18.296 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.038) 0:00:18.335 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004601", "end": "2024-01-11 02:28:54.261503", "rc": 0, "start": "2024-01-11 02:28:54.256902" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.161) 0:00:18.497 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.039) 0:00:18.537 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.030) 0:00:18.568 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.044) 0:00:18.612 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.047) 0:00:18.660 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.044) 0:00:18.704 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.033) 0:00:18.737 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.030) 0:00:18.768 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:28:54 +0000 (0:00:00.033) 0:00:18.801 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:28:55 +0000 (0:00:00.875) 0:00:19.677 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:28:56 +0000 (0:00:01.051) 0:00:20.728 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.029) 0:00:20.758 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.029) 0:00:20.787 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.028) 0:00:20.816 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.052) 0:00:20.869 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.029) 0:00:20.898 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.033) 0:00:20.932 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.033) 0:00:20.965 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.029) 0:00:20.995 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:28:56 +0000 (0:00:00.028) 0:00:21.023 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.289) 0:00:21.312 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp0zxq9fhl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.309) 0:00:21.621 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.275) 0:00:21.897 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.029) 0:00:21.926 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.030) 0:00:21.957 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.030) 0:00:21.988 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.031) 0:00:22.020 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:28:57 +0000 (0:00:00.169) 0:00:22.189 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.059) 0:00:22.249 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.042) 0:00:22.292 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.053) 0:00:22.345 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.055) 0:00:22.400 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.038) 0:00:22.439 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.032) 0:00:22.471 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:28:58 +0000 (0:00:00.037) 0:00:22.509 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:28:59 +0000 (0:00:00.897) 0:00:23.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.999) 0:00:24.405 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.030) 0:00:24.436 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.029) 0:00:24.465 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.029) 0:00:24.495 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.051) 0:00:24.546 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.056) 0:00:24.602 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.031) 0:00:24.633 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.036) 0:00:24.670 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.030) 0:00:24.700 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.027) 0:00:24.728 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:00 +0000 (0:00:00.284) 0:00:25.013 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp3arqkmov" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.280) 0:00:25.293 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.527) 0:00:25.820 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.032) 0:00:25.852 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.030) 0:00:25.883 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.036) 0:00:25.919 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.032) 0:00:25.951 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.173) 0:00:26.125 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:29:01 +0000 (0:00:00.068) 0:00:26.194 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.037) 0:00:26.232 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940141.4979265, "block_size": 4096, "blocks": 0, "ctime": 1704940141.4969263, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17667, "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": 1704940141.4969263, "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_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.162) 0:00:26.394 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.075) 0:00:26.470 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.044) 0:00:26.515 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.033) 0:00:26.548 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940141.3079276, "block_size": 4096, "blocks": 8, "ctime": 1704940137.659953, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940137.659953, "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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.176) 0:00:26.725 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.036) 0:00:26.761 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025190", "end": "2024-01-11 02:29:02.722277", "rc": 1, "start": "2024-01-11 02:29:02.697087" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.203) 0:00:26.964 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.040) 0:00:27.005 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004484", "end": "2024-01-11 02:29:02.934693", "rc": 0, "start": "2024-01-11 02:29:02.930209" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:29:02 +0000 (0:00:00.170) 0:00:27.175 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.042) 0:00:27.217 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004545", "end": "2024-01-11 02:29:03.200145", "rc": 0, "start": "2024-01-11 02:29:03.195600" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.218) 0:00:27.436 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.031) 0:00:27.468 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.032) 0:00:27.500 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.031) 0:00:27.531 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.030) 0:00:27.562 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.030) 0:00:27.593 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.032) 0:00:27.625 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.043) 0:00:27.669 ****** 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.053717", "end": "2024-01-11 02:29:03.679296", "rc": 0, "start": "2024-01-11 02:29:03.625579" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.301) 0:00:27.970 ****** included: /WORKDIR/git-route_type5zhiokmv/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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.041) 0:00:28.011 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.036) 0:00:28.048 ****** 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. '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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.051) 0:00:28.099 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.041) 0:00:28.141 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:29:03 +0000 (0:00:00.040) 0:00:28.181 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004843", "end": "2024-01-11 02:29:04.109053", "rc": 0, "start": "2024-01-11 02:29:04.104210" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.165) 0:00:28.346 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.034) 0:00:28.381 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.032) 0:00:28.413 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.046) 0:00:28.460 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.049) 0:00:28.509 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.046) 0:00:28.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 [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.097) 0:00:28.654 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.031) 0:00:28.685 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:04 +0000 (0:00:00.033) 0:00:28.719 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:05 +0000 (0:00:00.880) 0:00:29.599 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:06 +0000 (0:00:01.002) 0:00:30.602 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.031) 0:00:30.634 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.032) 0:00:30.666 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.029) 0:00:30.696 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.050) 0:00:30.746 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.030) 0:00:30.776 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.029) 0:00:30.806 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.035) 0:00:30.841 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.029) 0:00:30.871 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.026) 0:00:30.897 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:06 +0000 (0:00:00.262) 0:00:31.160 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpcxg_tfn9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.248) 0:00:31.408 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.306) 0:00:31.715 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.030) 0:00:31.745 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.030) 0:00:31.776 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.030) 0:00:31.807 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.028) 0:00:31.836 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.158) 0:00:31.994 ****** 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_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.029) 0:00:32.024 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.045) 0:00:32.070 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.044) 0:00:32.114 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.032) 0:00:32.146 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:07 +0000 (0:00:00.034) 0:00:32.180 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:08 +0000 (0:00:00.039) 0:00:32.220 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:08 +0000 (0:00:00.932) 0:00:33.153 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:10 +0000 (0:00:01.119) 0:00:34.273 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.034) 0:00:34.308 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.047) 0:00:34.356 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.054) 0:00:34.410 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.058) 0:00:34.469 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.034) 0:00:34.504 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.031) 0:00:34.535 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.037) 0:00:34.572 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.032) 0:00:34.605 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.032) 0:00:34.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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.292) 0:00:34.930 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmph6lwn9bs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:10 +0000 (0:00:00.252) 0:00:35.183 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.519) 0:00:35.703 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.034) 0:00:35.737 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.034) 0:00:35.771 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.053) 0:00:35.825 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.030) 0:00:35.856 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.160) 0:00:36.016 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.076) 0:00:36.093 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.050) 0:00:36.144 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:11 +0000 (0:00:00.046) 0:00:36.190 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:12 +0000 (0:00:00.036) 0:00:36.227 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:12 +0000 (0:00:00.033) 0:00:36.261 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:12 +0000 (0:00:00.038) 0:00:36.299 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:12 +0000 (0:00:00.891) 0:00:37.191 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:13 +0000 (0:00:00.995) 0:00:38.186 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.030) 0:00:38.216 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.030) 0:00:38.247 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.033) 0:00:38.280 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.055) 0:00:38.336 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.076) 0:00:38.412 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.035) 0:00:38.447 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.038) 0:00:38.486 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.032) 0:00:38.519 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.033) 0:00:38.552 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.269) 0:00:38.821 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpdeny9l67" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:14 +0000 (0:00:00.247) 0:00:39.069 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.254) 0:00:39.324 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.029) 0:00:39.354 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.031) 0:00:39.386 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.031) 0:00:39.417 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.034) 0:00:39.452 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.176) 0:00:39.628 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.060) 0:00:39.688 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.039) 0:00:39.728 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940151.3858576, "block_size": 4096, "blocks": 0, "ctime": 1704940151.3848577, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17667, "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": 1704940151.3848577, "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_type5zhiokmv/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.167) 0:00:39.896 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.067) 0:00:39.964 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.042) 0:00:40.006 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:29:15 +0000 (0:00:00.044) 0:00:40.050 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.167) 0:00:40.218 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.052) 0:00:40.270 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026430", "end": "2024-01-11 02:29:16.219179", "rc": 1, "start": "2024-01-11 02:29:16.192749" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.184) 0:00:40.455 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.028) 0:00:40.483 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.027) 0:00:40.511 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.028) 0:00:40.539 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.028) 0:00:40.568 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.027) 0:00:40.595 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.030) 0:00:40.626 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.025) 0:00:40.652 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.028) 0:00:40.681 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.041) 0:00:40.722 ****** 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.057837", "end": "2024-01-11 02:29:16.701296", "rc": 0, "start": "2024-01-11 02:29:16.643459" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:102 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.214) 0:00:40.936 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.069) 0:00:41.005 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.030) 0:00:41.036 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.068) 0:00:41.105 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.064) 0:00:41.169 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:29:16 +0000 (0:00:00.039) 0:00:41.208 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004656", "end": "2024-01-11 02:29:17.140209", "rc": 0, "start": "2024-01-11 02:29:17.135553" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.166) 0:00:41.375 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.031) 0:00:41.406 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.032) 0:00:41.439 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.050) 0:00:41.489 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.050) 0:00:41.540 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.048) 0:00:41.589 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.035) 0:00:41.625 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.028) 0:00:41.653 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:17 +0000 (0:00:00.060) 0:00:41.714 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:18 +0000 (0:00:00.881) 0:00:42.595 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:19 +0000 (0:00:01.007) 0:00:43.603 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.033) 0:00:43.637 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.033) 0:00:43.670 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.037) 0:00:43.707 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.058) 0:00:43.765 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.037) 0:00:43.803 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.034) 0:00:43.838 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.062) 0:00:43.900 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.046) 0:00:43.946 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:19 +0000 (0:00:00.045) 0:00:43.992 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.335) 0:00:44.328 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpf62q7b10" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.241) 0:00:44.569 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.263) 0:00:44.832 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.033) 0:00:44.866 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.037) 0:00:44.903 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.102) 0:00:45.005 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.030) 0:00:45.036 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:29:20 +0000 (0:00:00.162) 0:00:45.199 ****** 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_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.035) 0:00:45.235 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.061) 0:00:45.296 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.052) 0:00:45.349 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.045) 0:00:45.395 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.035) 0:00:45.430 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:21 +0000 (0:00:00.033) 0:00:45.464 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:22 +0000 (0:00:00.909) 0:00:46.373 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:23 +0000 (0:00:01.001) 0:00:47.374 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.031) 0:00:47.406 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.064) 0:00:47.470 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.030) 0:00:47.501 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.062) 0:00:47.563 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.039) 0:00:47.603 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.036) 0:00:47.639 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.046) 0:00:47.685 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.054) 0:00:47.740 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.032) 0:00:47.772 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:23 +0000 (0:00:00.269) 0:00:48.041 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp_pyx49ir" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.236) 0:00:48.278 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.507) 0:00:48.786 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.031) 0:00:48.817 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.031) 0:00:48.849 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.030) 0:00:48.880 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.030) 0:00:48.910 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.160) 0:00:49.070 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.048) 0:00:49.118 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:24 +0000 (0:00:00.079) 0:00:49.198 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:25 +0000 (0:00:00.035) 0:00:49.233 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:25 +0000 (0:00:00.032) 0:00:49.266 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:25 +0000 (0:00:00.048) 0:00:49.314 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:26 +0000 (0:00:00.900) 0:00:50.214 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:27 +0000 (0:00:01.018) 0:00:51.233 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.053) 0:00:51.286 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.033) 0:00:51.319 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.057) 0:00:51.377 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.083) 0:00:51.460 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.062) 0:00:51.523 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.043) 0:00:51.567 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.046) 0:00:51.614 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.050) 0:00:51.664 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.027) 0:00:51.692 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:27 +0000 (0:00:00.371) 0:00:52.063 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp_0vya_1b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.254) 0:00:52.318 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.272) 0:00:52.590 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.035) 0:00:52.625 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.082) 0:00:52.707 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.048) 0:00:52.756 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.039) 0:00:52.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.171) 0:00:52.967 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.047) 0:00:53.015 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.056) 0:00:53.071 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.051) 0:00:53.123 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.034) 0:00:53.157 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:28 +0000 (0:00:00.031) 0:00:53.189 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:29 +0000 (0:00:00.031) 0:00:53.220 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:29 +0000 (0:00:00.958) 0:00:54.178 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:30 +0000 (0:00:01.012) 0:00:55.190 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.044) 0:00:55.234 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.030) 0:00:55.265 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.032) 0:00:55.298 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.052) 0:00:55.351 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.030) 0:00:55.382 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.030) 0:00:55.412 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.038) 0:00:55.451 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.031) 0:00:55.482 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.027) 0:00:55.510 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.268) 0:00:55.778 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp_i2evcj8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:31 +0000 (0:00:00.322) 0:00:56.101 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.256) 0:00:56.357 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.031) 0:00:56.389 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.036) 0:00:56.426 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.070) 0:00:56.496 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.030) 0:00:56.527 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.162) 0:00:56.689 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.045) 0:00:56.734 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.046) 0:00:56.781 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.032) 0:00:56.813 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.153) 0:00:56.967 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.028) 0:00:56.995 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024927", "end": "2024-01-11 02:29:32.943000", "rc": 1, "start": "2024-01-11 02:29:32.918073" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:29:32 +0000 (0:00:00.181) 0:00:57.177 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.034) 0:00:57.211 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.028) 0:00:57.240 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.032) 0:00:57.272 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.032) 0:00:57.305 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.030) 0:00:57.336 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.033) 0:00:57.369 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.034) 0:00:57.403 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.066) 0:00:57.470 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.043) 0:00:57.513 ****** 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.053604", "end": "2024-01-11 02:29:33.485243", "rc": 0, "start": "2024-01-11 02:29:33.431639" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tests_states.yml:124 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.207) 0:00:57.721 ****** included: /WORKDIR/git-route_type5zhiokmv/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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.045) 0:00:57.766 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.030) 0:00:57.797 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.100) 0:00:57.897 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.044) 0:00:57.942 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.072) 0:00:58.015 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004575", "end": "2024-01-11 02:29:33.953863", "rc": 0, "start": "2024-01-11 02:29:33.949288" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:29:33 +0000 (0:00:00.174) 0:00:58.190 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.035) 0:00:58.225 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.032) 0:00:58.257 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.046) 0:00:58.304 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.105) 0:00:58.409 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.051) 0:00:58.461 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.035) 0:00:58.497 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.052) 0:00:58.549 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:34 +0000 (0:00:00.043) 0:00:58.593 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:35 +0000 (0:00:00.861) 0:00:59.454 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.994) 0:01:00.448 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.031) 0:01:00.480 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.030) 0:01:00.510 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.037) 0:01:00.548 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.056) 0:01:00.605 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.029) 0:01:00.634 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.029) 0:01:00.664 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.034) 0:01:00.698 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.032) 0:01:00.731 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.067) 0:01:00.799 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:36 +0000 (0:00:00.278) 0:01:01.077 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmp73o2gnp_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.305) 0:01:01.383 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.254) 0:01:01.637 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.033) 0:01:01.671 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.033) 0:01:01.704 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.031) 0:01:01.736 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.030) 0:01:01.767 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.163) 0:01:01.930 ****** 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_type5zhiokmv/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.031) 0:01:01.961 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.048) 0:01:02.010 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.047) 0:01:02.058 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.035) 0:01:02.093 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.040) 0:01:02.134 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:37 +0000 (0:00:00.051) 0:01:02.186 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:38 +0000 (0:00:00.931) 0:01:03.118 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:39 +0000 (0:00:00.999) 0:01:04.117 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:39 +0000 (0:00:00.029) 0:01:04.147 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:39 +0000 (0:00:00.029) 0:01:04.176 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:39 +0000 (0:00:00.030) 0:01:04.207 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.056) 0:01:04.263 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.038) 0:01:04.301 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.031) 0:01:04.333 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.036) 0:01:04.369 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.030) 0:01:04.399 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.027) 0:01:04.427 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.266) 0:01:04.693 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpnbiu0anh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:40 +0000 (0:00:00.243) 0:01:04.936 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.514) 0:01:05.450 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.035) 0:01:05.486 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.037) 0:01:05.523 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.043) 0:01:05.567 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.085) 0:01:05.652 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.169) 0:01:05.821 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.057) 0:01:05.878 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.054) 0:01:05.933 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.051) 0:01:05.984 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.051) 0:01:06.036 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:41 +0000 (0:00:00.062) 0:01:06.099 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:42 +0000 (0:00:00.898) 0:01:06.997 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:43 +0000 (0:00:01.012) 0:01:08.009 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:43 +0000 (0:00:00.046) 0:01:08.055 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:43 +0000 (0:00:00.061) 0:01:08.117 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:43 +0000 (0:00:00.050) 0:01:08.168 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.080) 0:01:08.248 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.117) 0:01:08.366 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.031) 0:01:08.397 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.034) 0:01:08.432 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.030) 0:01:08.462 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.029) 0:01:08.492 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.269) 0:01:08.762 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpnvt2k1mg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:44 +0000 (0:00:00.264) 0:01:09.026 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.270) 0:01:09.297 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.033) 0:01:09.331 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.040) 0:01:09.371 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.050) 0:01:09.421 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.049) 0:01:09.470 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.258) 0:01:09.729 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.054) 0:01:09.784 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.048) 0:01:09.832 ****** included: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.081) 0:01:09.914 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.035) 0:01:09.949 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.038) 0:01:09.988 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:29:45 +0000 (0:00:00.034) 0:01:10.022 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:29:46 +0000 (0:00:00.876) 0:01:10.899 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:29:47 +0000 (0:00:01.002) 0:01:11.902 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:29:47 +0000 (0:00:00.032) 0:01:11.934 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:29:47 +0000 (0:00:00.045) 0:01:11.979 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:29:47 +0000 (0:00:00.041) 0:01:12.021 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:29:47 +0000 (0:00:00.064) 0:01:12.086 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:29:47 +0000 (0:00:00.061) 0:01:12.147 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.072) 0:01:12.220 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.041) 0:01:12.262 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.066) 0:01:12.329 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.053) 0:01:12.382 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.361) 0:01:12.743 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11195i9ytj5tk/tmpk7vl0nju" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:29:48 +0000 (0:00:00.288) 0:01:13.031 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.258) 0:01:13.290 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.031) 0:01:13.322 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.055) 0:01:13.377 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.034) 0:01:13.411 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.031) 0:01:13.443 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.176) 0:01:13.619 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.051) 0:01:13.671 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.047) 0:01:13.719 ****** 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.047) 0:01:13.767 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.164) 0:01:13.931 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.034) 0:01:13.966 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025411", "end": "2024-01-11 02:29:49.924710", "rc": 1, "start": "2024-01-11 02:29:49.899299" } 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_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.193) 0:01:14.160 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:29:49 +0000 (0:00:00.031) 0:01:14.191 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:29:50 +0000 (0:00:00.032) 0:01:14.223 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:29:50 +0000 (0:00:00.072) 0:01:14.296 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:29:50 +0000 (0:00:00.028) 0:01:14.325 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:29:50 +0000 (0:00:00.029) 0:01:14.354 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:29:50 +0000 (0:00:00.030) 0:01:14.384 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.695287", "end": "2024-01-11 02:29:50.998769", "rc": 0, "start": "2024-01-11 02:29:50.303482" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.853) 0:01:15.238 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.034) 0:01:15.273 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.032) 0:01:15.306 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.042) 0:01:15.348 ****** 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_type5zhiokmv/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.041) 0:01:15.389 ****** included: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.063) 0:01:15.453 ****** 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.058191", "end": "2024-01-11 02:29:51.502348", "rc": 0, "start": "2024-01-11 02:29:51.444157" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Thursday 11 January 2024 02:29:51 +0000 (0:00:00.315) 0:01:15.769 ****** =============================================================================== Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_type5zhiokmv/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /WORKDIR/git-route_type5zhiokmv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---