ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 07 February 2025 15:31:38 -0500 (0:00:00.038) 0:00:00.038 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 07 February 2025 15:31:39 -0500 (0:00:01.332) 0:00:01.370 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 15:31:39 -0500 (0:00:00.131) 0:00:01.502 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 15:31:39 -0500 (0:00:00.440) 0:00:01.943 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 15:31:40 -0500 (0:00:00.723) 0:00:02.666 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 15:31:40 -0500 (0:00:00.073) 0:00:02.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 15:31:40 -0500 (0:00:00.136) 0:00:02.875 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 15:31:41 -0500 (0:00:00.120) 0:00:02.995 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 15:31:41 -0500 (0:00:00.605) 0:00:03.601 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 15:31:42 -0500 (0:00:00.961) 0:00:04.563 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.169889", "end": "2025-02-07 15:31:43.053019", "rc": 0, "start": "2025-02-07 15:31:42.883130" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 15:31:43 -0500 (0:00:00.523) 0:00:05.086 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 15:31:43 -0500 (0:00:00.080) 0:00:05.167 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 07 February 2025 15:31:43 -0500 (0:00:00.081) 0:00:05.248 ******* ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 07 February 2025 15:31:43 -0500 (0:00:00.074) 0:00:05.323 ******* ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 07 February 2025 15:31:44 -0500 (0:00:00.659) 0:00:05.982 ******* ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 07 February 2025 15:31:44 -0500 (0:00:00.040) 0:00:06.023 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:31:44 -0500 (0:00:00.068) 0:00:06.092 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:31:44 -0500 (0:00:00.039) 0:00:06.132 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:31:44 -0500 (0:00:00.123) 0:00:06.255 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:31:44 -0500 (0:00:00.077) 0:00:06.332 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:31:44 -0500 (0:00:00.070) 0:00:06.403 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004445", "end": "2025-02-07 15:31:45.766820", "rc": 0, "start": "2025-02-07 15:31:44.762375" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:31:45 -0500 (0:00:01.405) 0:00:07.809 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:31:45 -0500 (0:00:00.040) 0:00:07.849 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:31:45 -0500 (0:00:00.047) 0:00:07.897 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 15:31:46 -0500 (0:00:00.112) 0:00:08.009 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009644", "end": "2025-02-07 15:31:46.322975", "rc": 1, "start": "2025-02-07 15:31:46.313331" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:31:46 -0500 (0:00:00.332) 0:00:08.342 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:31:46 -0500 (0:00:00.058) 0:00:08.401 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:31:46 -0500 (0:00:00.421) 0:00:08.822 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:31:46 -0500 (0:00:00.036) 0:00:08.859 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:31:46 -0500 (0:00:00.057) 0:00:08.916 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:31:47 -0500 (0:00:00.231) 0:00:09.148 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:31:47 -0500 (0:00:00.162) 0:00:09.311 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:31:47 -0500 (0:00:00.093) 0:00:09.404 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:31:47 -0500 (0:00:00.055) 0:00:09.459 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:31:47 -0500 (0:00:00.051) 0:00:09.510 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:31:48 -0500 (0:00:01.284) 0:00:10.795 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:31:50 -0500 (0:00:01.809) 0:00:12.605 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:31:50 -0500 (0:00:00.121) 0:00:12.726 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:31:50 -0500 (0:00:00.122) 0:00:12.848 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:31:50 -0500 (0:00:00.091) 0:00:12.939 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:31:51 -0500 (0:00:00.105) 0:00:13.045 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:31:51 -0500 (0:00:00.112) 0:00:13.157 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:31:51 -0500 (0:00:00.124) 0:00:13.282 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:31:51 -0500 (0:00:00.103) 0:00:13.386 ******* changed: [managed-node1] => { "attempts": 1, "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.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\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 base 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:31:55 -0500 (0:00:03.613) 0:00:16.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:31:55 -0500 (0:00:00.151) 0:00:17.150 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:31:55 -0500 (0:00:00.085) 0:00:17.236 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:31:55 -0500 (0:00:00.097) 0:00:17.334 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:31:55 -0500 (0:00:00.115) 0:00:17.449 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:31:55 -0500 (0:00:00.103) 0:00:17.553 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:31:56 -0500 (0:00:01.120) 0:00:18.673 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpUgC_MD" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:31:57 -0500 (0:00:00.430) 0:00:19.104 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:31:58 -0500 (0:00:01.269) 0:00:20.373 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:31:58 -0500 (0:00:00.116) 0:00:20.490 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:31:58 -0500 (0:00:00.111) 0:00:20.601 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:31:58 -0500 (0:00:00.194) 0:00:20.795 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:31:58 -0500 (0:00:00.120) 0:00:20.916 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:32:00 -0500 (0:00:01.141) 0:00:22.058 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:32:00 -0500 (0:00:00.200) 0:00:22.258 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:32:00 -0500 (0:00:00.190) 0:00:22.449 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:32:00 -0500 (0:00:00.228) 0:00:22.678 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:32:00 -0500 (0:00:00.120) 0:00:22.798 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960318.257729, "block_size": 4096, "blocks": 8, "ctime": 1738960318.257729, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960318.257729, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:32:01 -0500 (0:00:00.527) 0:00:23.325 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:32:01 -0500 (0:00:00.238) 0:00:23.564 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026067", "end": "2025-02-07 15:32:02.105737", "rc": 1, "start": "2025-02-07 15:32:02.079670" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:32:02 -0500 (0:00:00.606) 0:00:24.170 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:32:02 -0500 (0:00:00.078) 0:00:24.249 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003395", "end": "2025-02-07 15:32:02.575407", "rc": 0, "start": "2025-02-07 15:32:02.572012" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:32:02 -0500 (0:00:00.424) 0:00:24.674 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:32:02 -0500 (0:00:00.123) 0:00:24.797 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003343", "end": "2025-02-07 15:32:03.149369", "rc": 0, "start": "2025-02-07 15:32:03.146026" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:32:03 -0500 (0:00:00.447) 0:00:25.245 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:32:03 -0500 (0:00:00.127) 0:00:25.372 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:32:03 -0500 (0:00:00.109) 0:00:25.481 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:32:03 -0500 (0:00:00.108) 0:00:25.590 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:32:03 -0500 (0:00:00.075) 0:00:25.666 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:32:03 -0500 (0:00:00.079) 0:00:25.746 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:32:03 -0500 (0:00:00.073) 0:00:25.820 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:32:04 -0500 (0:00:00.187) 0:00:26.008 ******* fatal: [managed-node1]: 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.045284", "end": "2025-02-07 15:32:04.324727", "rc": 1, "start": "2025-02-07 15:32:04.279443" } 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 07 February 2025 15:32:04 -0500 (0:00:00.413) 0:00:26.421 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:32:04 -0500 (0:00:00.261) 0:00:26.682 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:32:04 -0500 (0:00:00.122) 0:00:26.805 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:32:05 -0500 (0:00:00.194) 0:00:27.000 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:32:05 -0500 (0:00:00.174) 0:00:27.175 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:32:05 -0500 (0:00:00.178) 0:00:27.353 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2025-02-07 15:32:05.622827", "rc": 0, "start": "2025-02-07 15:32:05.619484" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:32:05 -0500 (0:00:00.430) 0:00:27.783 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:32:06 -0500 (0:00:00.208) 0:00:27.992 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:32:06 -0500 (0:00:00.129) 0:00:28.122 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 15:32:06 -0500 (0:00:00.266) 0:00:28.388 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006834", "end": "2025-02-07 15:32:06.744882", "rc": 1, "start": "2025-02-07 15:32:06.738048" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:32:07 -0500 (0:00:00.611) 0:00:28.999 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:32:07 -0500 (0:00:00.291) 0:00:29.290 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:32:07 -0500 (0:00:00.577) 0:00:29.868 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:32:08 -0500 (0:00:00.208) 0:00:30.077 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 07 February 2025 15:32:08 -0500 (0:00:00.260) 0:00:30.338 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:08 -0500 (0:00:00.185) 0:00:30.523 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:08 -0500 (0:00:00.254) 0:00:30.778 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:08 -0500 (0:00:00.134) 0:00:30.913 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:09 -0500 (0:00:00.143) 0:00:31.056 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:09 -0500 (0:00:00.140) 0:00:31.196 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:10 -0500 (0:00:01.064) 0:00:32.261 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:32:12 -0500 (0:00:01.737) 0:00:33.998 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:32:12 -0500 (0:00:00.117) 0:00:34.115 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:32:12 -0500 (0:00:00.202) 0:00:34.318 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:32:12 -0500 (0:00:00.150) 0:00:34.469 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:32:12 -0500 (0:00:00.115) 0:00:34.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:32:12 -0500 (0:00:00.090) 0:00:34.674 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:32:12 -0500 (0:00:00.082) 0:00:34.757 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:32:12 -0500 (0:00:00.079) 0:00:34.837 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:32:13 -0500 (0:00:00.146) 0:00:34.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:32:13 -0500 (0:00:00.104) 0:00:35.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:32:13 -0500 (0:00:00.092) 0:00:35.180 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:32:13 -0500 (0:00:00.086) 0:00:35.267 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:32:13 -0500 (0:00:00.132) 0:00:35.400 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:32:13 -0500 (0:00:00.174) 0:00:35.574 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:32:14 -0500 (0:00:00.637) 0:00:36.212 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpIbALqP" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:32:14 -0500 (0:00:00.345) 0:00:36.558 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:32:15 -0500 (0:00:00.730) 0:00:37.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:32:15 -0500 (0:00:00.137) 0:00:37.426 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:32:15 -0500 (0:00:00.170) 0:00:37.596 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:32:15 -0500 (0:00:00.117) 0:00:37.714 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:32:15 -0500 (0:00:00.115) 0:00:37.829 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 07 February 2025 15:32:16 -0500 (0:00:00.482) 0:00:38.311 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:32:16 -0500 (0:00:00.112) 0:00:38.424 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:32:16 -0500 (0:00:00.266) 0:00:38.690 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:32:16 -0500 (0:00:00.205) 0:00:38.895 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:32:17 -0500 (0:00:00.806) 0:00:39.702 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:32:17 -0500 (0:00:00.123) 0:00:39.825 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:32:18 -0500 (0:00:00.268) 0:00:40.094 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:32:18 -0500 (0:00:00.111) 0:00:40.206 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960335.1288347, "block_size": 4096, "blocks": 8, "ctime": 1738960335.1288347, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960335.1288347, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:32:18 -0500 (0:00:00.655) 0:00:40.861 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:32:19 -0500 (0:00:00.142) 0:00:41.004 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020431", "end": "2025-02-07 15:32:19.320405", "rc": 1, "start": "2025-02-07 15:32:19.299974" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:32:19 -0500 (0:00:00.507) 0:00:41.511 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:32:19 -0500 (0:00:00.110) 0:00:41.622 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003378", "end": "2025-02-07 15:32:19.991277", "rc": 0, "start": "2025-02-07 15:32:19.987899" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:32:20 -0500 (0:00:00.491) 0:00:42.114 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:32:20 -0500 (0:00:00.143) 0:00:42.257 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003431", "end": "2025-02-07 15:32:20.585847", "rc": 0, "start": "2025-02-07 15:32:20.582416" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:32:20 -0500 (0:00:00.431) 0:00:42.689 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:32:20 -0500 (0:00:00.208) 0:00:42.898 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:32:21 -0500 (0:00:00.175) 0:00:43.073 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:32:21 -0500 (0:00:00.132) 0:00:43.206 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:32:21 -0500 (0:00:00.112) 0:00:43.318 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:32:21 -0500 (0:00:00.110) 0:00:43.428 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:32:21 -0500 (0:00:00.133) 0:00:43.562 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:32:21 -0500 (0:00:00.221) 0:00:43.784 ******* fatal: [managed-node1]: 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.045121", "end": "2025-02-07 15:32:22.147092", "rc": 1, "start": "2025-02-07 15:32:22.101971" } 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 07 February 2025 15:32:22 -0500 (0:00:00.537) 0:00:44.322 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:32:22 -0500 (0:00:00.241) 0:00:44.563 ******* ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:32:22 -0500 (0:00:00.159) 0:00:44.723 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:32:22 -0500 (0:00:00.224) 0:00:44.948 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:32:23 -0500 (0:00:00.376) 0:00:45.325 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:32:23 -0500 (0:00:00.187) 0:00:45.512 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003336", "end": "2025-02-07 15:32:23.845432", "rc": 0, "start": "2025-02-07 15:32:23.842096" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:32:24 -0500 (0:00:00.499) 0:00:46.012 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:32:24 -0500 (0:00:00.184) 0:00:46.197 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:32:24 -0500 (0:00:00.114) 0:00:46.312 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:32:24 -0500 (0:00:00.202) 0:00:46.514 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:24 -0500 (0:00:00.134) 0:00:46.649 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:24 -0500 (0:00:00.211) 0:00:46.861 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:25 -0500 (0:00:00.379) 0:00:47.240 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:25 -0500 (0:00:00.134) 0:00:47.375 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:25 -0500 (0:00:00.183) 0:00:47.559 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:26 -0500 (0:00:00.963) 0:00:48.522 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:32:27 -0500 (0:00:01.309) 0:00:49.832 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:32:27 -0500 (0:00:00.126) 0:00:49.958 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:32:28 -0500 (0:00:00.164) 0:00:50.123 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:32:28 -0500 (0:00:00.197) 0:00:50.320 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:32:28 -0500 (0:00:00.133) 0:00:50.453 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:32:28 -0500 (0:00:00.140) 0:00:50.593 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:32:28 -0500 (0:00:00.219) 0:00:50.812 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:32:28 -0500 (0:00:00.148) 0:00:50.961 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:32:29 -0500 (0:00:00.197) 0:00:51.158 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:32:29 -0500 (0:00:00.132) 0:00:51.291 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:32:29 -0500 (0:00:00.117) 0:00:51.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:32:29 -0500 (0:00:00.157) 0:00:51.565 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:32:29 -0500 (0:00:00.146) 0:00:51.712 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:32:29 -0500 (0:00:00.191) 0:00:51.904 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:32:30 -0500 (0:00:00.570) 0:00:52.475 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpgjQDYV" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:32:30 -0500 (0:00:00.368) 0:00:52.844 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:32:31 -0500 (0:00:00.812) 0:00:53.656 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:32:31 -0500 (0:00:00.193) 0:00:53.850 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:32:32 -0500 (0:00:00.112) 0:00:53.962 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:32:32 -0500 (0:00:00.118) 0:00:54.080 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:32:32 -0500 (0:00:00.134) 0:00:54.215 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:32:32 -0500 (0:00:00.695) 0:00:54.911 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:32:33 -0500 (0:00:00.267) 0:00:55.178 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:32:33 -0500 (0:00:00.153) 0:00:55.332 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:33 -0500 (0:00:00.220) 0:00:55.552 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:33 -0500 (0:00:00.266) 0:00:55.818 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:34 -0500 (0:00:00.147) 0:00:55.966 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:34 -0500 (0:00:00.126) 0:00:56.093 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:34 -0500 (0:00:00.103) 0:00:56.197 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:35 -0500 (0:00:01.037) 0:00:57.234 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:32:36 -0500 (0:00:01.698) 0:00:58.933 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:32:37 -0500 (0:00:00.085) 0:00:59.018 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:32:37 -0500 (0:00:00.109) 0:00:59.128 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:32:37 -0500 (0:00:00.099) 0:00:59.228 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:32:37 -0500 (0:00:00.096) 0:00:59.324 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:32:37 -0500 (0:00:00.071) 0:00:59.396 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:32:37 -0500 (0:00:00.078) 0:00:59.474 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:32:37 -0500 (0:00:00.074) 0:00:59.549 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:32:37 -0500 (0:00:00.235) 0:00:59.784 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:32:37 -0500 (0:00:00.152) 0:00:59.936 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:32:38 -0500 (0:00:00.104) 0:01:00.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:32:38 -0500 (0:00:00.097) 0:01:00.138 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:32:38 -0500 (0:00:00.090) 0:01:00.229 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:32:38 -0500 (0:00:00.090) 0:01:00.319 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:32:38 -0500 (0:00:00.493) 0:01:00.813 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpqdxs6u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:32:39 -0500 (0:00:00.465) 0:01:01.278 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:32:40 -0500 (0:00:01.144) 0:01:02.423 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:32:40 -0500 (0:00:00.187) 0:01:02.610 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:32:40 -0500 (0:00:00.235) 0:01:02.845 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:32:41 -0500 (0:00:00.170) 0:01:03.016 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:32:41 -0500 (0:00:00.125) 0:01:03.141 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:32:41 -0500 (0:00:00.372) 0:01:03.514 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:32:41 -0500 (0:00:00.226) 0:01:03.740 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:32:41 -0500 (0:00:00.197) 0:01:03.938 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960360.2019918, "block_size": 4096, "blocks": 0, "ctime": 1738960360.2009919, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17770, "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": 1738960360.2009919, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:32:42 -0500 (0:00:00.515) 0:01:04.454 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:32:42 -0500 (0:00:00.115) 0:01:04.569 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:32:42 -0500 (0:00:00.235) 0:01:04.804 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:32:42 -0500 (0:00:00.112) 0:01:04.916 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960360.039991, "block_size": 4096, "blocks": 8, "ctime": 1738960351.462937, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960351.462937, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:32:43 -0500 (0:00:00.375) 0:01:05.292 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:32:43 -0500 (0:00:00.157) 0:01:05.449 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022624", "end": "2025-02-07 15:32:43.944665", "rc": 1, "start": "2025-02-07 15:32:43.922041" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:32:44 -0500 (0:00:00.788) 0:01:06.238 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:32:44 -0500 (0:00:00.198) 0:01:06.436 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003845", "end": "2025-02-07 15:32:44.919522", "rc": 0, "start": "2025-02-07 15:32:44.915677" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:32:45 -0500 (0:00:00.598) 0:01:07.035 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:32:45 -0500 (0:00:00.129) 0:01:07.165 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003416", "end": "2025-02-07 15:32:45.501586", "rc": 0, "start": "2025-02-07 15:32:45.498170" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:32:45 -0500 (0:00:00.518) 0:01:07.684 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:32:45 -0500 (0:00:00.196) 0:01:07.880 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:32:46 -0500 (0:00:00.138) 0:01:08.018 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:32:46 -0500 (0:00:00.122) 0:01:08.141 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:32:46 -0500 (0:00:00.114) 0:01:08.255 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:32:46 -0500 (0:00:00.108) 0:01:08.363 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:32:46 -0500 (0:00:00.092) 0:01:08.456 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:32:46 -0500 (0:00:00.137) 0:01:08.594 ******* ok: [managed-node1] => { "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.053494", "end": "2025-02-07 15:32:46.936559", "rc": 0, "start": "2025-02-07 15:32:46.883065" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 07 February 2025 15:32:47 -0500 (0:00:00.432) 0:01:09.026 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:32:47 -0500 (0:00:00.380) 0:01:09.407 ******* ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:32:47 -0500 (0:00:00.343) 0:01:09.751 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:32:48 -0500 (0:00:00.314) 0:01:10.065 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:32:48 -0500 (0:00:00.297) 0:01:10.362 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:32:48 -0500 (0:00:00.222) 0:01:10.584 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2025-02-07 15:32:48.894235", "rc": 0, "start": "2025-02-07 15:32:48.890616" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:32:49 -0500 (0:00:00.410) 0:01:10.994 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:32:49 -0500 (0:00:00.100) 0:01:11.095 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:32:49 -0500 (0:00:00.095) 0:01:11.190 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:32:49 -0500 (0:00:00.139) 0:01:11.330 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:49 -0500 (0:00:00.179) 0:01:11.509 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:49 -0500 (0:00:00.236) 0:01:11.746 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:49 -0500 (0:00:00.140) 0:01:11.886 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:50 -0500 (0:00:00.112) 0:01:11.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:50 -0500 (0:00:00.110) 0:01:12.109 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:51 -0500 (0:00:01.017) 0:01:13.127 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:32:52 -0500 (0:00:01.272) 0:01:14.399 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:32:52 -0500 (0:00:00.074) 0:01:14.474 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:32:52 -0500 (0:00:00.105) 0:01:14.580 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:32:52 -0500 (0:00:00.132) 0:01:14.712 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:32:52 -0500 (0:00:00.097) 0:01:14.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:32:52 -0500 (0:00:00.089) 0:01:14.899 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:32:53 -0500 (0:00:00.082) 0:01:14.982 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:32:53 -0500 (0:00:00.150) 0:01:15.132 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:32:53 -0500 (0:00:00.184) 0:01:15.317 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:32:53 -0500 (0:00:00.116) 0:01:15.433 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:32:53 -0500 (0:00:00.112) 0:01:15.546 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:32:53 -0500 (0:00:00.120) 0:01:15.666 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:32:53 -0500 (0:00:00.133) 0:01:15.800 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:32:53 -0500 (0:00:00.112) 0:01:15.913 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:32:54 -0500 (0:00:00.539) 0:01:16.453 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpl3nw4K" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:32:54 -0500 (0:00:00.440) 0:01:16.893 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:32:56 -0500 (0:00:01.124) 0:01:18.017 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:32:56 -0500 (0:00:00.086) 0:01:18.104 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:32:56 -0500 (0:00:00.116) 0:01:18.221 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:32:56 -0500 (0:00:00.123) 0:01:18.344 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:32:56 -0500 (0:00:00.111) 0:01:18.455 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:32:57 -0500 (0:00:00.705) 0:01:19.161 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:32:57 -0500 (0:00:00.134) 0:01:19.295 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:57 -0500 (0:00:00.304) 0:01:19.599 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:57 -0500 (0:00:00.228) 0:01:19.828 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:58 -0500 (0:00:00.176) 0:01:20.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:58 -0500 (0:00:00.154) 0:01:20.160 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:58 -0500 (0:00:00.111) 0:01:20.271 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:59 -0500 (0:00:00.984) 0:01:21.255 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:00 -0500 (0:00:01.539) 0:01:22.795 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:01 -0500 (0:00:00.215) 0:01:23.011 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:01 -0500 (0:00:00.156) 0:01:23.167 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:01 -0500 (0:00:00.186) 0:01:23.354 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:01 -0500 (0:00:00.129) 0:01:23.483 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:01 -0500 (0:00:00.122) 0:01:23.606 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:01 -0500 (0:00:00.128) 0:01:23.734 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:01 -0500 (0:00:00.116) 0:01:23.851 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:02 -0500 (0:00:00.303) 0:01:24.155 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:02 -0500 (0:00:00.130) 0:01:24.285 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:02 -0500 (0:00:00.127) 0:01:24.412 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:02 -0500 (0:00:00.105) 0:01:24.518 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:02 -0500 (0:00:00.113) 0:01:24.632 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:02 -0500 (0:00:00.118) 0:01:24.750 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:03 -0500 (0:00:00.901) 0:01:25.652 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpXKjJjS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:04 -0500 (0:00:00.402) 0:01:26.054 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:05 -0500 (0:00:00.924) 0:01:26.979 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:05 -0500 (0:00:00.108) 0:01:27.087 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:05 -0500 (0:00:00.114) 0:01:27.202 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:05 -0500 (0:00:00.122) 0:01:27.325 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:05 -0500 (0:00:00.182) 0:01:27.507 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:33:06 -0500 (0:00:00.494) 0:01:28.002 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 15:33:06 -0500 (0:00:00.225) 0:01:28.227 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:06 -0500 (0:00:00.249) 0:01:28.477 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:06 -0500 (0:00:00.234) 0:01:28.711 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:06 -0500 (0:00:00.141) 0:01:28.853 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:07 -0500 (0:00:00.118) 0:01:28.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:07 -0500 (0:00:00.176) 0:01:29.149 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:08 -0500 (0:00:01.025) 0:01:30.174 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:09 -0500 (0:00:01.697) 0:01:31.872 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:10 -0500 (0:00:00.114) 0:01:31.987 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:10 -0500 (0:00:00.132) 0:01:32.119 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:10 -0500 (0:00:00.237) 0:01:32.357 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:10 -0500 (0:00:00.137) 0:01:32.494 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:10 -0500 (0:00:00.116) 0:01:32.610 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:10 -0500 (0:00:00.099) 0:01:32.709 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:10 -0500 (0:00:00.120) 0:01:32.830 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:11 -0500 (0:00:00.326) 0:01:33.156 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:11 -0500 (0:00:00.140) 0:01:33.296 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:11 -0500 (0:00:00.240) 0:01:33.537 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:11 -0500 (0:00:00.278) 0:01:33.816 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:11 -0500 (0:00:00.124) 0:01:33.940 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:12 -0500 (0:00:00.117) 0:01:34.058 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:12 -0500 (0:00:00.576) 0:01:34.634 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpMnUtDW" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:13 -0500 (0:00:00.734) 0:01:35.369 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:14 -0500 (0:00:00.914) 0:01:36.283 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:14 -0500 (0:00:00.134) 0:01:36.418 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:14 -0500 (0:00:00.098) 0:01:36.516 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:14 -0500 (0:00:00.107) 0:01:36.623 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:14 -0500 (0:00:00.108) 0:01:36.732 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:33:15 -0500 (0:00:00.390) 0:01:37.122 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.318) 0:01:37.441 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.201) 0:01:37.643 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960384.822146, "block_size": 4096, "blocks": 0, "ctime": 1738960384.820146, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17770, "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": 1738960384.820146, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:33:16 -0500 (0:00:00.474) 0:01:38.117 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:33:16 -0500 (0:00:00.135) 0:01:38.252 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:33:16 -0500 (0:00:00.176) 0:01:38.429 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:33:16 -0500 (0:00:00.085) 0:01:38.515 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:33:17 -0500 (0:00:00.630) 0:01:39.146 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:33:17 -0500 (0:00:00.150) 0:01:39.296 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021473", "end": "2025-02-07 15:33:17.648327", "rc": 1, "start": "2025-02-07 15:33:17.626854" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:33:17 -0500 (0:00:00.457) 0:01:39.753 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:33:18 -0500 (0:00:00.235) 0:01:39.989 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:33:18 -0500 (0:00:00.186) 0:01:40.175 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:18 -0500 (0:00:00.144) 0:01:40.320 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:18 -0500 (0:00:00.148) 0:01:40.468 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:33:18 -0500 (0:00:00.119) 0:01:40.588 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:33:18 -0500 (0:00:00.123) 0:01:40.711 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:33:18 -0500 (0:00:00.140) 0:01:40.852 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:33:18 -0500 (0:00:00.103) 0:01:40.955 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:33:19 -0500 (0:00:00.179) 0:01:41.135 ******* ok: [managed-node1] => { "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.051236", "end": "2025-02-07 15:33:19.509571", "rc": 0, "start": "2025-02-07 15:33:19.458335" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 07 February 2025 15:33:19 -0500 (0:00:00.520) 0:01:41.655 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:33:19 -0500 (0:00:00.259) 0:01:41.915 ******* ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:33:20 -0500 (0:00:00.111) 0:01:42.026 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (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: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:33:20 -0500 (0:00:00.227) 0:01:42.254 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:20 -0500 (0:00:00.285) 0:01:42.539 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:20 -0500 (0:00:00.221) 0:01:42.760 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003377", "end": "2025-02-07 15:33:21.317607", "rc": 0, "start": "2025-02-07 15:33:21.314230" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:21 -0500 (0:00:00.721) 0:01:43.482 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:21 -0500 (0:00:00.157) 0:01:43.640 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:33:21 -0500 (0:00:00.101) 0:01:43.741 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:33:21 -0500 (0:00:00.207) 0:01:43.948 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:22 -0500 (0:00:00.203) 0:01:44.152 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:22 -0500 (0:00:00.227) 0:01:44.380 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:22 -0500 (0:00:00.166) 0:01:44.546 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:22 -0500 (0:00:00.235) 0:01:44.782 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:22 -0500 (0:00:00.109) 0:01:44.891 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:24 -0500 (0:00:01.082) 0:01:45.974 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:25 -0500 (0:00:01.543) 0:01:47.517 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:25 -0500 (0:00:00.171) 0:01:47.689 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:25 -0500 (0:00:00.219) 0:01:47.908 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:26 -0500 (0:00:00.171) 0:01:48.080 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:26 -0500 (0:00:00.123) 0:01:48.204 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:26 -0500 (0:00:00.123) 0:01:48.327 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:26 -0500 (0:00:00.125) 0:01:48.453 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:26 -0500 (0:00:00.116) 0:01:48.570 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:26 -0500 (0:00:00.212) 0:01:48.783 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:26 -0500 (0:00:00.143) 0:01:48.926 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:27 -0500 (0:00:00.159) 0:01:49.086 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:27 -0500 (0:00:00.212) 0:01:49.299 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:27 -0500 (0:00:00.147) 0:01:49.447 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:27 -0500 (0:00:00.127) 0:01:49.574 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:28 -0500 (0:00:00.648) 0:01:50.222 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpQWTtfK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:28 -0500 (0:00:00.405) 0:01:50.628 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:29 -0500 (0:00:00.612) 0:01:51.240 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:29 -0500 (0:00:00.107) 0:01:51.348 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:29 -0500 (0:00:00.113) 0:01:51.462 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:29 -0500 (0:00:00.112) 0:01:51.574 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:29 -0500 (0:00:00.091) 0:01:51.665 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:33:30 -0500 (0:00:00.387) 0:01:52.053 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:33:30 -0500 (0:00:00.124) 0:01:52.178 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:30 -0500 (0:00:00.197) 0:01:52.375 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:30 -0500 (0:00:00.235) 0:01:52.611 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:30 -0500 (0:00:00.113) 0:01:52.725 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:30 -0500 (0:00:00.107) 0:01:52.832 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:30 -0500 (0:00:00.114) 0:01:52.947 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:31 -0500 (0:00:00.995) 0:01:53.943 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:33 -0500 (0:00:01.291) 0:01:55.235 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:33 -0500 (0:00:00.116) 0:01:55.351 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:33 -0500 (0:00:00.116) 0:01:55.467 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:33 -0500 (0:00:00.173) 0:01:55.641 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:33 -0500 (0:00:00.118) 0:01:55.760 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:33 -0500 (0:00:00.112) 0:01:55.873 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:34 -0500 (0:00:00.120) 0:01:55.993 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:34 -0500 (0:00:00.121) 0:01:56.115 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:34 -0500 (0:00:00.169) 0:01:56.284 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:34 -0500 (0:00:00.080) 0:01:56.365 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:34 -0500 (0:00:00.071) 0:01:56.436 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:34 -0500 (0:00:00.084) 0:01:56.520 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:34 -0500 (0:00:00.107) 0:01:56.628 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:34 -0500 (0:00:00.114) 0:01:56.743 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:35 -0500 (0:00:00.534) 0:01:57.277 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpkUBlLE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:35 -0500 (0:00:00.578) 0:01:57.855 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:37 -0500 (0:00:01.151) 0:01:59.007 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:37 -0500 (0:00:00.197) 0:01:59.205 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:37 -0500 (0:00:00.144) 0:01:59.350 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:37 -0500 (0:00:00.136) 0:01:59.486 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:37 -0500 (0:00:00.154) 0:01:59.640 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.352) 0:01:59.993 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:38 -0500 (0:00:00.207) 0:02:00.200 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.235) 0:02:00.436 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:38 -0500 (0:00:00.185) 0:02:00.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:38 -0500 (0:00:00.094) 0:02:00.716 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:38 -0500 (0:00:00.085) 0:02:00.802 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:39 -0500 (0:00:01.052) 0:02:01.855 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:41 -0500 (0:00:01.886) 0:02:03.741 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:41 -0500 (0:00:00.187) 0:02:03.929 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:42 -0500 (0:00:00.111) 0:02:04.040 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:42 -0500 (0:00:00.153) 0:02:04.194 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:42 -0500 (0:00:00.114) 0:02:04.308 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:42 -0500 (0:00:00.110) 0:02:04.419 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:42 -0500 (0:00:00.145) 0:02:04.565 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:42 -0500 (0:00:00.170) 0:02:04.735 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:42 -0500 (0:00:00.222) 0:02:04.958 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:43 -0500 (0:00:00.081) 0:02:05.040 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:43 -0500 (0:00:00.074) 0:02:05.115 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:43 -0500 (0:00:00.078) 0:02:05.193 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:43 -0500 (0:00:00.074) 0:02:05.267 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:43 -0500 (0:00:00.101) 0:02:05.369 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:44 -0500 (0:00:00.773) 0:02:06.143 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpyCBaZu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:44 -0500 (0:00:00.396) 0:02:06.539 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:45 -0500 (0:00:01.063) 0:02:07.603 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:45 -0500 (0:00:00.114) 0:02:07.718 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:45 -0500 (0:00:00.121) 0:02:07.839 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:46 -0500 (0:00:00.136) 0:02:07.976 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:46 -0500 (0:00:00.115) 0:02:08.091 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:33:46 -0500 (0:00:00.582) 0:02:08.674 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:33:46 -0500 (0:00:00.206) 0:02:08.880 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:47 -0500 (0:00:00.242) 0:02:09.123 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:47 -0500 (0:00:00.173) 0:02:09.297 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:47 -0500 (0:00:00.137) 0:02:09.435 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:47 -0500 (0:00:00.145) 0:02:09.581 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:47 -0500 (0:00:00.134) 0:02:09.715 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:48 -0500 (0:00:01.026) 0:02:10.741 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:50 -0500 (0:00:01.614) 0:02:12.356 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:50 -0500 (0:00:00.119) 0:02:12.475 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:50 -0500 (0:00:00.210) 0:02:12.685 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:50 -0500 (0:00:00.213) 0:02:12.899 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:51 -0500 (0:00:00.145) 0:02:13.045 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:51 -0500 (0:00:00.166) 0:02:13.211 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:51 -0500 (0:00:00.133) 0:02:13.344 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:51 -0500 (0:00:00.114) 0:02:13.459 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:51 -0500 (0:00:00.216) 0:02:13.675 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:51 -0500 (0:00:00.120) 0:02:13.795 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:51 -0500 (0:00:00.110) 0:02:13.906 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:52 -0500 (0:00:00.115) 0:02:14.022 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:52 -0500 (0:00:00.105) 0:02:14.128 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:52 -0500 (0:00:00.095) 0:02:14.223 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:52 -0500 (0:00:00.532) 0:02:14.756 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmp6OdPFe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:53 -0500 (0:00:00.717) 0:02:15.473 ******* ok: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:54 -0500 (0:00:00.591) 0:02:16.065 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:54 -0500 (0:00:00.102) 0:02:16.168 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:54 -0500 (0:00:00.127) 0:02:16.295 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:54 -0500 (0:00:00.105) 0:02:16.401 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:54 -0500 (0:00:00.120) 0:02:16.521 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:33:54 -0500 (0:00:00.404) 0:02:16.926 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:33:55 -0500 (0:00:00.204) 0:02:17.130 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:33:55 -0500 (0:00:00.207) 0:02:17.338 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:33:55 -0500 (0:00:00.154) 0:02:17.492 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:33:56 -0500 (0:00:00.582) 0:02:18.075 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:33:56 -0500 (0:00:00.125) 0:02:18.200 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021353", "end": "2025-02-07 15:33:56.548782", "rc": 1, "start": "2025-02-07 15:33:56.527429" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:33:56 -0500 (0:00:00.531) 0:02:18.731 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:33:56 -0500 (0:00:00.116) 0:02:18.848 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:33:56 -0500 (0:00:00.109) 0:02:18.958 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:57 -0500 (0:00:00.158) 0:02:19.117 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:57 -0500 (0:00:00.111) 0:02:19.229 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:33:57 -0500 (0:00:00.118) 0:02:19.348 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:33:57 -0500 (0:00:00.127) 0:02:19.475 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:33:57 -0500 (0:00:00.131) 0:02:19.606 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:33:57 -0500 (0:00:00.125) 0:02:19.732 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:33:58 -0500 (0:00:00.284) 0:02:20.017 ******* ok: [managed-node1] => { "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.049608", "end": "2025-02-07 15:33:58.692546", "rc": 0, "start": "2025-02-07 15:33:58.642938" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 07 February 2025 15:33:58 -0500 (0:00:00.885) 0:02:20.902 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:33:59 -0500 (0:00:00.231) 0:02:21.133 ******* ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:33:59 -0500 (0:00:00.124) 0:02:21.258 ******* ok: [managed-node1] => (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: [managed-node1] => (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: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:33:59 -0500 (0:00:00.155) 0:02:21.414 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:59 -0500 (0:00:00.129) 0:02:21.543 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:59 -0500 (0:00:00.329) 0:02:21.872 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2025-02-07 15:34:00.304226", "rc": 0, "start": "2025-02-07 15:34:00.300954" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:34:00 -0500 (0:00:00.508) 0:02:22.381 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:34:00 -0500 (0:00:00.110) 0:02:22.492 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:34:00 -0500 (0:00:00.172) 0:02:22.664 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:34:01 -0500 (0:00:00.362) 0:02:23.026 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:01 -0500 (0:00:00.249) 0:02:23.276 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:01 -0500 (0:00:00.283) 0:02:23.559 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:01 -0500 (0:00:00.171) 0:02:23.730 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:01 -0500 (0:00:00.134) 0:02:23.865 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:02 -0500 (0:00:00.130) 0:02:23.995 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:03 -0500 (0:00:01.161) 0:02:25.156 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:04 -0500 (0:00:01.444) 0:02:26.600 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:04 -0500 (0:00:00.212) 0:02:26.813 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:04 -0500 (0:00:00.117) 0:02:26.931 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:05 -0500 (0:00:00.174) 0:02:27.106 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:05 -0500 (0:00:00.155) 0:02:27.262 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:05 -0500 (0:00:00.112) 0:02:27.375 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:05 -0500 (0:00:00.126) 0:02:27.501 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:05 -0500 (0:00:00.197) 0:02:27.699 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:05 -0500 (0:00:00.230) 0:02:27.930 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:06 -0500 (0:00:00.127) 0:02:28.057 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:06 -0500 (0:00:00.137) 0:02:28.195 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:06 -0500 (0:00:00.136) 0:02:28.332 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:06 -0500 (0:00:00.218) 0:02:28.550 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:06 -0500 (0:00:00.127) 0:02:28.677 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:07 -0500 (0:00:00.705) 0:02:29.382 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpa5O0th" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:08 -0500 (0:00:00.642) 0:02:30.025 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:08 -0500 (0:00:00.676) 0:02:30.701 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:08 -0500 (0:00:00.102) 0:02:30.804 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:08 -0500 (0:00:00.136) 0:02:30.940 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:09 -0500 (0:00:00.122) 0:02:31.062 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:09 -0500 (0:00:00.177) 0:02:31.240 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:34:09 -0500 (0:00:00.566) 0:02:31.806 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:34:09 -0500 (0:00:00.103) 0:02:31.910 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:10 -0500 (0:00:00.148) 0:02:32.059 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:10 -0500 (0:00:00.201) 0:02:32.260 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:10 -0500 (0:00:00.136) 0:02:32.397 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:10 -0500 (0:00:00.186) 0:02:32.583 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:10 -0500 (0:00:00.167) 0:02:32.751 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:11 -0500 (0:00:01.118) 0:02:33.869 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:13 -0500 (0:00:01.315) 0:02:35.184 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:13 -0500 (0:00:00.118) 0:02:35.303 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:13 -0500 (0:00:00.104) 0:02:35.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:13 -0500 (0:00:00.090) 0:02:35.498 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:13 -0500 (0:00:00.077) 0:02:35.576 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:13 -0500 (0:00:00.086) 0:02:35.663 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:13 -0500 (0:00:00.122) 0:02:35.785 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:13 -0500 (0:00:00.130) 0:02:35.916 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:14 -0500 (0:00:00.336) 0:02:36.252 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:14 -0500 (0:00:00.111) 0:02:36.364 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:14 -0500 (0:00:00.090) 0:02:36.454 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:14 -0500 (0:00:00.084) 0:02:36.539 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:14 -0500 (0:00:00.073) 0:02:36.612 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:14 -0500 (0:00:00.105) 0:02:36.718 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:15 -0500 (0:00:00.531) 0:02:37.249 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpT0qZFp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:15 -0500 (0:00:00.342) 0:02:37.592 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:16 -0500 (0:00:00.759) 0:02:38.351 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:16 -0500 (0:00:00.069) 0:02:38.421 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:16 -0500 (0:00:00.071) 0:02:38.492 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:16 -0500 (0:00:00.072) 0:02:38.564 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:16 -0500 (0:00:00.070) 0:02:38.635 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:34:17 -0500 (0:00:00.440) 0:02:39.076 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:17 -0500 (0:00:00.367) 0:02:39.444 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:17 -0500 (0:00:00.426) 0:02:39.870 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:18 -0500 (0:00:00.303) 0:02:40.173 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:18 -0500 (0:00:00.156) 0:02:40.330 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:18 -0500 (0:00:00.117) 0:02:40.448 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:19 -0500 (0:00:01.160) 0:02:41.608 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:21 -0500 (0:00:01.585) 0:02:43.194 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:21 -0500 (0:00:00.213) 0:02:43.407 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:21 -0500 (0:00:00.163) 0:02:43.571 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:21 -0500 (0:00:00.114) 0:02:43.686 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:21 -0500 (0:00:00.110) 0:02:43.797 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:21 -0500 (0:00:00.141) 0:02:43.938 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:22 -0500 (0:00:00.140) 0:02:44.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:22 -0500 (0:00:00.138) 0:02:44.218 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:22 -0500 (0:00:00.220) 0:02:44.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:22 -0500 (0:00:00.151) 0:02:44.589 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:22 -0500 (0:00:00.152) 0:02:44.741 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:22 -0500 (0:00:00.113) 0:02:44.855 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:22 -0500 (0:00:00.096) 0:02:44.952 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:23 -0500 (0:00:00.069) 0:02:45.022 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:23 -0500 (0:00:00.647) 0:02:45.669 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpKzctPQ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:24 -0500 (0:00:00.422) 0:02:46.091 ******* changed: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:24 -0500 (0:00:00.870) 0:02:46.962 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:25 -0500 (0:00:00.105) 0:02:47.068 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:25 -0500 (0:00:00.098) 0:02:47.166 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:25 -0500 (0:00:00.143) 0:02:47.309 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:25 -0500 (0:00:00.124) 0:02:47.434 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:34:25 -0500 (0:00:00.484) 0:02:47.919 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:34:26 -0500 (0:00:00.197) 0:02:48.117 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:26 -0500 (0:00:00.141) 0:02:48.258 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:26 -0500 (0:00:00.156) 0:02:48.415 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:26 -0500 (0:00:00.150) 0:02:48.566 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:26 -0500 (0:00:00.093) 0:02:48.659 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:26 -0500 (0:00:00.082) 0:02:48.742 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:27 -0500 (0:00:00.963) 0:02:49.706 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:29 -0500 (0:00:01.407) 0:02:51.113 ******* ok: [managed-node1] => {} 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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:29 -0500 (0:00:00.126) 0:02:51.240 ******* skipping: [managed-node1] => { "changed": false, "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:29 -0500 (0:00:00.116) 0:02:51.356 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:29 -0500 (0:00:00.114) 0:02:51.471 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:29 -0500 (0:00:00.113) 0:02:51.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:29 -0500 (0:00:00.111) 0:02:51.695 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:29 -0500 (0:00:00.114) 0:02:51.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:29 -0500 (0:00:00.118) 0:02:51.928 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:30 -0500 (0:00:00.192) 0:02:52.121 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:30 -0500 (0:00:00.121) 0:02:52.242 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:30 -0500 (0:00:00.121) 0:02:52.363 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:30 -0500 (0:00:00.148) 0:02:52.512 ******* skipping: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:30 -0500 (0:00:00.154) 0:02:52.666 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:30 -0500 (0:00:00.127) 0:02:52.794 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:31 -0500 (0:00:00.851) 0:02:53.645 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16547YSaVdZ/tmpTpTjMu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:32 -0500 (0:00:00.624) 0:02:54.269 ******* ok: [managed-node1] => { "_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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:33 -0500 (0:00:00.906) 0:02:55.176 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:33 -0500 (0:00:00.105) 0:02:55.281 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:33 -0500 (0:00:00.096) 0:02:55.378 ******* ok: [managed-node1] => { "__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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:33 -0500 (0:00:00.122) 0:02:55.500 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:33 -0500 (0:00:00.177) 0:02:55.678 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:34:34 -0500 (0:00:00.602) 0:02:56.280 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:34:34 -0500 (0:00:00.247) 0:02:56.528 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:34:34 -0500 (0:00:00.156) 0:02:56.684 ******* ok: [managed-node1] => { "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: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:34:34 -0500 (0:00:00.075) 0:02:56.760 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:34:35 -0500 (0:00:00.387) 0:02:57.148 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:34:35 -0500 (0:00:00.094) 0:02:57.242 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022748", "end": "2025-02-07 15:34:35.529592", "rc": 1, "start": "2025-02-07 15:34:35.506844" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:34:35 -0500 (0:00:00.355) 0:02:57.597 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:34:35 -0500 (0:00:00.116) 0:02:57.714 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:34:35 -0500 (0:00:00.115) 0:02:57.830 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:34:35 -0500 (0:00:00.121) 0:02:57.951 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:34:36 -0500 (0:00:00.122) 0:02:58.074 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:34:36 -0500 (0:00:00.104) 0:02:58.178 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 07 February 2025 15:34:36 -0500 (0:00:00.093) 0:02:58.272 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.620508", "end": "2025-02-07 15:34:37.176492", "rc": 0, "start": "2025-02-07 15:34:36.555984" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 07 February 2025 15:34:37 -0500 (0:00:01.011) 0:02:59.284 ******* ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 07 February 2025 15:34:37 -0500 (0:00:00.106) 0:02:59.391 ******* ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:34:37 -0500 (0:00:00.095) 0:02:59.486 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:34:37 -0500 (0:00:00.081) 0:02:59.568 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:34:37 -0500 (0:00:00.075) 0:02:59.643 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:34:37 -0500 (0:00:00.152) 0:02:59.795 ******* ok: [managed-node1] => { "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.050541", "end": "2025-02-07 15:34:38.133563", "rc": 0, "start": "2025-02-07 15:34:38.083022" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 07 February 2025 15:34:38 -0500 (0:00:00.510) 0:03:00.305 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007632", "end": "2025-02-07 15:34:38.727666", "rc": 0, "start": "2025-02-07 15:34:38.720034" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:c6:1a:22:7f:33 brd ff:ff:ff:ff:ff:ff inet 10.31.11.169/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3216sec preferred_lft 3216sec inet6 fe80::10c6:1aff:fe22:7f33/64 scope link valid_lft forever preferred_lft forever 22: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 0e:5c:99:99:0c:c3 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::c5c:99ff:fe99:cc3/64 scope link valid_lft forever preferred_lft forever 32: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ae:26:64:7c:57:22 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.169 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 07 February 2025 15:34:38 -0500 (0:00:00.520) 0:03:00.826 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.619407", "end": "2025-02-07 15:34:39.784414", "rc": 0, "start": "2025-02-07 15:34:39.165007" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1462 0 --:--:-- --:--:-- --:--:-- 1466 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 748 0 --:--:-- --:--:-- --:--:-- 750 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Friday 07 February 2025 15:34:39 -0500 (0:00:00.985) 0:03:01.811 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.89s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.41s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.28s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21