# 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_type15ow5dm8/.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_type15ow5dm8/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 15:53:07 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type15ow5dm8/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.676) 0:00:00.688 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.011) 0:00:00.700 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.238) 0:00:00.938 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.179) 0:00:01.118 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.014) 0:00:01.133 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.008) 0:00:01.141 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:53:08 +0000 (0:00:00.022) 0:00:01.164 ***** 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_type15ow5dm8/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.184) 0:00:01.348 ***** 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_type15ow5dm8/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.423) 0:00:01.772 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193749", "end": "2024-01-10 15:53:09.837013", "rc": 0, "start": "2024-01-10 15:53:09.643264" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.326) 0:00:02.098 ***** 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_type15ow5dm8/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.008) 0:00:02.107 ***** 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_type15ow5dm8/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.010) 0:00:02.117 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:53:09 +0000 (0:00:00.014) 0:00:02.132 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.551) 0:00:02.683 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.027) 0:00:02.711 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.022) 0:00:02.733 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.018) 0:00:02.751 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.068) 0:00:02.819 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.030) 0:00:02.850 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.038) 0:00:02.888 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003773", "end": "2024-01-10 15:53:10.796323", "rc": 0, "start": "2024-01-10 15:53:10.792550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.168) 0:00:03.057 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.021) 0:00:03.079 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.026) 0:00:03.106 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:53:10 +0000 (0:00:00.039) 0:00:03.145 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010810", "end": "2024-01-10 15:53:11.027691", "rc": 1, "start": "2024-01-10 15:53:11.016881" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.141) 0:00:03.287 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.020) 0:00:03.307 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.130) 0:00:03.438 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.019) 0:00:03.458 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.024) 0:00:03.483 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.030) 0:00:03.513 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.026) 0:00:03.540 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.019) 0:00:03.559 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.021) 0:00:03.580 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:11 +0000 (0:00:00.019) 0:00:03.600 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:12 +0000 (0:00:00.913) 0:00:04.514 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:13 +0000 (0:00:00.830) 0:00:05.344 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:13 +0000 (0:00:00.029) 0:00:05.373 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:13 +0000 (0:00:00.029) 0:00:05.403 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:13 +0000 (0:00:00.028) 0:00:05.431 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:15 +0000 (0:00:02.551) 0:00:07.982 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:15 +0000 (0:00:00.029) 0:00:08.012 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:15 +0000 (0:00:00.035) 0:00:08.048 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:15 +0000 (0:00:00.049) 0:00:08.098 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:15 +0000 (0:00:00.038) 0:00:08.136 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:15 +0000 (0:00:00.048) 0:00:08.184 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:16 +0000 (0:00:00.411) 0:00:08.595 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmp1gjwrvzb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:16 +0000 (0:00:00.220) 0:00:08.816 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:16 +0000 (0:00:00.357) 0:00:09.173 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:16 +0000 (0:00:00.028) 0:00:09.201 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:16 +0000 (0:00:00.027) 0:00:09.229 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.027) 0:00:09.257 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.027) 0:00:09.284 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.203) 0:00:09.487 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.027) 0:00:09.514 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.039) 0:00:09.554 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.040) 0:00:09.594 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.026) 0:00:09.621 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901996.9028776, "block_size": 4096, "blocks": 8, "ctime": 1704901996.9028776, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901996.9028776, "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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.162) 0:00:09.784 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.029) 0:00:09.813 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023384", "end": "2024-01-10 15:53:17.735624", "rc": 1, "start": "2024-01-10 15:53:17.712240" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.194) 0:00:10.008 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.054) 0:00:10.062 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003686", "end": "2024-01-10 15:53:17.943124", "rc": 0, "start": "2024-01-10 15:53:17.939438" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:53:17 +0000 (0:00:00.162) 0:00:10.225 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.034) 0:00:10.260 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003778", "end": "2024-01-10 15:53:18.147929", "rc": 0, "start": "2024-01-10 15:53:18.144151" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.157) 0:00:10.418 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.031) 0:00:10.449 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.030) 0:00:10.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.031) 0:00:10.511 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.031) 0:00:10.542 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.030) 0:00:10.573 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.029) 0:00:10.602 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.043) 0:00:10.645 ***** 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.042017", "end": "2024-01-10 15:53:18.568796", "rc": 1, "start": "2024-01-10 15:53:18.526779" } 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_type15ow5dm8/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.193) 0:00:10.839 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.047) 0:00:10.886 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.039) 0:00:10.926 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.052) 0:00:10.978 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.035) 0:00:11.014 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.054) 0:00:11.068 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003843", "end": "2024-01-10 15:53:18.943944", "rc": 0, "start": "2024-01-10 15:53:18.940101" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.143) 0:00:11.212 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:18 +0000 (0:00:00.028) 0:00:11.241 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.028) 0:00:11.269 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.047) 0:00:11.317 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007801", "end": "2024-01-10 15:53:19.199285", "rc": 1, "start": "2024-01-10 15:53:19.191484" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.152) 0:00:11.470 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.043) 0:00:11.514 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.161) 0:00:11.676 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.029) 0:00:11.705 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.059) 0:00:11.764 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.050) 0:00:11.815 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.044) 0:00:11.859 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.030) 0:00:11.890 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.055) 0:00:11.945 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:19 +0000 (0:00:00.032) 0:00:11.978 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:20 +0000 (0:00:00.820) 0:00:12.798 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.695) 0:00:13.494 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.035) 0:00:13.530 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.032) 0:00:13.562 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.034) 0:00:13.597 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.060) 0:00:13.657 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.029) 0:00:13.686 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.028) 0:00:13.715 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.034) 0:00:13.750 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.030) 0:00:13.780 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.026) 0:00:13.807 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:21 +0000 (0:00:00.252) 0:00:14.060 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpw9lmnt_6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.229) 0:00:14.290 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.286) 0:00:14.576 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.033) 0:00:14.609 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.059) 0:00:14.668 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.029) 0:00:14.698 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.027) 0:00:14.726 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.150) 0:00:14.876 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.031) 0:00:14.907 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.054) 0:00:14.962 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.036) 0:00:14.998 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.139) 0:00:15.138 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.031) 0:00:15.170 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.040) 0:00:15.210 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:53:22 +0000 (0:00:00.027) 0:00:15.238 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902002.3048053, "block_size": 4096, "blocks": 8, "ctime": 1704902002.3048053, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902002.3048053, "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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.140) 0:00:15.378 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.029) 0:00:15.408 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021600", "end": "2024-01-10 15:53:23.298971", "rc": 1, "start": "2024-01-10 15:53:23.277371" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.159) 0:00:15.567 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.026) 0:00:15.593 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003649", "end": "2024-01-10 15:53:23.469969", "rc": 0, "start": "2024-01-10 15:53:23.466320" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.176) 0:00:15.770 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.037) 0:00:15.807 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003696", "end": "2024-01-10 15:53:23.683641", "rc": 0, "start": "2024-01-10 15:53:23.679945" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.159) 0:00:15.967 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.032) 0:00:16.000 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.043) 0:00:16.044 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.032) 0:00:16.076 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.034) 0:00:16.111 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.025) 0:00:16.137 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.028) 0:00:16.166 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:53:23 +0000 (0:00:00.069) 0:00:16.235 ***** 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.041076", "end": "2024-01-10 15:53:24.152066", "rc": 1, "start": "2024-01-10 15:53:24.110990" } 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_type15ow5dm8/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.185) 0:00:16.421 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.037) 0:00:16.459 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.027) 0:00:16.486 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.049) 0:00:16.536 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.038) 0:00:16.574 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.062) 0:00:16.637 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003823", "end": "2024-01-10 15:53:24.512578", "rc": 0, "start": "2024-01-10 15:53:24.508755" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.144) 0:00:16.782 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.027) 0:00:16.810 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.026) 0:00:16.836 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.039) 0:00:16.875 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.044) 0:00:16.920 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.042) 0:00:16.962 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.030) 0:00:16.993 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.027) 0:00:17.021 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:24 +0000 (0:00:00.028) 0:00:17.049 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:25 +0000 (0:00:00.805) 0:00:17.855 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.676) 0:00:18.531 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.029) 0:00:18.561 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.051) 0:00:18.613 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.028) 0:00:18.641 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.052) 0:00:18.694 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.028) 0:00:18.722 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.029) 0:00:18.752 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.034) 0:00:18.786 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.029) 0:00:18.816 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.026) 0:00:18.842 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:26 +0000 (0:00:00.245) 0:00:19.088 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpdfkwi6bu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.232) 0:00:19.320 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.249) 0:00:19.570 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.045) 0:00:19.615 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.033) 0:00:19.648 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.034) 0:00:19.682 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.044) 0:00:19.727 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.149) 0:00:19.876 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.034) 0:00:19.911 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.040) 0:00:19.952 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.081) 0:00:20.034 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.062) 0:00:20.096 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.044) 0:00:20.140 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.034) 0:00:20.175 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:27 +0000 (0:00:00.035) 0:00:20.210 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:28 +0000 (0:00:00.817) 0:00:21.027 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.675) 0:00:21.703 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.035) 0:00:21.738 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.034) 0:00:21.773 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.029) 0:00:21.802 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.051) 0:00:21.853 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.028) 0:00:21.882 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.027) 0:00:21.909 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.032) 0:00:21.942 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.055) 0:00:21.997 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:29 +0000 (0:00:00.026) 0:00:22.024 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.247) 0:00:22.271 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpbyg2lncm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.216) 0:00:22.488 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.484) 0:00:22.973 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.030) 0:00:23.003 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.031) 0:00:23.034 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.030) 0:00:23.064 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:30 +0000 (0:00:00.040) 0:00:23.105 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.149) 0:00:23.255 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.044) 0:00:23.299 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.036) 0:00:23.336 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902010.6306942, "block_size": 4096, "blocks": 0, "ctime": 1704902010.6276941, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17508, "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": 1704902010.6276941, "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_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.143) 0:00:23.479 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.028) 0:00:23.508 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.037) 0:00:23.545 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.026) 0:00:23.572 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902010.4516966, "block_size": 4096, "blocks": 8, "ctime": 1704902007.282739, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902007.282739, "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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.163) 0:00:23.735 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.028) 0:00:23.764 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021876", "end": "2024-01-10 15:53:31.656243", "rc": 1, "start": "2024-01-10 15:53:31.634367" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.160) 0:00:23.925 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.027) 0:00:23.953 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003546", "end": "2024-01-10 15:53:31.828509", "rc": 0, "start": "2024-01-10 15:53:31.824963" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.145) 0:00:24.098 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:53:31 +0000 (0:00:00.031) 0:00:24.130 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003516", "end": "2024-01-10 15:53:32.004740", "rc": 0, "start": "2024-01-10 15:53:32.001224" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.143) 0:00:24.273 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.031) 0:00:24.305 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.029) 0:00:24.335 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.028) 0:00:24.364 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.027) 0:00:24.392 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.025) 0:00:24.418 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.027) 0:00:24.445 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.040) 0:00:24.486 ***** 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.044607", "end": "2024-01-10 15:53:32.400829", "rc": 0, "start": "2024-01-10 15:53:32.356222" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.184) 0:00:24.670 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.038) 0:00:24.708 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.026) 0:00:24.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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.080) 0:00:24.815 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.037) 0:00:24.853 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.036) 0:00:24.889 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003644", "end": "2024-01-10 15:53:32.763930", "rc": 0, "start": "2024-01-10 15:53:32.760286" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.143) 0:00:25.033 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.027) 0:00:25.061 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.027) 0:00:25.088 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.042) 0:00:25.131 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.049) 0:00:25.181 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:32 +0000 (0:00:00.044) 0:00:25.225 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:33 +0000 (0:00:00.031) 0:00:25.257 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:33 +0000 (0:00:00.029) 0:00:25.286 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:33 +0000 (0:00:00.028) 0:00:25.314 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:33 +0000 (0:00:00.808) 0:00:26.123 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.724) 0:00:26.847 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.030) 0:00:26.877 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:26.905 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:26.933 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.049) 0:00:26.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:27.012 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:27.040 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.032) 0:00:27.073 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:27.102 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:34 +0000 (0:00:00.028) 0:00:27.130 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.245) 0:00:27.376 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpanax7hq6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.220) 0:00:27.596 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.230) 0:00:27.827 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.029) 0:00:27.856 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.031) 0:00:27.888 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.031) 0:00:27.919 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.037) 0:00:27.957 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.183) 0:00:28.140 ***** 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_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.029) 0:00:28.170 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:35 +0000 (0:00:00.047) 0:00:28.217 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:36 +0000 (0:00:00.043) 0:00:28.261 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:36 +0000 (0:00:00.037) 0:00:28.298 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:36 +0000 (0:00:00.029) 0:00:28.328 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:36 +0000 (0:00:00.029) 0:00:28.357 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:36 +0000 (0:00:00.806) 0:00:29.164 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.679) 0:00:29.843 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.028) 0:00:29.872 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.029) 0:00:29.901 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.029) 0:00:29.931 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.051) 0:00:29.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.028) 0:00:30.012 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.056) 0:00:30.068 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.033) 0:00:30.102 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.028) 0:00:30.130 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:37 +0000 (0:00:00.025) 0:00:30.156 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.245) 0:00:30.402 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmphvrud94f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.219) 0:00:30.621 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.465) 0:00:31.087 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.029) 0:00:31.117 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.030) 0:00:31.147 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.032) 0:00:31.180 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:38 +0000 (0:00:00.037) 0:00:31.217 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.146) 0:00:31.364 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.044) 0:00:31.408 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.046) 0:00:31.455 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.045) 0:00:31.500 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.064) 0:00:31.565 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.030) 0:00:31.596 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:39 +0000 (0:00:00.029) 0:00:31.625 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:40 +0000 (0:00:00.806) 0:00:32.431 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:40 +0000 (0:00:00.679) 0:00:33.111 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:40 +0000 (0:00:00.031) 0:00:33.142 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:40 +0000 (0:00:00.035) 0:00:33.178 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:40 +0000 (0:00:00.028) 0:00:33.207 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.053) 0:00:33.260 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.030) 0:00:33.290 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.031) 0:00:33.322 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.033) 0:00:33.355 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.029) 0:00:33.385 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.025) 0:00:33.411 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.244) 0:00:33.655 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpuhcdgkmd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.218) 0:00:33.874 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.261) 0:00:34.135 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.066) 0:00:34.201 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:41 +0000 (0:00:00.031) 0:00:34.233 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.030) 0:00:34.263 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.029) 0:00:34.292 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.146) 0:00:34.439 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.045) 0:00:34.485 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.036) 0:00:34.522 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902018.7495859, "block_size": 4096, "blocks": 0, "ctime": 1704902018.7485857, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17508, "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": 1704902018.7485857, "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_type15ow5dm8/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.146) 0:00:34.668 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.030) 0:00:34.698 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.040) 0:00:34.739 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.029) 0:00:34.768 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.140) 0:00:34.909 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.034) 0:00:34.943 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021464", "end": "2024-01-10 15:53:42.837382", "rc": 1, "start": "2024-01-10 15:53:42.815918" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.163) 0:00:35.107 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.027) 0:00:35.134 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.057) 0:00:35.192 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:53:42 +0000 (0:00:00.028) 0:00:35.220 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.027) 0:00:35.248 ***** 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_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.027) 0:00:35.275 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.029) 0:00:35.305 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.025) 0:00:35.331 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.030) 0:00:35.362 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.043) 0:00:35.405 ***** 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.047321", "end": "2024-01-10 15:53:43.323738", "rc": 0, "start": "2024-01-10 15:53:43.276417" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:102 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.189) 0:00:35.595 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.037) 0:00:35.632 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.027) 0:00:35.660 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.051) 0:00:35.711 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.036) 0:00:35.748 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.035) 0:00:35.784 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003752", "end": "2024-01-10 15:53:43.660630", "rc": 0, "start": "2024-01-10 15:53:43.656878" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.145) 0:00:35.929 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.027) 0:00:35.957 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.086) 0:00:36.043 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.050) 0:00:36.093 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.048) 0:00:36.142 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.052) 0:00:36.194 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:43 +0000 (0:00:00.033) 0:00:36.227 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:44 +0000 (0:00:00.031) 0:00:36.259 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:44 +0000 (0:00:00.028) 0:00:36.288 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:44 +0000 (0:00:00.804) 0:00:37.092 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.683) 0:00:37.775 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.055) 0:00:37.831 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.034) 0:00:37.865 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.033) 0:00:37.899 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.085) 0:00:37.985 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.029) 0:00:38.015 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.029) 0:00:38.045 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.043) 0:00:38.088 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.034) 0:00:38.123 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:45 +0000 (0:00:00.030) 0:00:38.153 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.247) 0:00:38.400 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmp2kafyi84" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.219) 0:00:38.620 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.231) 0:00:38.851 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.029) 0:00:38.881 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.029) 0:00:38.911 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.030) 0:00:38.942 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.031) 0:00:38.973 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.147) 0:00:39.121 ***** 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_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.028) 0:00:39.149 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.044) 0:00:39.194 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:46 +0000 (0:00:00.042) 0:00:39.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:47 +0000 (0:00:00.088) 0:00:39.325 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:47 +0000 (0:00:00.030) 0:00:39.356 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:47 +0000 (0:00:00.028) 0:00:39.384 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:47 +0000 (0:00:00.806) 0:00:40.191 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.676) 0:00:40.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.030) 0:00:40.898 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.029) 0:00:40.927 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.039) 0:00:40.967 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.075) 0:00:41.043 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.039) 0:00:41.082 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.045) 0:00:41.128 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.048) 0:00:41.177 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.030) 0:00:41.208 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:48 +0000 (0:00:00.029) 0:00:41.237 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:49 +0000 (0:00:00.259) 0:00:41.496 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpr9np_pa4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:49 +0000 (0:00:00.219) 0:00:41.716 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.573) 0:00:42.290 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.029) 0:00:42.319 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.028) 0:00:42.348 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.029) 0:00:42.378 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.029) 0:00:42.407 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.148) 0:00:42.555 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.047) 0:00:42.603 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.047) 0:00:42.651 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.032) 0:00:42.683 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.029) 0:00:42.713 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:50 +0000 (0:00:00.029) 0:00:42.743 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:51 +0000 (0:00:00.809) 0:00:43.553 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:51 +0000 (0:00:00.674) 0:00:44.227 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.058) 0:00:44.285 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.029) 0:00:44.315 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.028) 0:00:44.344 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.049) 0:00:44.393 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.028) 0:00:44.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.028) 0:00:44.450 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.039) 0:00:44.490 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.032) 0:00:44.522 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.033) 0:00:44.555 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.251) 0:00:44.807 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpks9vx42p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:52 +0000 (0:00:00.226) 0:00:45.034 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.231) 0:00:45.265 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.029) 0:00:45.295 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.029) 0:00:45.325 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.029) 0:00:45.355 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.031) 0:00:45.386 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.146) 0:00:45.533 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.046) 0:00:45.579 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.081) 0:00:45.661 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.045) 0:00:45.706 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.032) 0:00:45.739 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.031) 0:00:45.770 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:53 +0000 (0:00:00.028) 0:00:45.799 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:54 +0000 (0:00:00.806) 0:00:46.605 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.675) 0:00:47.280 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.030) 0:00:47.310 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.028) 0:00:47.338 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.029) 0:00:47.368 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.050) 0:00:47.418 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.028) 0:00:47.447 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.029) 0:00:47.476 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.033) 0:00:47.510 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.061) 0:00:47.571 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.027) 0:00:47.599 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.248) 0:00:47.848 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpw21gaxk9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:53:55 +0000 (0:00:00.224) 0:00:48.072 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.229) 0:00:48.302 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.030) 0:00:48.333 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.031) 0:00:48.364 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.032) 0:00:48.396 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.030) 0:00:48.427 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.146) 0:00:48.574 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.041) 0:00:48.615 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.040) 0:00:48.655 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.026) 0:00:48.682 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.140) 0:00:48.823 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.028) 0:00:48.851 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021774", "end": "2024-01-10 15:53:56.746398", "rc": 1, "start": "2024-01-10 15:53:56.724624" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.165) 0:00:49.017 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.027) 0:00:49.045 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.099) 0:00:49.145 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.037) 0:00:49.182 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.028) 0:00:49.211 ***** 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_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:53:56 +0000 (0:00:00.028) 0:00:49.239 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.029) 0:00:49.269 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.029) 0:00:49.298 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.028) 0:00:49.326 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.041) 0:00:49.368 ***** 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.046290", "end": "2024-01-10 15:53:57.285824", "rc": 0, "start": "2024-01-10 15:53:57.239534" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tests_states.yml:124 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.188) 0:00:49.556 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.038) 0:00:49.595 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.028) 0:00:49.623 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.050) 0:00:49.674 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.038) 0:00:49.712 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.036) 0:00:49.749 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003727", "end": "2024-01-10 15:53:57.624150", "rc": 0, "start": "2024-01-10 15:53:57.620423" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.143) 0:00:49.892 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.055) 0:00:49.948 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.028) 0:00:49.976 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.047) 0:00:50.024 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.048) 0:00:50.072 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.045) 0:00:50.118 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.032) 0:00:50.150 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.028) 0:00:50.178 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:53:57 +0000 (0:00:00.028) 0:00:50.207 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:53:58 +0000 (0:00:00.802) 0:00:51.010 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.676) 0:00:51.686 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.030) 0:00:51.717 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.029) 0:00:51.746 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.030) 0:00:51.776 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.131) 0:00:51.908 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.031) 0:00:51.939 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.030) 0:00:51.970 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.036) 0:00:52.006 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.031) 0:00:52.037 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:53:59 +0000 (0:00:00.026) 0:00:52.064 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.246) 0:00:52.310 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpksy11gdj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.227) 0:00:52.537 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.251) 0:00:52.788 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.032) 0:00:52.821 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.030) 0:00:52.851 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.033) 0:00:52.885 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.030) 0:00:52.916 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.149) 0:00:53.065 ***** 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_type15ow5dm8/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.031) 0:00:53.097 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.045) 0:00:53.143 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:54:00 +0000 (0:00:00.078) 0:00:53.221 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:54:01 +0000 (0:00:00.032) 0:00:53.254 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:54:01 +0000 (0:00:00.030) 0:00:53.284 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:54:01 +0000 (0:00:00.029) 0:00:53.314 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:54:01 +0000 (0:00:00.864) 0:00:54.179 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.718) 0:00:54.897 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.032) 0:00:54.929 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.029) 0:00:54.959 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.031) 0:00:54.990 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.051) 0:00:55.042 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.029) 0:00:55.072 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.028) 0:00:55.100 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.035) 0:00:55.136 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.029) 0:00:55.166 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:54:02 +0000 (0:00:00.030) 0:00:55.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:54:03 +0000 (0:00:00.253) 0:00:55.449 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpn5jah1up" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:54:03 +0000 (0:00:00.226) 0:00:55.676 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:54:03 +0000 (0:00:00.532) 0:00:56.209 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:54:03 +0000 (0:00:00.029) 0:00:56.238 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.028) 0:00:56.267 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.028) 0:00:56.296 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.028) 0:00:56.325 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.144) 0:00:56.469 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.046) 0:00:56.516 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.044) 0:00:56.561 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.031) 0:00:56.592 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.030) 0:00:56.623 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:54:04 +0000 (0:00:00.029) 0:00:56.653 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:54:05 +0000 (0:00:00.808) 0:00:57.461 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:54:05 +0000 (0:00:00.673) 0:00:58.134 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:54:05 +0000 (0:00:00.072) 0:00:58.207 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:54:05 +0000 (0:00:00.036) 0:00:58.244 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.033) 0:00:58.277 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.057) 0:00:58.335 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.029) 0:00:58.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.028) 0:00:58.393 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.034) 0:00:58.428 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.028) 0:00:58.456 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.027) 0:00:58.484 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.244) 0:00:58.729 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmp30lz_kc3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.216) 0:00:58.946 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.240) 0:00:59.187 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.029) 0:00:59.216 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:54:06 +0000 (0:00:00.030) 0:00:59.247 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.030) 0:00:59.277 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.030) 0:00:59.308 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.146) 0:00:59.454 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.043) 0:00:59.498 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.078) 0:00:59.576 ***** included: /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.044) 0:00:59.620 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.031) 0:00:59.651 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.030) 0:00:59.681 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:54:07 +0000 (0:00:00.028) 0:00:59.710 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:54:08 +0000 (0:00:00.804) 0:01:00.514 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:54:08 +0000 (0:00:00.678) 0:01:01.192 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:54:08 +0000 (0:00:00.028) 0:01:01.221 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.028) 0:01:01.249 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.029) 0:01:01.279 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.050) 0:01:01.329 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.028) 0:01:01.357 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.027) 0:01:01.385 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.033) 0:01:01.419 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.060) 0:01:01.479 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.027) 0:01:01.507 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.245) 0:01:01.752 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11120_vvsiesk/tmpise8na7g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.218) 0:01:01.970 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.226) 0:01:02.196 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:54:09 +0000 (0:00:00.029) 0:01:02.226 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.028) 0:01:02.254 ***** 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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.029) 0:01:02.283 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.028) 0:01:02.312 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.149) 0:01:02.461 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.047) 0:01:02.508 ***** included: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.043) 0:01:02.551 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.030) 0:01:02.582 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.140) 0:01:02.722 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.026) 0:01:02.749 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021538", "end": "2024-01-10 15:54:10.641436", "rc": 1, "start": "2024-01-10 15:54:10.619898" } 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.161) 0:01:02.910 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.060) 0:01:02.971 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.028) 0:01:02.999 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.029) 0:01:03.029 ***** 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_type15ow5dm8/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.027) 0:01:03.056 ***** 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_type15ow5dm8/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.027) 0:01:03.084 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:54:10 +0000 (0:00:00.030) 0:01:03.115 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401294", "end": "2024-01-10 15:54:11.386966", "rc": 0, "start": "2024-01-10 15:54:10.985672" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.542) 0:01:03.658 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.031) 0:01:03.689 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type15ow5dm8/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.035) 0:01:03.725 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.033) 0:01:03.759 ***** 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_type15ow5dm8/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.028) 0:01:03.787 ***** included: /WORKDIR/git-route_type15ow5dm8/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_type15ow5dm8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.043) 0:01:03.831 ***** 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.046401", "end": "2024-01-10 15:54:11.749935", "rc": 0, "start": "2024-01-10 15:54:11.703534" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Wednesday 10 January 2024 15:54:11 +0000 (0:00:00.216) 0:01:04.048 ***** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.55s /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-route_type15ow5dm8/.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.86s /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /WORKDIR/git-route_type15ow5dm8/.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.82s /WORKDIR/git-route_type15ow5dm8/.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.82s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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.81s /WORKDIR/git-route_type15ow5dm8/.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_type15ow5dm8/.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_type15ow5dm8/.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_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /WORKDIR/git-route_type15ow5dm8/.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.72s /WORKDIR/git-route_type15ow5dm8/.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.70s /WORKDIR/git-route_type15ow5dm8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---