# 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_type9uyytcca/.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_type9uyytcca/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 16:41:10 +0000 (0:00:00.022) 0:00:00.022 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type9uyytcca/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 16:41:10 +0000 (0:00:00.716) 0:00:00.738 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:41:10 +0000 (0:00:00.011) 0:00:00.750 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.252) 0:00:01.002 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.209) 0:00:01.212 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.016) 0:00:01.228 ******* 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_type9uyytcca/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.010) 0:00:01.238 ******* included: /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.020) 0:00:01.259 ******* 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_type9uyytcca/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:41:11 +0000 (0:00:00.188) 0:00:01.448 ******* 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_type9uyytcca/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.475) 0:00:01.924 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.174991", "end": "2024-01-09 16:41:12.372342", "rc": 0, "start": "2024-01-09 16:41:12.197351" } 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_type9uyytcca/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.316) 0:00:02.241 ******* 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_type9uyytcca/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.011) 0:00:02.252 ******* 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_type9uyytcca/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.011) 0:00:02.263 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.025) 0:00:02.288 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 16:41:12 +0000 (0:00:00.548) 0:00:02.837 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.019) 0:00:02.857 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.029) 0:00:02.886 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.019) 0:00:02.905 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.046) 0:00:02.952 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.022) 0:00:02.974 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.024) 0:00:02.999 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2024-01-09 16:41:13.286638", "rc": 0, "start": "2024-01-09 16:41:13.283013" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.154) 0:00:03.153 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.019) 0:00:03.173 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.019) 0:00:03.192 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.026) 0:00:03.218 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010972", "end": "2024-01-09 16:41:13.494336", "rc": 1, "start": "2024-01-09 16:41:13.483364" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.152) 0:00:03.371 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.027) 0:00:03.399 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.136) 0:00:03.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.021) 0:00:03.557 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.042) 0:00:03.599 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.052) 0:00:03.652 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.034) 0:00:03.686 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.030) 0:00:03.717 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.057) 0:00:03.774 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:13 +0000 (0:00:00.045) 0:00:03.820 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:14 +0000 (0:00:00.885) 0:00:04.705 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:15 +0000 (0:00:01.129) 0:00:05.834 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.053) 0:00:05.888 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.041) 0:00:05.929 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.029) 0:00:05.958 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.056) 0:00:06.015 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.028) 0:00:06.043 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.031) 0:00:06.075 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.033) 0:00:06.108 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.029) 0:00:06.138 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.046) 0:00:06.185 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.417) 0:00:06.602 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpl6we7f0r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.263) 0:00:06.866 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.457) 0:00:07.323 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.030) 0:00:07.354 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.034) 0:00:07.388 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.031) 0:00:07.420 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.043) 0:00:07.463 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.254) 0:00:07.717 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.028) 0:00:07.746 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.043) 0:00:07.789 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.041) 0:00:07.830 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.034) 0:00:07.865 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818477.4382732, "block_size": 4096, "blocks": 8, "ctime": 1704818477.4382732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818477.4382732, "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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.149) 0:00:08.014 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.031) 0:00:08.045 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024342", "end": "2024-01-09 16:41:18.336223", "rc": 1, "start": "2024-01-09 16:41:18.311881" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.170) 0:00:08.216 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.106) 0:00:08.322 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003655", "end": "2024-01-09 16:41:18.600867", "rc": 0, "start": "2024-01-09 16:41:18.597212" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.159) 0:00:08.481 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.040) 0:00:08.522 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003435", "end": "2024-01-09 16:41:18.805164", "rc": 0, "start": "2024-01-09 16:41:18.801729" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.158) 0:00:08.680 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.031) 0:00:08.711 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.030) 0:00:08.742 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.031) 0:00:08.773 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.028) 0:00:08.802 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.031) 0:00:08.833 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.028) 0:00:08.861 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.042) 0:00:08.904 ******* 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.046369", "end": "2024-01-09 16:41:19.217755", "rc": 1, "start": "2024-01-09 16:41:19.171386" } 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_type9uyytcca/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.188) 0:00:09.092 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.040) 0:00:09.133 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.031) 0:00:09.164 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.057) 0:00:09.221 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.083) 0:00:09.304 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.058) 0:00:09.363 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-01-09 16:41:19.648442", "rc": 0, "start": "2024-01-09 16:41:19.644712" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.181) 0:00:09.544 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.044) 0:00:09.589 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.049) 0:00:09.638 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.057) 0:00:09.696 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007471", "end": "2024-01-09 16:41:19.993039", "rc": 1, "start": "2024-01-09 16:41:19.985568" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.173) 0:00:09.869 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.037) 0:00:09.907 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.141) 0:00:10.048 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.029) 0:00:10.078 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.040) 0:00:10.118 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.048) 0:00:10.167 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.062) 0:00:10.230 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.111) 0:00:10.342 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.056) 0:00:10.398 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.060) 0:00:10.458 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.802) 0:00:11.261 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.960) 0:00:12.222 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.044) 0:00:12.267 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.064) 0:00:12.331 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.048) 0:00:12.379 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.098) 0:00:12.478 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.049) 0:00:12.527 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.031) 0:00:12.559 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.044) 0:00:12.604 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.032) 0:00:12.636 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.042) 0:00:12.678 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.274) 0:00:12.952 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpfqwnx6pv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.282) 0:00:13.234 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.323) 0:00:13.558 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.030) 0:00:13.588 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.033) 0:00:13.622 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.031) 0:00:13.653 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.030) 0:00:13.684 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.156) 0:00:13.840 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.047) 0:00:13.887 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.044) 0:00:13.931 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.040) 0:00:13.972 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.141) 0:00:14.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.028) 0:00:14.142 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.040) 0:00:14.183 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.036) 0:00:14.220 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818483.6240864, "block_size": 4096, "blocks": 8, "ctime": 1704818483.6240864, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818483.6240864, "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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.185) 0:00:14.405 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.029) 0:00:14.435 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022010", "end": "2024-01-09 16:41:24.732534", "rc": 1, "start": "2024-01-09 16:41:24.710524" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.199) 0:00:14.634 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.033) 0:00:14.667 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003525", "end": "2024-01-09 16:41:24.961257", "rc": 0, "start": "2024-01-09 16:41:24.957732" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.168) 0:00:14.836 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.033) 0:00:14.870 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003384", "end": "2024-01-09 16:41:25.183807", "rc": 0, "start": "2024-01-09 16:41:25.180423" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.205) 0:00:15.075 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.042) 0:00:15.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.040) 0:00:15.158 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.056) 0:00:15.215 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.039) 0:00:15.254 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.063) 0:00:15.318 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.062) 0:00:15.380 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.084) 0:00:15.464 ******* 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.042652", "end": "2024-01-09 16:41:25.819446", "rc": 1, "start": "2024-01-09 16:41:25.776794" } 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_type9uyytcca/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.232) 0:00:15.696 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.052) 0:00:15.749 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.035) 0:00:15.784 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.054) 0:00:15.839 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.065) 0:00:15.905 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.039) 0:00:15.944 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003580", "end": "2024-01-09 16:41:26.216229", "rc": 0, "start": "2024-01-09 16:41:26.212649" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.159) 0:00:16.103 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.035) 0:00:16.139 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.042) 0:00:16.181 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.051) 0:00:16.233 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.069) 0:00:16.302 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.060) 0:00:16.362 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.045) 0:00:16.408 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.053) 0:00:16.461 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.062) 0:00:16.524 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.753) 0:00:17.277 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:28 +0000 (0:00:01.055) 0:00:18.332 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.061) 0:00:18.394 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.074) 0:00:18.469 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.068) 0:00:18.538 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.081) 0:00:18.620 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.034) 0:00:18.654 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.044) 0:00:18.698 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.038) 0:00:18.737 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.033) 0:00:18.770 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.031) 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.324) 0:00:19.125 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpvkuvopkt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.297) 0:00:19.423 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.262) 0:00:19.685 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.045) 0:00:19.731 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.054) 0:00:19.786 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.031) 0:00:19.817 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.042) 0:00:19.859 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.192) 0:00:20.052 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.031) 0:00:20.084 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.043) 0:00:20.128 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.063) 0:00:20.191 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.045) 0:00:20.237 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.034) 0:00:20.271 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.031) 0:00:20.303 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.030) 0:00:20.334 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.743) 0:00:21.077 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.960) 0:00:22.037 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.030) 0:00:22.068 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.035) 0:00:22.103 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.030) 0:00:22.134 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.144) 0:00:22.278 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.073) 0:00:22.352 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.042) 0:00:22.395 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.045) 0:00:22.440 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.048) 0:00:22.489 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.072) 0:00:22.561 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.268) 0:00:22.830 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpu6rrcik3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.276) 0:00:23.106 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.551) 0:00:23.657 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.037) 0:00:23.695 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.042) 0:00:23.737 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.031) 0:00:23.769 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.043) 0:00:23.813 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.158) 0:00:23.971 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.047) 0:00:24.019 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.046) 0:00:24.065 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818493.7077816, "block_size": 4096, "blocks": 0, "ctime": 1704818493.7067816, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17743, "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": 1704818493.7067816, "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_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.189) 0:00:24.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.034) 0:00:24.289 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.050) 0:00:24.339 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.028) 0:00:24.368 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818493.5337868, "block_size": 4096, "blocks": 8, "ctime": 1704818489.8058994, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818489.8058994, "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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.153) 0:00:24.521 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.031) 0:00:24.553 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022461", "end": "2024-01-09 16:41:34.847529", "rc": 1, "start": "2024-01-09 16:41:34.825068" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.170) 0:00:24.723 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.028) 0:00:24.752 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003496", "end": "2024-01-09 16:41:35.022982", "rc": 0, "start": "2024-01-09 16:41:35.019486" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.146) 0:00:24.898 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.044) 0:00:24.943 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003604", "end": "2024-01-09 16:41:35.220496", "rc": 0, "start": "2024-01-09 16:41:35.216892" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.164) 0:00:25.107 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.038) 0:00:25.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.047) 0:00:25.193 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.043) 0:00:25.236 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.045) 0:00:25.282 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.035) 0:00:25.318 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.036) 0:00:25.354 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.083) 0:00:25.438 ******* 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.048870", "end": "2024-01-09 16:41:35.764178", "rc": 0, "start": "2024-01-09 16:41:35.715308" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.201) 0:00:25.639 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.045) 0:00:25.685 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.049) 0:00:25.735 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.081) 0:00:25.816 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.044) 0:00:25.861 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.045) 0:00:25.907 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-01-09 16:41:36.186767", "rc": 0, "start": "2024-01-09 16:41:36.183114" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.161) 0:00:26.068 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.040) 0:00:26.109 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.032) 0:00:26.141 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.100) 0:00:26.241 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.079) 0:00:26.321 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.102) 0:00:26.423 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.036) 0:00:26.459 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.031) 0:00:26.491 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.033) 0:00:26.524 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.771) 0:00:27.295 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:38 +0000 (0:00:01.132) 0:00:28.428 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.032) 0:00:28.461 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.045) 0:00:28.506 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.051) 0:00:28.558 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.059) 0:00:28.618 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.031) 0:00:28.649 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.032) 0:00:28.682 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.035) 0:00:28.718 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.031) 0:00:28.749 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.040) 0:00:28.789 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.311) 0:00:29.101 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpdzsq5dq7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.334) 0:00:29.435 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.370) 0:00:29.806 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.038) 0:00:29.845 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.037) 0:00:29.883 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.048) 0:00:29.932 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.041) 0:00:29.973 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.173) 0:00:30.146 ******* 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_type9uyytcca/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.036) 0:00:30.183 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.048) 0:00:30.231 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.044) 0:00:30.276 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.032) 0:00:30.309 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.028) 0:00:30.337 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.030) 0:00:30.368 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:41 +0000 (0:00:00.738) 0:00:31.106 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:42 +0000 (0:00:01.037) 0:00:32.143 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.030) 0:00:32.174 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.044) 0:00:32.218 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.034) 0:00:32.253 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.069) 0:00:32.322 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.041) 0:00:32.363 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.037) 0:00:32.401 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.035) 0:00:32.437 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.038) 0:00:32.475 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.027) 0:00:32.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.248) 0:00:32.752 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpytxh2po4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.274) 0:00:33.027 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.470) 0:00:33.497 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.031) 0:00:33.528 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.031) 0:00:33.559 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.031) 0:00:33.591 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.040) 0:00:33.631 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.191) 0:00:33.823 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.046) 0:00:33.869 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.075) 0:00:33.944 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.059) 0:00:34.004 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.040) 0:00:34.045 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.056) 0:00:34.101 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.035) 0:00:34.137 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.757) 0:00:34.894 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:46 +0000 (0:00:01.063) 0:00:35.957 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.068) 0:00:36.025 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.033) 0:00:36.059 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.033) 0:00:36.092 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.101) 0:00:36.194 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.035) 0:00:36.229 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.061) 0:00:36.291 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.064) 0:00:36.356 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.067) 0:00:36.423 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.042) 0:00:36.466 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.256) 0:00:36.722 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmp3_siiuc6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.239) 0:00:36.962 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.236) 0:00:37.199 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.031) 0:00:37.231 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.030) 0:00:37.261 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.030) 0:00:37.291 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.034) 0:00:37.325 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.152) 0:00:37.478 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.070) 0:00:37.548 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.049) 0:00:37.598 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818503.5594838, "block_size": 4096, "blocks": 0, "ctime": 1704818503.5554838, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17743, "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": 1704818503.5554838, "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_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.210) 0:00:37.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.039) 0:00:37.848 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.066) 0:00:37.914 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.038) 0:00:37.953 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.195) 0:00:38.149 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.027) 0:00:38.177 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021957", "end": "2024-01-09 16:41:48.465422", "rc": 1, "start": "2024-01-09 16:41:48.443465" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.169) 0:00:38.347 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.041) 0:00:38.388 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.034) 0:00:38.422 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.047) 0:00:38.469 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.054) 0:00:38.524 ******* 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_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.057) 0:00:38.582 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.041) 0:00:38.623 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.032) 0:00:38.656 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.039) 0:00:38.695 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.045) 0:00:38.740 ******* 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.050633", "end": "2024-01-09 16:41:49.095904", "rc": 0, "start": "2024-01-09 16:41:49.045271" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:102 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.234) 0:00:38.975 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.101) 0:00:39.077 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.044) 0:00:39.122 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.076) 0:00:39.199 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.073) 0:00:39.273 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.073) 0:00:39.346 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-01-09 16:41:49.617790", "rc": 0, "start": "2024-01-09 16:41:49.614252" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.153) 0:00:39.500 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.034) 0:00:39.534 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.035) 0:00:39.570 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.061) 0:00:39.631 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.055) 0:00:39.686 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.050) 0:00:39.737 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.048) 0:00:39.785 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.077) 0:00:39.863 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.035) 0:00:39.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 : Check which packages are installed] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.751) 0:00:40.651 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.971) 0:00:41.622 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.044) 0:00:41.667 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.048) 0:00:41.715 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.036) 0:00:41.751 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.061) 0:00:41.813 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.030) 0:00:41.843 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.030) 0:00:41.874 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.041) 0:00:41.915 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.037) 0:00:41.953 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.030) 0:00:41.983 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.265) 0:00:42.249 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpxk2xkz3m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.246) 0:00:42.496 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.271) 0:00:42.767 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.063) 0:00:42.830 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.030) 0:00:42.861 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.030) 0:00:42.892 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.036) 0:00:42.928 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.157) 0:00:43.086 ******* 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_type9uyytcca/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.033) 0:00:43.120 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.071) 0:00:43.191 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.049) 0:00:43.241 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.035) 0:00:43.277 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.032) 0:00:43.310 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.040) 0:00:43.350 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.750) 0:00:44.100 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:55 +0000 (0:00:01.034) 0:00:45.135 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.124) 0:00:45.260 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.084) 0:00:45.345 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.067) 0:00:45.413 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.117) 0:00:45.530 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.071) 0:00:45.601 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.044) 0:00:45.646 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.051) 0:00:45.697 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.048) 0:00:45.746 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.032) 0:00:45.778 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:41:56 +0000 (0:00:00.305) 0:00:46.084 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpbwerp7u6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:41:56 +0000 (0:00:00.287) 0:00:46.372 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.503) 0:00:46.875 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.050) 0:00:46.926 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.034) 0:00:46.961 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.032) 0:00:46.993 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.034) 0:00:47.028 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.153) 0:00:47.182 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.139) 0:00:47.321 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.055) 0:00:47.376 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.046) 0:00:47.423 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.040) 0:00:47.464 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.042) 0:00:47.506 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.802) 0:00:48.308 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.956) 0:00:49.264 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.030) 0:00:49.295 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.033) 0:00:49.329 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.036) 0:00:49.365 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.077) 0:00:49.442 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.038) 0:00:49.480 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.035) 0:00:49.515 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.049) 0:00:49.565 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.081) 0:00:49.647 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.039) 0:00:49.687 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.286) 0:00:49.973 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmp9dvm5kf2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.246) 0:00:50.220 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.258) 0:00:50.479 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.034) 0:00:50.513 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.031) 0:00:50.544 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.031) 0:00:50.575 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.049) 0:00:50.625 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.226) 0:00:50.852 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.069) 0:00:50.922 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.078) 0:00:51.000 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.062) 0:00:51.062 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.125) 0:00:51.187 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.044) 0:00:51.231 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.110) 0:00:51.341 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.764) 0:00:52.106 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:03 +0000 (0:00:01.049) 0:00:53.155 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.041) 0:00:53.197 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.063) 0:00:53.261 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.037) 0:00:53.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.057) 0:00:53.355 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.067) 0:00:53.422 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.072) 0:00:53.495 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.063) 0:00:53.558 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.043) 0:00:53.602 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.063) 0:00:53.666 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.320) 0:00:53.987 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmp_v6b8dcl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.259) 0:00:54.246 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.418) 0:00:54.664 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.032) 0:00:54.697 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.125) 0:00:54.822 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.040) 0:00:54.863 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.058) 0:00:54.921 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.200) 0:00:55.122 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.092) 0:00:55.214 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.068) 0:00:55.283 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.042) 0:00:55.326 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.163) 0:00:55.490 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.030) 0:00:55.520 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022143", "end": "2024-01-09 16:42:05.829495", "rc": 1, "start": "2024-01-09 16:42:05.807352" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.190) 0:00:55.710 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.029) 0:00:55.739 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.027) 0:00:55.767 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.029) 0:00:55.796 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.042) 0:00:55.839 ******* 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_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.058) 0:00:55.897 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.056) 0:00:55.953 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.101) 0:00:56.055 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.052) 0:00:56.107 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.068) 0:00:56.176 ******* 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.050533", "end": "2024-01-09 16:42:06.503183", "rc": 0, "start": "2024-01-09 16:42:06.452650" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_states.yml:124 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.228) 0:00:56.405 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.065) 0:00:56.470 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.052) 0:00:56.522 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.070) 0:00:56.593 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.055) 0:00:56.649 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.051) 0:00:56.700 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-01-09 16:42:07.001905", "rc": 0, "start": "2024-01-09 16:42:06.998252" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.234) 0:00:56.935 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.054) 0:00:56.989 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.029) 0:00:57.019 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.045) 0:00:57.065 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.091) 0:00:57.157 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.060) 0:00:57.218 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.065) 0:00:57.283 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.058) 0:00:57.342 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.084) 0:00:57.426 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.769) 0:00:58.196 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.977) 0:00:59.174 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.034) 0:00:59.208 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.034) 0:00:59.242 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.033) 0:00:59.276 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.055) 0:00:59.331 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.034) 0:00:59.365 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.032) 0:00:59.398 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.037) 0:00:59.436 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.084) 0:00:59.521 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.050) 0:00:59.571 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.264) 0:00:59.836 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpsm9a04p4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.248) 0:01:00.085 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.263) 0:01:00.348 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.038) 0:01:00.387 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.060) 0:01:00.448 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.048) 0:01:00.497 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.053) 0:01:00.550 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.182) 0:01:00.733 ******* 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_type9uyytcca/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.036) 0:01:00.769 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.048) 0:01:00.817 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.053) 0:01:00.871 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.035) 0:01:00.906 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.045) 0:01:00.952 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.092) 0:01:01.044 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.772) 0:01:01.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:12 +0000 (0:00:00.986) 0:01:02.802 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:12 +0000 (0:00:00.037) 0:01:02.840 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.032) 0:01:02.873 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.035) 0:01:02.908 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.074) 0:01:02.983 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.038) 0:01:03.022 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.042) 0:01:03.064 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.048) 0:01:03.113 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.037) 0:01:03.150 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.096) 0:01:03.246 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.300) 0:01:03.546 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmp6h_a2vs0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.279) 0:01:03.826 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.478) 0:01:04.305 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.058) 0:01:04.364 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.044) 0:01:04.408 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.188) 0:01:04.597 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.073) 0:01:04.670 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.244) 0:01:04.915 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.064) 0:01:04.979 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.059) 0:01:05.039 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.039) 0:01:05.078 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.032) 0:01:05.111 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.040) 0:01:05.152 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.752) 0:01:05.905 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.962) 0:01:06.867 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.049) 0:01:06.917 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.039) 0:01:06.957 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.078) 0:01:07.035 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.056) 0:01:07.091 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.032) 0:01:07.123 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.030) 0:01:07.154 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.039) 0:01:07.193 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.032) 0:01:07.226 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.029) 0:01:07.255 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.275) 0:01:07.531 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmpdbdpsw3h" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.265) 0:01:07.796 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.267) 0:01:08.064 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.031) 0:01:08.096 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.041) 0:01:08.137 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.033) 0:01:08.170 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.033) 0:01:08.204 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.158) 0:01:08.363 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.048) 0:01:08.411 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.097) 0:01:08.508 ******* included: /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.054) 0:01:08.562 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.053) 0:01:08.616 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.032) 0:01:08.649 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.039) 0:01:08.688 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:42:19 +0000 (0:00:00.747) 0:01:09.436 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.953) 0:01:10.389 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.031) 0:01:10.420 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.041) 0:01:10.462 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.035) 0:01:10.497 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.059) 0:01:10.557 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.041) 0:01:10.598 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.036) 0:01:10.635 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.050) 0:01:10.686 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.043) 0:01:10.729 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.115) 0:01:10.844 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.295) 0:01:11.139 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11172_l13e4x7/tmplb5a6axn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.243) 0:01:11.383 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.295) 0:01:11.678 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.033) 0:01:11.712 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.033) 0:01:11.746 ******* 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_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.040) 0:01:11.786 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.034) 0:01:11.820 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.163) 0:01:11.984 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.107) 0:01:12.091 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.052) 0:01:12.144 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.033) 0:01:12.177 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.161) 0:01:12.339 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.071) 0:01:12.410 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022222", "end": "2024-01-09 16:42:22.703154", "rc": 1, "start": "2024-01-09 16:42:22.680932" } 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.167) 0:01:12.577 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.085) 0:01:12.663 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.030) 0:01:12.694 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.031) 0:01:12.725 ******* 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_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.037) 0:01:12.763 ******* 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_type9uyytcca/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.036) 0:01:12.799 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.034) 0:01:12.834 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.676190", "end": "2024-01-09 16:42:23.789525", "rc": 0, "start": "2024-01-09 16:42:23.113335" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.848) 0:01:13.682 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.105) 0:01:13.787 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.060) 0:01:13.847 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:42:24 +0000 (0:00:00.081) 0:01:13.929 ******* 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_type9uyytcca/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:42:24 +0000 (0:00:00.039) 0:01:13.968 ******* included: /WORKDIR/git-route_type9uyytcca/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_type9uyytcca/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:42:24 +0000 (0:00:00.062) 0:01:14.030 ******* 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.047832", "end": "2024-01-09 16:42:24.360923", "rc": 0, "start": "2024-01-09 16:42:24.313091" } 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 Tuesday 09 January 2024 16:42:24 +0000 (0:00:00.236) 0:01:14.267 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-route_type9uyytcca/.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.13s /WORKDIR/git-route_type9uyytcca/.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.06s /WORKDIR/git-route_type9uyytcca/.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.06s /WORKDIR/git-route_type9uyytcca/.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.05s /WORKDIR/git-route_type9uyytcca/.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.04s /WORKDIR/git-route_type9uyytcca/.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.03s /WORKDIR/git-route_type9uyytcca/.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_type9uyytcca/.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.98s /WORKDIR/git-route_type9uyytcca/.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.97s /WORKDIR/git-route_type9uyytcca/.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.96s /WORKDIR/git-route_type9uyytcca/.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.96s /WORKDIR/git-route_type9uyytcca/.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.96s /WORKDIR/git-route_type9uyytcca/.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.96s /WORKDIR/git-route_type9uyytcca/.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.95s /WORKDIR/git-route_type9uyytcca/.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.89s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.85s /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_type9uyytcca/.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.80s /WORKDIR/git-route_type9uyytcca/.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.77s /WORKDIR/git-route_type9uyytcca/.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. ---^---^---^---^---^---